tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: javax.naming.NameNotFoundException: Name [weblogic.transaction.TransactionManager] is not bound in this Context.
Date Thu, 13 Apr 2017 15:23:01 GMT
Hi

did you configure WebLogicTransactionController in your peristence.xml (or
another WebLogic* class)? Looks like so.


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2017-04-13 15:02 GMT+02:00 vsolanki99 <vsolanki@nsf.org>:

> Hi ,
> I am new to the TOMEE . We are planning to migrate the application from
> weblogic to TOMEE .
> We successfully configure tomee in my eclipse . After few changes we run
> the
> application we got the below exception .
> *Internal Exception: javax.naming.NameNotFoundException: Name
> [weblogic.transaction.TransactionManager] is not bound in this Context.
> Unable to find [weblogic.transaction.TransactionManager].
>         at
> org.eclipse.persistence.exceptions.TransactionException.
> errorObtainingTransactionManager(TransactionException.java:125)
>         at
> org.eclipse.persistence.transaction.JTATransactionController.<init>(
> JTATransactionController.java:69)
>         at
> org.eclipse.persistence.transaction.wls.WebLogicTransactionController.
> <init>(WebLogicTransactionController.java:27)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(
> NativeConstructorAccessorImpl.java:62)
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
> DelegatingConstructorAccessorImpl.java:45)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>         at java.lang.Class.newInstance(Class.java:442)
>         at
> org.eclipse.persistence.internal.security.PrivilegedAccessHelper.
> newInstanceFromClass(PrivilegedAccessHelper.java:417)
>         at
> org.eclipse.persistence.platform.server.ServerPlatformBase.
> initializeExternalTransactionController(ServerPlatformBase.java:295)
>         at
> org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.
> preConnectDatasource(DatabaseSessionImpl.java:765)
>         at
> org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(
> DatabaseSessionImpl.java:738)
>         at
> org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(
> EntityManagerFactoryProvider.java:217)
>         at
> org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(
> EntityManagerSetupImpl.java:554)
>         ... 70 more
> Caused by: Exception [EclipseLink-23001] (Eclipse Persistence Services -
> 2.4.2.v20130514-5956486):
> org.eclipse.persistence.exceptions.TransactionException
> Exception Description: Error looking up external Transaction resource under
> JNDI name [weblogic.transaction.TransactionManager]
> Internal Exception: javax.naming.NameNotFoundException: Name
> [weblogic.transaction.TransactionManager] is not bound in this Context.
> Unable to find [weblogic.transaction.TransactionManager].
>         at
> org.eclipse.persistence.exceptions.TransactionException.
> jndiLookupException(TransactionException.java:47)
>         at
> org.eclipse.persistence.transaction.AbstractTransactionController.
> jndiLookup(AbstractTransactionController.java:436)
>         at
> org.eclipse.persistence.transaction.wls.WebLogicTransactionController.
> acquireTransactionManager(WebLogicTransactionController.java:35)
>         at
> org.eclipse.persistence.transaction.JTATransactionController.<init>(
> JTATransactionController.java:67)
>         ... 82 more
> Caused by: javax.naming.NameNotFoundException: Name
> [weblogic.transaction.TransactionManager] is not bound in this Context.
> Unable to find [weblogic.transaction.TransactionManager].
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:816)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:173)
>         at org.apache.naming.SelectorContext.lookup(
> SelectorContext.java:163)
>         at javax.naming.InitialContext.lookup(InitialContext.java:417)
>         at
> org.eclipse.persistence.transaction.AbstractTransactionController.
> jndiLookup(AbstractTransactionController.java:434)*
>
> We have searched the keyword *weblogic.transaction.TransactionManager* but
> we are unable to find that . Kindly suggest.
>
>
> Regards
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.
> n4.nabble.com/javax-naming-NameNotFoundException-Name-
> weblogic-transaction-TransactionManager-is-not-
> bound-in-this-tp4681542.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

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