We are facing the problem is that our application is using WebSphere 6.1.0.17. 
The application is adopted jBPM tools that also employ Hibernate tool as ORM. 
However, when jBPM via Hibernate to lookup JTA transaction from WebSphere, it 
throws the javax.naming.ConfigurationException as below. I also tried different 
setting like lookup manager and JNDI name, but still fail. Please help to solve.

Configuration
==========
OS: AIX reportserver 3 5 000E2BF1D900
JDK: J2RE 1.5.0 IBM J9 2.3 AIX ppc64-64 j9vmap6423-20080315 (JIT enabled)
Hibernate: 3.2.2
JBPM: 3.2.1


Transaction Lookup Manager
=====================
org.hibernate.transaction.WebSphereTransactionManagerLookup
org.hibernate.transaction.WebSphereExtendedJTATransactionLookup


JNDI Name
========
jta/usertransaction - Throws javax.naming.ConfigurationException
java:comp/UserTransaction - Throws Name not found exception


If using jta/usertransaction, it throws following exception

Exception
==========
NamingException is being thrown from a javax.naming.Context implementation. 
Details follow:
Context implementation: com.ibm.ws.naming.jndicos.CNContextImpl
Context method: lookupExt
Context name: reportserverCell01/nodes/reportserverNode01/servers/Server-DE3-DEV
Target name: jta/usertransaction
Other data: ""
Exception stack trace: 
com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred 
while
the JNDI NamingManager was processing a javax.naming.Reference object. [Root 
exception is javax.naming.Conf
igurationException]
        at 
com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupExt(Helpers.java:1000)
        at 
com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:705)
        at 
com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CNContextImpl.java:2093)
        at 
com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1947)
        at 
com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1862)
        at 
com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1552)
        at 
com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1354)
        at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:172)
        at javax.naming.InitialContext.lookup(InitialContext.java:363)
        at org.hibernate.transaction.JTATransaction.(JTATransaction.java:60)
        at 
org.hibernate.transaction.JTATransactionFactory.createTransaction(JTATransactionFactory.java:57)
        at org.hibernate.jdbc.JDBCContext.getTransaction(JDBCContext.java:193)
        at org.hibernate.impl.SessionImpl.getTransaction(SessionImpl.java:1315)
        at 
org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1325)
        at 
org.jbpm.persistence.db.DbPersistenceService.beginTransaction(DbPersistenceService.java:132)
        at 
org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:124)
        at 
org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:345)
        at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:571)
        at org.jbpm.JbpmContext.deployProcessDefinition(JbpmContext.java:173)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181152#4181152

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181152
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to