【概要】
以下のようなエラーが出力されます。
log.level=ERROR
log.logger.name=jp.co.intra_mart.system.logic.repository.StandardFlowTriggerEventRepository
log.message=Procedure class is invalid.(className=jp.co.intra_mart.product.collaboration.item.checklist.internal.propagation.ReceiveTaskProcedure)
jp.co.intra_mart.common.aid.jdk.java.lang.ClassNotFoundRuntimeException: java.lang.ClassNotFoundException: jp.co.intra_mart.product.collaboration.item.checklist.internal.propagation.ReceiveTaskProcedure (in EnvironmentClassLoader[web-app:production/webapp/default/imart])
at jp.co.intra_mart.common.aid.jdk.java.lang.ClassUtil.forName(ClassUtil.java:144)
at jp.co.intra_mart.common.aid.jdk.java.lang.ClassUtil.forName(ClassUtil.java:124)
at jp.co.intra_mart.system.logic.repository.StandardFlowTriggerEventRepository.setTriggerEvent(StandardFlowTriggerEventRepository.java:74)
at jp.co.intra_mart.system.logic.repository.StandardFlowTriggerEventRepository.loadPropagationEvents(StandardFlowTriggerEventRepository.java:63)
at jp.co.intra_mart.system.logic.repository.StandardFlowTriggerEventRepository.<init>(StandardFlowTriggerEventRepository.java:56)
at jp.co.intra_mart.system.logic.impl.IntramartLogicServiceConfiguration.loadFlowTriggerEventRepository(IntramartLogicServiceConfiguration.java:491)
at jp.co.intra_mart.system.logic.impl.IntramartLogicServiceConfiguration.<init>(IntramartLogicServiceConfiguration.java:132)
at jp.co.intra_mart.system.logic.initializer.LogicServiceProviderInitializer.initialize(LogicServiceProviderInitializer.java:16)
at jp.co.intra_mart.system.service.provider.platform.ApplicationInitializerDispatcher.execute(ApplicationInitializerDispatcher.java:51)
at jp.co.intra_mart.system.service.provider.ApplicationRuntimeInitializer.initializeApplicationClass(ApplicationRuntimeInitializer.java:235)
at jp.co.intra_mart.system.service.provider.ApplicationRuntimeInitializer.defineAPI(ApplicationRuntimeInitializer.java:210)
at jp.co.intra_mart.system.service.provider.ApplicationRuntimeInitializer.executeInitializer(ApplicationRuntimeInitializer.java:182)
at jp.co.intra_mart.system.service.provider.ApplicationRuntimeInitializer.initialize(ApplicationRuntimeInitializer.java:150)
at jp.co.intra_mart.system.servlet.PlatformServletContextListener.contextInitialized(PlatformServletContextListener.java:137)
at com.caucho.server.webapp.WebApp.startImpl(WebApp.java:3688)
at com.caucho.server.webapp.WebApp.access$400(WebApp.java:206)
at com.caucho.server.webapp.WebApp$StartupTask.run(WebApp.java:5207)
at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
Caused by: java.lang.ClassNotFoundException: jp.co.intra_mart.product.collaboration.item.checklist.internal.propagation.ReceiveTaskProcedure (in EnvironmentClassLoader[web-app:production/webapp/default/imart])
at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1532)
at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1502)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:278)
at jp.co.intra_mart.common.aid.jdk.java.lang.ClassUtil.forName(ClassUtil.java:142)
... 18 more
【発生条件】
アプリケーションサーバ起動時に 上記のようなClassNotFoundRuntimeExceptionが発生するのは、 以下の条件を満たした場合のみです。
・intra-mart Accel Platform 「IM-LogicDesigner」のバージョンが8.0.2以上である
・intra-mart Accel Collaboration 「ワークスペースアイテム」 チェックリストアイテムのバージョンが8.0.8未満である
【原因】
intra-mart Accel Collaborationのモジュール「チェックリストアイテム」に不要なIM-Propagation 受信側設定が存在し、設定の中に存在しないクラス名が記述されているためです。
【対応方法】
以下のいずれかの対応を行ってください。
・「チェックリストアイテム」のバージョンを8.0.8 以上に上げる。
・IM-Jugglingプロジェクトのconf/propagation-receivers-config/iac_checklist-receive_task.xml を作成し以下の内容の設定(空設定)で配置する。
<?xml version="1.0" encoding="UTF-8"?>
<propagation-receivers-config xmlns="http://www.intra-mart.jp/propagation/receivers-config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.intra-mart.jp/propagation/receivers-config propagation-receivers-config.xsd">
</propagation-receivers-config>
・デプロイ後の資材から WEB-INF/conf/propagation-receivers-config/iac_checklist-receive_task.xml を削除する。
-- 対象 ------------------------------------------------------------------------
iAP/Accel Applications/Accel Collaboration/全バージョン
--------------------------------------------------------------------------------
FAQID:618
アプリケーションサーバ起動時に ClassNotFoundRuntimeException が発生します。