0 Replies Latest reply on Apr 26, 2016 10:02 AM by Steven Hu

    is there anyone successfully deploy jbpm6.2.0 on WebSphere liberty profile?

    Steven Hu Newbie

      I try to deploy jbpm for was distributor war on liberty profile but fail. I always receive the following error. but the same war can be deployed into websphere classic application server 8.5.x. does anybody help me? thanks in advance.

      java.lang.IllegalStateException: Unable to find transaction: CWNEN1000E: A JNDI operation on a java:comp/env name cannot be completed because the current thread is not associated with a Java Enterprise Edition application component. This condition can occur when the JNDI client using the java:comp/env name does not occur on the thread of a server application request. Make sure that a Java EE application does not run JNDI operations on java:comp/env names within static code blocks or in threads created by that application. Such code does not necessarily run on the thread of a server application request and therefore is not supported by JNDI operations on java:comp/env names.

        at org.drools.persistence.jta.JtaTransactionManager.findUserTransaction(JtaTransactionManager.java:139)

        at org.drools.persistence.jta.JtaTransactionManager.<init>(JtaTransactionManager.java:79)

        at org.jbpm.shared.services.impl.TransactionalCommandService.<init>(TransactionalCommandService.java:23)

        at org.jbpm.services.cdi.producer.TransactionalCommandServiceProducer.produceCommandService(TransactionalCommandServiceProducer.java:35)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)

        at java.lang.reflect.Method.invoke(Method.java:620)

        at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88)

        at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:78)

        at org.jboss.weld.injection.producer.ProducerMethodProducer.produce(ProducerMethodProducer.java:95)

        at org.jboss.weld.injection.producer.AbstractMemberProducer.produce(AbstractMemberProducer.java:167)

        at org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:183)

        at org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:69)

        at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:101)

        at org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50)

        at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:761)

        at org.jboss.weld.manager.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:861)

        at org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:92)

        at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:375)

        at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:386)

        at org.jboss.weld.injection.producer.ResourceInjector$1.proceed(ResourceInjector.java:70)

        at com.ibm.ws.cdi.impl.weld.injection.WebSphereInjectionServicesImpl.aroundInject(WebSphereInjectionServicesImpl.java:276)

        at org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:46)

        at org.jboss.weld.injection.producer.ResourceInjector.inject(ResourceInjector.java:72)

        at org.jboss.weld.injection.producer.BasicInjectionTarget.inject(BasicInjectionTarget.java:121)

        at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:159)

        at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96)

        at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:101)

        at org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualInstanceStrategy.get(ContextualInstanceStrategy.java:141)

        at org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50)

        at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:99)

        at org.jboss.weld.bean.proxy.ProxyMethodHandler.getInstance(ProxyMethodHandler.java:125)

        at org.jbpm.services.cdi.impl.store.DeploymentSyncManager$Proxy$_$$_WeldClientProxy.toString(Unknown Source)

        at org.uberfire.backend.server.cdi.SystemConfigProducer.runPostConstruct(SystemConfigProducer.java:122)

        at org.uberfire.backend.server.cdi.SystemConfigProducer.afterDeploymentValidation(SystemConfigProducer.java:105)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)

        at java.lang.reflect.Method.invoke(Method.java:620)

        at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88)

        at org.jboss.weld.injection.MethodInvocationStrategy$SpecialParamPlusBeanManagerStrategy.invoke(MethodInvocationStrategy.java:144)

        at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:306)

        at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:121)

        at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:284)

        at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:262)

        at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:271)

        at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:260)

        at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:154)

        at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:148)

        at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:54)

        at org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:35)

        at org.jboss.weld.bootstrap.events.AfterDeploymentValidationImpl.fire(AfterDeploymentValidationImpl.java:28)

        at org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:447)

        at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:90)

        at com.ibm.ws.cdi.impl.CDIContainerImpl.applicationStarting(CDIContainerImpl.java:138)

        at com.ibm.ws.cdi.liberty.CDIRuntimeImpl.applicationStarting(CDIRuntimeImpl.java:349)

        at com.ibm.ws.container.service.state.internal.ApplicationStateManager.fireStarting(ApplicationStateManager.java:29)

        at com.ibm.ws.container.service.state.internal.StateChangeServiceImpl.fireApplicationStarting(StateChangeServiceImpl.java:51)

        at com.ibm.ws.app.manager.module.internal.DeployedAppInfoBase.preDeployApp(DeployedAppInfoBase.java:788)

        at com.ibm.ws.app.manager.module.internal.DeployedAppInfoBase.deployApp(DeployedAppInfoBase.java:815)

        at com.ibm.ws.app.manager.ear.internal.EARApplicationHandlerImpl.install(EARApplicationHandlerImpl.java:84)

        at com.ibm.ws.app.manager.internal.statemachine.StartAction.execute(StartAction.java:141)

        at com.ibm.ws.app.manager.internal.statemachine.ApplicationStateMachineImpl.enterState(ApplicationStateMachineImpl.java:1192)

        at com.ibm.ws.app.manager.internal.statemachine.ApplicationStateMachineImpl.run(ApplicationStateMachineImpl.java:805)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627)

        at java.lang.Thread.run(Thread.java:798)