atom feed34 messages in net.java.dev.osworkflow.usersRe: [Opensymphony-workflow] modifying...
FromSent OnAttachments
AbhishekSep 21, 2005 7:04 am 
Luca MasiniSep 21, 2005 7:17 am 
AbhishekSep 21, 2005 7:33 am 
Luca MasiniSep 21, 2005 7:50 am 
AbhishekSep 22, 2005 8:31 am 
Luca MasiniSep 22, 2005 11:30 pm 
AbhishekSep 23, 2005 7:08 am 
Luca MasiniSep 23, 2005 7:19 am 
Luca MasiniSep 26, 2005 3:36 am 
fschroderSep 26, 2005 11:24 am 
Luca MasiniSep 26, 2005 11:38 pm 
AbhishekSep 27, 2005 9:24 am 
AbhishekSep 27, 2005 9:27 am 
Luca MasiniSep 29, 2005 2:26 am 
Corby PageSep 30, 2005 4:39 pm 
Corby PageSep 30, 2005 4:47 pm 
Luca MasiniOct 1, 2005 12:50 am 
Luca MasiniOct 1, 2005 12:51 am 
Corby PageOct 2, 2005 12:52 pm 
Corby PageOct 2, 2005 1:04 pm 
Luca MasiniOct 3, 2005 12:58 am 
Luca MasiniOct 3, 2005 1:01 am 
AbhishekOct 3, 2005 2:15 pm 
Luca MasiniOct 3, 2005 11:31 pm 
AbhishekOct 4, 2005 7:35 am 
Corby PageOct 4, 2005 9:30 am 
Luca MasiniOct 4, 2005 1:57 pm 
Corby PageOct 4, 2005 2:56 pm 
Luca MasiniOct 4, 2005 4:00 pm.jar
Corby PageOct 5, 2005 4:29 pm 
Luca MasiniOct 6, 2005 12:58 am 
Luca MasiniOct 6, 2005 1:28 am 
Corby PageOct 6, 2005 7:09 am 
Luca MasiniOct 6, 2005 7:14 am 
Subject:Re: [Opensymphony-workflow] modifying WorkflowStore
From:Luca Masini (l.ma@infogroup.it)
Date:Oct 4, 2005 4:00:28 pm
List:net.java.dev.osworkflow.users
Attachments:
osworkflow-2.8.0-dev.jar - 498k

I think it's better if you try the latest jar (I saw also line numbers are differents...). Let me know. Ciao.

---------- Original Message ----------- From: Corby Page <oswo@opensymphony.com> To: use@osworkflow.dev.java.net Sent: Tue, 04 Oct 2005 16:57:01 CDT Subject: [Opensymphony-workflow] modifying WorkflowStore

This happens on the very first call to WorkflowStore, so there's really not a question of whether I am reusing the HibernateSession. It is the first HibernateSession obtained by OSWorkflow after server startup. I make a call to workflow.getCurrentSteps() and it immediately bombs out:

[b]net.sf.hibernate.LazyInitializationException: Failed to lazily initialize a collection[/b]

net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:201) net.sf.hibernate.collection.PersistentCollection.read(PersistentCollection.java:71) net.sf.hibernate.collection.List.size(List.java:79) java.util.ArrayList.<init>(ArrayList.java:133) com.opensymphony.workflow.spi.hibernate.AbstractHibernateWorkflowStore.findCurrentSteps(AbstractHibernateWorkflowStore.java:119) com.opensymphony.workflow.AbstractWorkflow.getCurrentSteps(AbstractWorkflow.java:173) 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:585) org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:292) org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155) org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122) org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174) $Proxy0.getCurrentSteps(Unknown Source) com.blued.bigdeal.model.deal.DefaultDealWorkflow.isActive(DefaultDealWorkflow.java:34)

I am using the jar that is found here:

http://ivyrep.opensymphony.com/opensymphony/osworkflow/

I can't access CVS from work, so if you would like me to try with a more recent build, please mail me a jar.

Using SpringHibernateWorkflowStore instead of NewSpringHibernateWorkflowStore works just fine.

--------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=6965&messageID=16825#16825

------- End of Original Message -------