JBoss Community

Re: Cannot retrieve a result from human task in jBPM 5.3

created by Jiri Svitak in jBPM - View the full discussion

Hello Maciej,

 

I have followed your steps and copied files to jbpm-installer/lib directory

jbpm-5.4.0-SNAPSHOT-bin.zip

jbpm-5.4.0-SNAPSHOT-gwt-console.zip

jbpm-5.4.0-SNAPSHOT-human-task-war.zip

 

Also I have copied these files from elsewhere

birt-runtime-3_7_0.zip

designer-2.2.Final-jboss7.war

jboss-as-7.0.2.Final.zip

 

Other files have been downloaded by Ant (I had to change manually in build.properties from guvnor-distribution-wars-5.4.0-20120503.212427-528-jboss-as-7.0.war

to guvnor-distribution-wars-5.4.0-20120708.112032-569-jboss-as-7.0.war, older one was not available on the Nexus):

guvnor-distribution-wars-5.4.0-SNAPSHOT.war

jbpm-5.4.0-SNAPSHOT-form-builder.war

jbpm-human-task-war-5.4.0-SNAPSHOT.war

 

After running

ant install.demo.noeclipse

ant start.h2

ant start.jboss

I have not been able to visit drools-guvnor or jbpm-console, because deployment has failed (output from jbpm-form-builder.war.failed):

 

{"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.unit.\"jbpm-form-builder.war\".WeldService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"jbpm-form-builder.war\".WeldService: org.jboss.weld.exceptions.DefinitionException: Exception List with 1 exceptions:

Exception 0 :

java.lang.UnsupportedOperationException: Naming context is read-only

    at org.jboss.as.naming.NamingContext.createSubcontext(NamingContext.java:314)

    at javax.naming.InitialContext.createSubcontext(InitialContext.java:464)

    at com.sun.jersey.server.impl.cdi.CDIExtension$1.stepInto(CDIExtension.java:280)

    at com.sun.jersey.server.impl.cdi.CDIExtension.diveIntoJNDIContext(CDIExtension.java:267)

    at com.sun.jersey.server.impl.cdi.CDIExtension.createJerseyConfigJNDIContext(CDIExtension.java:273)

    at com.sun.jersey.server.impl.cdi.CDIExtension.initialize(CDIExtension.java:192)

    at com.sun.jersey.server.impl.cdi.CDIExtension.beforeBeanDiscovery(CDIExtension.java:297)

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

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

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

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

    at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

    at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

    at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

    at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

    at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

    at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

    at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

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

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

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

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

    at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:52)

    at org.jboss.weld.bootstrap.events.BeforeBeanDiscoveryImpl.fire(BeforeBeanDiscoveryImpl.java:48)

    at org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:351)

    at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:80)

    at org.jboss.as.weld.services.WeldService.start(WeldService.java:89)

    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)

    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

"}}}}



All other .failed files have contained just sentence "Composite operation was rolled back". I have also tried ant clean.demo.noeclipse and ant install.demo.noeclipse again, but

still without success. My guess is that form builder should be ok, since it's downloaded from Jenkins as its last successful build. Any help is welcome, thanks.

Reply to this message by going to Community

Start a new discussion in jBPM at Community