Hi,
Thanks for the reply.

I have tried exactly same fork/join approach using jBPM 4.1, JBOSS 5.0 etc

Can you please guide me in this ?

I am getting following error

org.jboss.resteasy.spi.UnhandledException: 
org.hibernate.LazyInitializationException: could not initialize proxy - no 
Session
  |     
org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:319)
  |     
org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:230)
  |     
org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:206)
  |     
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:360)
  |     
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
  |     
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
  |     
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
  |     javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  |     
org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
  |     
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
  | 
  | root cause 
  | 
  | org.hibernate.LazyInitializationException: could not initialize proxy - no 
Session
  |     
org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:86)
  |     
org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:140)
  |     
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
  |     
org.jbpm.pvm.internal.model.ExecutionImpl_$$_javassist_4.getId(ExecutionImpl_$$_javassist_4.java)
  |     
org.jbpm.integration.console.ModelAdaptor.adoptTask(ModelAdaptor.java:147)
  |     
org.jbpm.integration.console.TaskManagementImpl.adoptTasks(TaskManagementImpl.java:69)
  |     
org.jbpm.integration.console.TaskManagementImpl.getAssignedTasks(TaskManagementImpl.java:49)
  |     
org.jboss.bpm.console.server.TaskListFacade.getTasksForIdRef(TaskListFacade.java:99)
  |     sun.reflect.GeneratedMethodAccessor278.invoke(Unknown Source)
  |     
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |     java.lang.reflect.Method.invoke(Method.java:597)
  |     
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
  |     
org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
  |     org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
  |     org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
  |     
org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
  |     
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
  |     
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
  |     
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
  |     
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
  |     javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  |     
org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
  |     
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
  | 
  | note The full stack trace of the root cause is available in the JBoss 
Web/2.1.1.GA logs.
  | 
  | 
  | 
--------------------------------------------------------------------------------
  | 
  | JBoss Web/2.1.1.GA  
  |  
  | 

jpdl attached :

  |   <?xml version="1.0" encoding="UTF-8" ?> 
  | - <process name="SubProcessFill" xmlns="http://jbpm.org/4.0/jpdl";>
  | - <start g="214,171,31,24" name="start1">
  |   <transition g="-43,-18" name="to fork1" to="fork1" /> 
  |   </start>
  | - <fork g="215,273,44,34" name="fork1">
  |   <transition g="-44,-18" name="to task1" to="task1" /> 
  |   <transition g="-44,-18" name="to task2" to="task2" /> 
  |   <transition g="-44,-18" name="to task3" to="task3" /> 
  |   </fork>
  |   <end g="229,568,33,16" name="end1" /> 
  | - <task assignee="peter" form="tcs/com/java/giveAppDetails.ftl" 
g="101,379,66,29" name="task1">
  |   <transition g="-41,-18" name="to join1" to="join1" /> 
  |   </task>
  | - <task assignee="peter" form="tcs/com/java/giveAppDetails.ftl" 
g="222,378,47,27" name="task2">
  |   <transition g="-41,-18" name="to join1" to="join1" /> 
  |   </task>
  | - <task assignee="peter" form="tcs/com/java/giveAppDetails.ftl" 
g="342,378,63,26" name="task3">
  |   <transition g="-41,-18" name="to join1" to="join1" /> 
  |   </task>
  | - <join g="227,465,39,35" name="join1">
  |   <transition g="-42,-18" name="to end1" to="end1" /> 
  |   </join>
  |   </process>
  | 

----

-Regards
Makarand

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256762#4256762

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256762
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to