Joined: Wed Apr 13, 2005 11:56 am Posts: 1 Location: KL
|
|
hi all,
I tried to configure Hibernate 2 to run in Websphere 6.0 but unfortunately if failed.
Some of the exception i manage to capture :
[4/13/05 23:47:28:750 SGT] 00000034 SystemErr R java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at net.sf.hibernate.transaction.WebSphereExtendedJTATransactionLookup$TransactionManagerAdapter$TransactionAdapter.registerSynchronization(WebSphereExtendedJTATransactionLookup.java:205)
at net.sf.hibernate.impl.SessionImpl.connect(SessionImpl.java:3368)
at net.sf.hibernate.impl.SessionImpl.connection(SessionImpl.java:3333)
...
...
...
Caused by: (no cause) the hibernate persistence could not be initialized properly : could not register synchronization with JTA TransactionManager
at org.jbpm.persistence.hibernate.HibernateSessionFactory.initialize(HibernateSessionFactory.java:46)
I have configured the following in my hibernate properties :
hibernate.transaction.factory_class=net.sf.hibernate.transaction.JTATransactionFactory
hibernate.transaction.manager_lookup_class=net.sf.hibernate.transaction.WebSphereExtendedJTATransactionLookup
hibernate.dialect=net.sf.hibernate.dialect.DB2Dialect
Can someone please enlighten me what i have done wrong or missing something? please guider...
thanks a lot..
_________________ wanted
|
|