Do it, but without changes, I forgot to specify that jbpm2 has hibernate 2.1.1 boundled.
I've rebuilded last version (2.1.4) with the same version of JDK (1.4.2_04) that was used from Sun One, updated the war and the error is the same.
If I try to do what is written on the thread
http://opensource.atlassian.com/project ... wse/HB-689
I got an exception like those in first post during startup of webapp, else if I don't specify the class for transaction manager lookup I got this exception during execution of jbpm process:
ERROR [PersistentCollection] Failed to lazily initialize a collection
[15/Jun/2004:12:12:39] INFO (21803): CORE3282: stdout: caused by exception : net.sf.hibernate.MappingException
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: net.sf.hibernate.MappingException: No persister for: org.jbpm.model.definition.impl.TransitionImpl
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.impl.SessionFactoryImpl.getPersister(SessionFactoryImpl.java:344)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.impl.SessionImpl.getClassPersister(SessionImpl.java:2686)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1984)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1949)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.type.ObjectType.resolve(ObjectType.java:121)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.type.ObjectType.resolveIdentifier(ObjectType.java:116)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.impl.SessionImpl.initializeEntity(SessionImpl.java:2201)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.loader.Loader.doQuery(Loader.java:240)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.loader.Loader.loadCollection(Loader.java:915)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.loader.Loader.loadCollection(Loader.java:890)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.loader.OneToManyLoader.initialize(OneToManyLoader.java:93)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:284)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:3264)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:195)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.collection.PersistentCollection.read(PersistentCollection.java:71)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.collection.List.iterator(List.java:103)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at org.jbpm.model.definition.impl.ElementImpl.executeActions(ElementImpl.java:70)
...
[cut]
...
[15/Jun/2004:12:12:39] INFO (21803): CORE3282: stdout: 12:12:39,700 debug [HibernateSession] rolling back a jbpm transaction
[15/Jun/2004:12:12:39] INFO (21803): CORE3282: stdout: 12:12:39,701 debug [JDBCTransaction] rollback
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: net.sf.hibernate.LazyInitializationException: Failed to lazily initialize a collection
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:201)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.collection.PersistentCollection.read(PersistentCollection.java:71)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.collection.List.iterator(List.java:103)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at org.jbpm.model.definition.impl.ElementImpl.executeActions(ElementImpl.java:70)
...
[cut]
....
Caused by: net.sf.hibernate.MappingException: No persister for: org.jbpm.model.definition.impl.TransitionImpl
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.impl.SessionFactoryImpl.getPersister(SessionFactoryImpl.java:344)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.impl.SessionImpl.getClassPersister(SessionImpl.java:2686)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1984)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1949)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.type.ObjectType.resolve(ObjectType.java:121)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.type.ObjectType.resolveIdentifier(ObjectType.java:116)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.impl.SessionImpl.initializeEntity(SessionImpl.java:2201)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.loader.Loader.doQuery(Loader.java:240)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.loader.Loader.loadCollection(Loader.java:915)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.loader.Loader.loadCollection(Loader.java:890)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.loader.OneToManyLoader.initialize(OneToManyLoader.java:93)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:284)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:3264)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: at net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:195)
[15/Jun/2004:12:12:39] WARNING (21804): CORE3283: stderr: ... 43 more
Tanks for the help ;)