たちまち。

Dynamics CRM, intra-mart, その他Web系を中心としたノウハウ・ナレッジの足跡

Accel Kaiden!のテナント環境セットアップでエラー

Accel Kaiden!をモジュールに組み込んでテナント環境セットアップ実行時、以下のエラーが発生。

 

[ERROR] j.c.i.f.d.i.InitialDataImporter - [E.IWP.IMPORTEXPORT.IMPORTER.00009] テナント環境セットアップに失敗しました。[ERROR] j.c.i.f.d.i.InitialDataImporter - [E.IWP.IMPORTEXPORT.IMPORTER.00009] テナント環境セットアップに失敗しました。jp.co.intra_mart.system.service.provider.SchemaUpdateException: [E.IWP.PLATFORM.SCHEMA.00022] 拡張インポート実行に失敗しました。 クラス名 = jp.co.slcs.kaiden2.product_labormgr.foundation.util.initialize.UpdateDailyMatterNoApplyDepartmentExtendsImport at jp.co.intra_mart.system.service.provider.updater.AbstractProductDataImporter.extendImport(AbstractProductDataImporter.java:352) ~[im_import_export_impl-8.0.12-main.jar:na] at jp.co.intra_mart.system.service.provider.updater.AbstractProductDataImporter.execute(AbstractProductDataImporter.java:182) ~[im_import_export_impl-8.0.12-main.jar:na] at jp.co.intra_mart.system.service.provider.updater.AbstractSchemaUpdater.updateModule(AbstractSchemaUpdater.java:224) ~[im_import_export_impl-8.0.12-main.jar:na] at jp.co.intra_mart.system.service.provider.updater.AbstractSchemaUpdater.update(AbstractSchemaUpdater.java:75) ~[im_import_export_impl-8.0.12-main.jar:na] at jp.co.intra_mart.system.service.provider.updater.TenantDataImporter.update(TenantDataImporter.java:25) ~[im_import_export_impl-8.0.12-main.jar:na] at jp.co.intra_mart.foundation.data.importer.InitialDataImporter.importBasicData(InitialDataImporter.java:42) ~[im_import_export_base-8.0.12-main.jar:na] at jp.co.intra_mart.system.javascript.imapi.InitialDataImporterObject.importBasicData(InitialDataImporterObject.java:75) [im_import_export_js-8.0.12-main.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_74] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_74] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_74] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_74] at jp.co.intra_mart.system.javascript.MemberBox.invoke(MemberBox.java:126) [js-8.0.4-main.jar:na] at jp.co.intra_mart.system.javascript.FunctionObject.call(FunctionObject.java:442) [js-8.0.4-main.jar:na] at jp.co.intra_mart.system.javascript.Interpreter.interpretLoop(Interpreter.java:1473) [js-8.0.4-main.jar:na] at jp.co.intra_mart.system.javascript.Interpreter.interpret(Interpreter.java:815) [js-8.0.4-main.jar:na] at jp.co.intra_mart.system.javascript.InterpretedFunction.call(InterpretedFunction.java:109) [js-8.0.4-main.jar:na] at jp.co.intra_mart.system.javascript.ContextFactory.doTopCall(ContextFactory.java:394) [js-8.0.4-main.jar:na] at jp.co.intra_mart.system.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3101) [js-8.0.4-main.jar:na] at jp.co.intra_mart.system.javascript.InterpretedFunction.call(InterpretedFunction.java:107) [js-8.0.4-main.jar:na] at jp.co.intra_mart.system.display.ScriptScope.call(ScriptScope.java:156) [im_jssp-8.0.14-main.jar:na] at jp.co.intra_mart.system.display.ScriptScope.call(ScriptScope.java:142) [im_jssp-8.0.14-main.jar:na] at jp.co.intra_mart.system.display.Content.execute(Content.java:53) [im_jssp-8.0.14-main.jar:na] at jp.co.intra_mart.system.session.web.WebPageBuilder.sendPage(WebPageBuilder.java:284) [im_servlets-8.0.9-main.jar:na] at jp.co.intra_mart.system.session.web.WebPageBuilder.invoke(WebPageBuilder.java:253) [im_servlets-8.0.9-main.jar:na] at jp.co.intra_mart.system.session.web.WebPageBuilder.invoke(WebPageBuilder.java:124) [im_servlets-8.0.9-main.jar:na] at jp.co.intra_mart.system.servlet.jssp.AbstractJSSPServlet.fire(AbstractJSSPServlet.java:76) [im_servlets-8.0.9-main.jar:na] at jp.co.intra_mart.system.servlet.jssp.SecureJSSPServlet.execute(SecureJSSPServlet.java:70) [im_servlets-8.0.9-main.jar:na] at jp.co.intra_mart.system.servlet.jssp.SecureJSSPServlet.doPost(SecureJSSPServlet.java:55) [im_servlets-8.0.9-main.jar:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:159) [javaee-16.jar:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:97) [javaee-16.jar:na] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:109) [resin.jar:4.0.48] at jp.co.intra_mart.foundation.ui.theme.ThemeFilter.doFilter(ThemeFilter.java:397) [im_ui_base-8.0.14-main.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at jp.co.intra_mart.system.servlet.jssp.JSSPContextFilter.doFilter(JSSPContextFilter.java:63) [im_jssp-8.0.14-main.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at jp.co.intra_mart.common.aid.jsdk.javax.servlet.filter.impl.HTTPContextHandlingFilterImpl.doFilter(HTTPContextHandlingFilterImpl.java:53) [im_j2ee_assist_impl-8.0.8-main.jar:na] at jp.co.intra_mart.common.aid.jsdk.javax.servlet.filter.HTTPContextHandlingFilter.doFilter(HTTPContextHandlingFilter.java:94) [im_j2ee_assist_base-8.0.8-main.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at jp.co.intra_mart.common.aid.jsdk.javax.servlet.filter.RequestMessageBodyFilter.doFilter(RequestMessageBodyFilter.java:210) [im_j2ee_assist_base-8.0.8-main.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at jp.co.intra_mart.system.security.certification.filter.CertificationConfirmFilter.doFilter(CertificationConfirmFilter.java:49) [im_certification_impl-8.0.11-main.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at jp.co.intra_mart.system.secure_token.filter.SecureTokenFilter.doFilter(SecureTokenFilter.java:62) [im_tenant_common_impl-8.0.14-main.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at jp.co.intra_mart.system.servlet.filter.RequestControlFilter$FilterScope.execute(RequestControlFilter.java:36) [im_servlets-8.0.9-main.jar:na] at jp.co.intra_mart.system.servlet.filter.ParallelRequestController.execute(ParallelRequestController.java:122) [im_servlets-8.0.9-main.jar:na] at jp.co.intra_mart.system.servlet.filter.RequestControlFilter.doFilter(RequestControlFilter.java:50) [im_servlets-8.0.9-main.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at jp.co.intra_mart.system.servlet.filter.RequestQueryLengthMonitoringFilter$FilterScope.execute(RequestQueryLengthMonitoringFilter.java:39) [im_servlets-8.0.9-main.jar:na] at jp.co.intra_mart.system.servlet.filter.RequestQueryLengthMonitoringController.execute(RequestQueryLengthMonitoringController.java:112) [im_servlets-8.0.9-main.jar:na] at jp.co.intra_mart.system.servlet.filter.RequestQueryLengthMonitoringFilter.doFilter(RequestQueryLengthMonitoringFilter.java:53) [im_servlets-8.0.9-main.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at jp.co.intra_mart.system.servlet.filter.RequestScopeLockReleaseFilter.doFilter(RequestScopeLockReleaseFilter.java:44) [im_servlets-8.0.9-main.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at jp.co.intra_mart.system.secure.filter.ApplicationPermissionFilter.doFilter(ApplicationPermissionFilter.java:65) [im_core_impl_license-8.0.14-main.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at jp.co.intra_mart.system.secure.filter.SystemPermissionFilter.doFilter(SystemPermissionFilter.java:68) [im_core_impl_license-8.0.14-main.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:79) [s2-framework-2.4.48.jar:na] at org.seasar.struts.portlet.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:45) [sa-struts-portlet-1.0.2.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(HotdeployFilter.java:71) [s2-framework-2.4.48.jar:na] at org.seasar.struts.portlet.filter.HotdeployFilter.doFilter(HotdeployFilter.java:45) [sa-struts-portlet-1.0.2.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:131) [resin.jar:4.0.48] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:289) [resin.jar:4.0.48] at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:298) [resin.jar:4.0.48] at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:116) [resin.jar:4.0.48] at jp.co.intra_mart.system.log.transition.TransitionLogRequestDispatcher.forward(TransitionLogRequestDispatcher.java:65) [im_system_log-8.0.6-main.jar:na] at jp.co.intra_mart.system.router.jssp.JSSPDispatcher.forward(JSSPDispatcher.java:60) [im_authz_impl_router-8.0.14-main.jar:na] at jp.co.intra_mart.system.router.authz.admin.jssp.AdministratorJSSPAction.executeAuthorized(AdministratorJSSPAction.java:25) [im_authz_impl_router-8.0.14-main.jar:na] at jp.co.intra_mart.system.router.authz.AuthorizingAction.doExecute(AuthorizingAction.java:52) [im_authz_impl_router-8.0.14-main.jar:na] at jp.co.intra_mart.foundation.router.GenericAction.execute(GenericAction.java:73) [im_router-8.0.4-main.jar:na] at jp.co.intra_mart.foundation.router.GenericAction.execute(GenericAction.java:62) [im_router-8.0.4-main.jar:na] at jp.co.intra_mart.system.router.BasicRouter.route(BasicRouter.java:144) [im_router-8.0.4-main.jar:na] at jp.co.intra_mart.system.router.IntramartRouter.route(IntramartRouter.java:134) [im_authz_impl_router-8.0.14-main.jar:na] at jp.co.intra_mart.foundation.router.RoutingFilter.doFilter(RoutingFilter.java:38) [im_router-8.0.4-main.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at jp.co.intra_mart.foundation.security.filter.SessionFilter.doFilter(SessionFilter.java:70) [im_certification_base-8.0.11-main.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at jp.co.intra_mart.system.log.transition.TransitionLogFilter.doFilter(TransitionLogFilter.java:73) [im_system_log-8.0.6-main.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at jp.co.intra_mart.system.servlet.filter.RequestLogFilter.doFilter(RequestLogFilter.java:110) [im_system_log-8.0.6-main.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at jp.co.intra_mart.system.servlet.filter.ResponseHeaderFilter.doFilter(ResponseHeaderFilter.java:154) [im_servlets-8.0.9-main.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at jp.co.intra_mart.system.context.web.impl.ContextFilter.doContextFilter(ContextFilter.java:134) [im_core_impl-8.0.14-main.jar:na] at jp.co.intra_mart.system.context.web.impl.PreContextFilterChain.doFilter(PreContextFilterChain.java:47) [im_core_impl-8.0.14-main.jar:na] at jp.co.intra_mart.system.context.web.impl.ContextFilter.doFilter(ContextFilter.java:78) [im_core_impl-8.0.14-main.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at jp.co.intra_mart.foundation.security.filter.ResponseCharacterEncodingFilter.doFilter(ResponseCharacterEncodingFilter.java:90) [im_servlets-8.0.9-main.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at jp.co.intra_mart.foundation.security.filter.RequestCharacterEncodingFilter.doFilter(RequestCharacterEncodingFilter.java:47) [im_servlets-8.0.9-main.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:79) [s2-framework-2.4.48.jar:na] at org.seasar.struts.portlet.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:45) [sa-struts-portlet-1.0.2.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(HotdeployFilter.java:71) [s2-framework-2.4.48.jar:na] at org.seasar.struts.portlet.filter.HotdeployFilter.doFilter(HotdeployFilter.java:45) [sa-struts-portlet-1.0.2.jar:na] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) [resin.jar:4.0.48] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:156) [resin.jar:4.0.48] at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:95) [resin.jar:4.0.48] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:289) [resin.jar:4.0.48] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:838) [resin.jar:4.0.48] at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1349) [resin.jar:3.2.0] at com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1305) [resin.jar:3.2.0] at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1289) [resin.jar:3.2.0] at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1197) [resin.jar:3.2.0] at com.caucho.network.listen.TcpSocketLink.handleAcceptTaskImpl(TcpSocketLink.java:993) [resin.jar:3.2.0] at com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:117) [resin.jar:3.2.0] at com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:93) [resin.jar:3.2.0] at com.caucho.network.listen.SocketLinkThreadLauncher.handleTasks(SocketLinkThreadLauncher.java:169) [resin.jar:3.2.0] at com.caucho.network.listen.TcpSocketAcceptThread.run(TcpSocketAcceptThread.java:61) [resin.jar:3.2.0] at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173) [resin.jar:4.0.48] at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118) [resin.jar:4.0.48]Caused by: jp.co.intra_mart.foundation.data.exception.DataImporterException: jp.co.intra_mart.foundation.exception.FoundationRuntimeException: [E.IWP.IMPORTEXPORT.EXTENDSIMPORTER.00011] 予期しない例外が発生しました。 at jp.co.intra_mart.foundation.data.importer.DataImportExecutor.importData(DataImportExecutor.java:202) ~[im_import_export_base-8.0.12-main.jar:na] at jp.co.intra_mart.system.service.provider.updater.AbstractProductDataImporter.extendImport(AbstractProductDataImporter.java:317) ~[im_import_export_impl-8.0.12-main.jar:na] ... 114 common frames omittedCaused by: jp.co.intra_mart.foundation.exception.FoundationRuntimeException: [E.IWP.IMPORTEXPORT.EXTENDSIMPORTER.00011] 予期しない例外が発生しました。 at jp.co.intra_mart.foundation.security.ExtendsImportManager.getNewInstance(ExtendsImportManager.java:199) ~[im_import_export_base-8.0.12-main.jar:na] at jp.co.intra_mart.foundation.security.ExtendsImportManager.doImport(ExtendsImportManager.java:126) ~[im_import_export_base-8.0.12-main.jar:na] at jp.co.intra_mart.foundation.security.ExtendsImportManager.doImport(ExtendsImportManager.java:73) ~[im_import_export_base-8.0.12-main.jar:na] at jp.co.intra_mart.system.service.importer.ExtendsImporter.importData(ExtendsImporter.java:24) ~[im_import_export_impl-8.0.12-main.jar:na] at jp.co.intra_mart.foundation.data.importer.DataImportExecutor.importData(DataImportExecutor.java:190) ~[im_import_export_base-8.0.12-main.jar:na] ... 115 common frames omittedCaused by: org.seasar.framework.container.ComponentNotFoundRuntimeException: [ESSR0046]コンポーネント(class jp.co.slcs.kaiden2.base.foundation.helper.ContextHelper)が見つかりません at org.seasar.framework.container.impl.S2ContainerBehavior$DefaultProvider.acquireFromGetComponentDef(S2ContainerBehavior.java:165) ~[s2-framework-2.4.48.jar:na] at org.seasar.framework.container.impl.S2ContainerBehavior$DefaultProvider.acquireFromGetComponent(S2ContainerBehavior.java:158) ~[s2-framework-2.4.48.jar:na] at org.seasar.framework.container.impl.S2ContainerBehavior.acquireFromGetComponent(S2ContainerBehavior.java:62) ~[s2-framework-2.4.48.jar:na] at org.seasar.framework.container.impl.S2ContainerImpl.getComponent(S2ContainerImpl.java:124) ~[s2-framework-2.4.48.jar:na] at org.seasar.framework.container.SingletonS2Container.getComponent(SingletonS2Container.java:43) ~[s2-tiger-2.4.48.jar:na] at jp.co.slcs.kaiden2.base.foundation.util.initialize.KaidenAbstractExtendsImport.<init>(KaidenAbstractExtendsImport.java:61) ~[kaiden_base-2.0.4-main.jar:na] at jp.co.slcs.kaiden2.product_labormgr.foundation.util.initialize.UpdateDailyMatterNoApplyDepartmentExtendsImport.<init>(UpdateDailyMatterNoApplyDepartmentExtendsImport.java:46) ~[kaiden_product_labormgr-2.0.4-main.jar:na] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_74] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_74] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_74] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_74] at java.lang.Class.newInstance(Class.java:442) ~[na:1.8.0_74] at jp.co.intra_mart.foundation.security.ExtendsImportManager.getNewInstance(ExtendsImportManager.java:191) ~[im_import_export_base-8.0.12-main.jar:na] ... 119 common frames omitted

 

app.diconの設定が必要。以下のページの設定になる。

5.1.1. app.dicon — intra-mart Accel Kaiden! セットアップガイド   第10版 2018-04-01  

 

diconの設定に加え、組み込んでいるモジュール単位にdiconを指定する必要があるため要注意。