tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravindranath Akila <ravindranathak...@gmail.com>
Subject Re: OpenEJB + HBase + Datanucleus + JPA - Problem when TomEE closing entity manager
Date Mon, 02 Jul 2012 03:55:33 GMT
For the JTA Locatior, for JNDI lookup, I should give:

java:openejb/TransactionManager (if outside a bean)
java:comp/TransactionManager (if inside a bean)

Am I correct?


(Debug info if needed:
this = {org.datanucleus.jta.CustomJNDITransactionManagerLocator@269}
jndiLocation = {java.lang.String@475}"java:openejb/TransactionManager"
clr = {org.datanucleus.JDOClassLoaderResolver@355}"ClassLoaderResolver:
primary=java.lang.ThreadLocal@c0cac8 pmContextLoader=null
runtimeLoader=null registeredLoader=null"
e = {javax.naming.NameNotFoundException@742}"javax.naming.NameNotFoundException:
Name \"openejb/TransactionManager\" not found."
resolvedName = null
resolvedObj = null
remainingName = null
rootException = null
detailMessage = {java.lang.String@749}"Name \"openejb/TransactionManager\"
not found."
cause = {javax.naming.NameNotFoundException@742}"javax.naming.NameNotFoundException:
Name \"openejb/TransactionManager\" not found."
stackTrace = null
ctx = {javax.naming.InitialContext@463}
myProps = {java.util.Hashtable@477} size = 2
[0] = {java.util.Hashtable$Entry@497}"java.naming.factory.initial" ->
"org.apache.naming.java.javaURLContextFactory"
[1] = {java.util.Hashtable$Entry@505}"java.naming.factory.url.pkgs" ->
"org.apache.naming:org.apache.openejb.core.ivm.naming"
defaultInitCtx = {org.apache.naming.SelectorContext@470}
env = {java.util.Hashtable@477} size = 2
[0] = {java.util.Hashtable$Entry@497}"java.naming.factory.initial" ->
"org.apache.naming.java.javaURLContextFactory"
[1] = {java.util.Hashtable$Entry@505}"java.naming.factory.url.pkgs" ->
"org.apache.naming:org.apache.openejb.core.ivm.naming"
sm = {org.apache.naming.StringManager@485}
initialContext = true
gotDefault = true
)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message