• Workflow Exception

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #20693  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 all
2013-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.
Attachments
findUserTaskInstanceError.png
findUserTaskInstanceError.png (101.27 KiB) Viewed 7514 times
 #20727  by jllort
 
The operation executed by workflow take a lot of time to be executed ?
 #20788  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.
 #21113  by pavila
 
Ty last OpenKM Community 6.2.2.
 #21861  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 all
org.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.
 #22408  by pavila
 
We do not recommended HSQL for production.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.