Page 1 of 1
Workflow Exception
PostPosted:Thu Jan 10, 2013 1:45 pm
by venu.vijayagiri09
Hi,
I am trying to execute workflow in OpenKM 6.2 on windows(with tomcat).
Deployed the process successfully using Jboss Developer Studio.
My form has to pass between two users. I am able to get the form for the first user but it's not going to the second and it's giving the following exception.
Code: Select all2013-01-10 19:16:05,884 [http-bio-0.0.0.0-8070-exec-2] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/OpenKM]
- Exception while dispatching incoming RPC call org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.jbpm.bytes.ByteArray.byteBlocks, no session or session was closed
at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:383)
can anyone help me on this.
Re: Workflow Exception
PostPosted:Fri Jan 11, 2013 12:06 pm
by venu.vijayagiri09
Can any one help me on how to resolve it.
I am working on this from the past 10 days.
Re: Workflow Exception
PostPosted:Sat Jan 12, 2013 5:50 pm
by jllort
The operation executed by workflow take a lot of time to be executed ?
Re: Workflow Exception
PostPosted:Tue Jan 15, 2013 4:54 am
by venu.vijayagiri09
Thanks for your reply,
Is there any procedure to solve this problem?
Re: Workflow Exception
PostPosted:Wed Jan 16, 2013 10:33 pm
by jllort
We discovered some bug related with this problem, that when application is using systemToken can appear this problem ( not always but in some special cases can happens the problem you related ). We're working to solve it in source code.
Re: Workflow Exception
PostPosted:Thu Jan 17, 2013 4:56 am
by venu.vijayagiri09
Thanks for your information.
Re: Workflow Exception
PostPosted:Sun Jan 27, 2013 11:27 am
by pavila
Ty last OpenKM Community 6.2.2.
Re: Workflow Exception
PostPosted:Wed Mar 27, 2013 5:04 pm
by whitaker
Hello
I'm writing diploma work on creating workflow for OpenKM, using OpenKM 6.2.2 tomcat bundle version on Windows and similar on Linux.
I have the same problem as described above. Creating processes in JBoss and use examples from the Workflow Guide but none of the workflow process not transmitting from the first to the second task.
The result is a user: Error when communicating with server (findUserTaskInstances) and in process:
Code: Select allorg.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.jbpm.bytes.ByteArray.byteBlocks, no session or session was closed
org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:383)
org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:375)
org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:368)
org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:111)
org.hibernate.collection.PersistentList.hashCode(PersistentList.java:490)
org.jbpm.bytes.ByteArray.hashCode(ByteArray.java:113)
java.lang.Object.toString(Object.java:219)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
..................
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
Please help me on this.
Re: Workflow Exception
PostPosted:Wed Apr 03, 2013 11:59 am
by pavila
Re: Workflow Exception
PostPosted:Tue Apr 09, 2013 11:24 pm
by agm
pavila wrote:Get last night build from http://integration.openkm.com/6.2/ and configure OpenKM for MySQL http://wiki.openkm.com/index.php/MySQL_-_OpenKM_6.2
Hi, it works ONLY if you configure OpenKM for MySQL (I dont test it with porstgres), with default HSQL not work.
Regards
Re: Workflow Exception
PostPosted:Wed Apr 10, 2013 9:23 am
by pavila
We do not recommended HSQL for production.
Re: Workflow Exception
PostPosted:Sat Apr 20, 2013 8:38 am
by whitaker
Many thanks to the developers, really the problem was resolved.