thirupathi reddy polaka 2 Posted May 24, 2018 Posted May 24, 2018 I'm configuring AMX BPM distribured environement on two machines . Primary and remote . On the primary mahine I have configured AMX admin server. While setting up BPM Server on secondary machine I'm facing below issue Action: Start component 'apps' on node 'BPMNode' failedNode: SystemHost:BPMNode Causes: java.lang.IllegalArgumentException: Exception during web application initialization. Deployment of web application failed com.tibco.amf.runtime.implementationtype.webapp.WebAppImplementationAdapter.initImplementation(WebAppImplementationAdapter.java:240) com.tibco.amf.platform.runtime.componentframework.internal.component.ImplementationComponent$6.call(ImplementationComponent.java:782) java.util.concurrent.FutureTask.run(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) caused by: javax.resource.ResourceException: TIBCO-AMX-HPA-014303: Failed to add context com.tibco.amf.sharedresource.runtime.tibcohost.internal.WebContainerProvider.deployWebApp(WebContainerProvider.java:391) com.tibco.amf.sharedresource.runtime.tibcohost.http.inbound.HttpResourceAdapterImpl.deployWebApp(HttpResourceAdapterImpl.java:313) com.tibco.amf.runtime.implementationtype.webapp.WebAppImplementationAdapter.initImplementation(WebAppImplementationAdapter.java:219) com.tibco.amf.platform.runtime.componentframework.internal.component.ImplementationComponent$6.call(ImplementationComponent.java:782) java.util.concurrent.FutureTask.run(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) caused by: TIBCO-AMX-HPA-014303: Failed to add context com.tibco.amf.hpa.tibcohost.jetty.ConnectorInfo.addContext(ConnectorInfo.java:981) com.tibco.amf.hpa.tibcohost.jetty.JettyWebContainer.deployWebApp(JettyWebContainer.java:137) com.tibco.amf.hpa.tibcohost.jetty.internal.JettyManager.deployWebApp(JettyManager.java:318) com.tibco.amf.sharedresource.runtime.tibcohost.internal.WebContainerProvider.deployWebApp(WebContainerProvider.java:387) com.tibco.amf.sharedresource.runtime.tibcohost.http.inbound.HttpResourceAdapterImpl.deployWebApp(HttpResourceAdapterImpl.java:313) com.tibco.amf.runtime.implementationtype.webapp.WebAppImplementationAdapter.initImplementation(WebAppImplementationAdapter.java:219) com.tibco.amf.platform.runtime.componentframework.internal.component.ImplementationComponent$6.call(ImplementationComponent.java:782) java.util.concurrent.FutureTask.run(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'roleRestService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.tibco.cap.roles.services.impl.RoleServiceImpl com.tibco.cap.roles.rest.RoleRestService.roleService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositoryComponent' defined in class path resource [app-repo-beans.xml]: Invocation of init method failed; nested exception is javax.jcr.RepositoryException: Cannot connect to the jcr/db.. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403) org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) com.tibco.cap.app.ApplicationPlatformServletListener.contextInitialized(ApplicationPlatformServletListener.java:42) org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) org.mortbay.jet Detail: java.lang.IllegalArgumentException: Exception during web application initialization. Deployment of web application failed version : 4.2 (amx bpm) apreciate any quick response
Shrijeet Sinha Posted August 14, 2018 Posted August 14, 2018 Sorry for being so late to reply.. Did you get it right if not then i will help with it Thanks Shrijeet Sinha
thirupathi reddy polaka 2 Posted August 14, 2018 Author Posted August 14, 2018 Please let me know the solution. I resolved by setting up primary-primary instead of primary-remote. anyways I want to know the reasons for above issue
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now