[jboss-user] [jBPM Users] - Re: Unit test succeeds but process does not properly run whe

2009-10-09 Thread sebastian.s
Process definition and unit test are in the first post but I just encounter the 
problem as soon as the process is deployed on the  server.

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

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


[jboss-user] [jBPM Users] - Re: Unit test succeeds but process does not properly run whe

2009-10-09 Thread kukeltje
Do you have a unittest?

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

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


[jboss-user] [jBPM Users] - Re: Unit test succeeds but process does not properly run whe

2009-10-09 Thread sebastian.s
It must be something due to the fork-join. I added an additional task assigned 
to one of the users before the fork and could complete it. After reaching the 
fork the problems started and I couldn't get the users's tasklist anymore. But 
even with the changed process definition I can't start a new process instance 
in the console. I see the process definition in the list and I can push the 
start button to create a new instance. But nothing happens afterwards. There is 
neither an error message or exception nor a new process instance in the 
refreshed list.

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

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


[jboss-user] [jBPM Users] - Re: Unit test succeeds but process does not properly run whe

2009-10-09 Thread sebastian.s
Thanks for the hint. Right now I was trying it again and it shows up like that 
I also get into trouble if I use the API directly. I have a webservice invoking 
methods on the jBPM API. By the use of the API I can start a new process 
instance and I can grab the assigned process instance id. I can even query for 
the active activities and they show up right. But as soon as I want to access 
the task list of one of the users having the tasks in their list an exception 
is thrown:


  | Caused by: org.hibernate.LazyInitializationException: could not initialize 
proxy
  |  - no Session
  | at 
org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyIn
  | itializer.java:86)
  | at 
org.hibernate.proxy.AbstractLazyInitializer.getImplementation(Abstrac
  | tLazyInitializer.java:140)
  | at 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(Ja
  | vassistLazyInitializer.java:190)
  | at 
org.jbpm.pvm.internal.model.ExecutionImpl_$$_javassist_4.getId(Execut
  | ionImpl_$$_javassist_4.java)
  | 

When retrieving the task list of a user who does not participate in the process 
no exception is thrown.

To me this now looks a bit like the different resolved or rejected issues 
related to problems with fork and join. Since I got the problems although 
without using the console it can't be because or just because of the console.

Confused regards
Sebastian

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

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


[jboss-user] [jBPM Users] - Re: Unit test succeeds but process does not properly run whe

2009-10-08 Thread kukeltje
Sigh. again a post where my reply is not visible... What is going on here? 

What I replied was: If the unit test works does not mean it works from the 
console as well. The api used by the console might e.g. not be fully updated 
yet or something like that. You could try posting in the BPM Console forum as 
well or refer to this topic from there.

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

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


[jboss-user] [jBPM Users] - Re: Unit test succeeds but process does not properly run whe

2009-10-08 Thread sebastian.s
I am going to raise the log level and repost the log.

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

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


[jboss-user] [jBPM Users] - Re: Unit test succeeds but process does not properly run whe

2009-10-06 Thread sebastian.s
>From the Tomcat log files:


  | 07.10.2009 07:55:32 org.hibernate.LazyInitializationException 
  | SCHWERWIEGEND: could not initialize proxy - no Session
  | org.hibernate.LazyInitializationException: could not initialize proxy - no 
Session
  | at 
org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:86)
  | at 
org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:140)
  | at 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
  | at 
org.jbpm.pvm.internal.model.ExecutionImpl_$$_javassist_4.getId(ExecutionImpl_$$_javassist_4.java)
  | at 
org.jbpm.integration.console.ModelAdaptor.adoptTask(ModelAdaptor.java:147)
  | at 
org.jbpm.integration.console.TaskManagementImpl.adoptTasks(TaskManagementImpl.java:69)
  | at 
org.jbpm.integration.console.TaskManagementImpl.getAssignedTasks(TaskManagementImpl.java:49)
  | at 
org.jboss.bpm.console.server.TaskListFacade.getTasksForIdRef(TaskListFacade.java:99)
  | 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.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
  | at 
org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
  | at 
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
  | at 
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
  | at 
org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
  | at 
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
  | at 
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
  | at 
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
  | at 
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
  | at java.lang.Thread.run(Thread.java:619)
  | 
  | 

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

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


[jboss-user] [jBPM Users] - Re: Unit test succeeds but process does not properly run whe

2009-10-06 Thread sebastian.s
I will try to verify on a second installation and I will post the stacktrace 
tomorrow.

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

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


[jboss-user] [jBPM Users] - Re: Unit test succeeds but process does not properly run whe

2009-10-06 Thread kukeltje
If the unit tests run, it means the processdefinition is ok, your usage of the 
api is ok, your expectation of what the engine does is ok, the way the 
testbaseclasses use the engine etc are ok, but it does not mean and I do not 
want to do any fingerpointing whatsoever, that the console uses the api in the 
same correct way. Maybe there have been some changes in the api that were not 
incorporated in the console yet. 

Do you have the full stacktrace to show where the error occurs? If you think it 
is caused by the console, please post in that forum (not under jBPM, but under 
http://www.jboss.org/community/wiki/BPMConsole)



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

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