-
1. Re: Why is TransactionManager not Bound in JNDI
tobias Jun 28, 2007 10:42 AM (in response to bmcgovern)Weird.
Just to be sure check the JNDIView:
http://wiki.jboss.org/wiki/Wiki.jsp?page=DisplayTheJDNITreeWithTheJMXConsole -
2. Re: Why is TransactionManager not Bound in JNDI
bmcgovern Jun 29, 2007 11:11 AM (in response to bmcgovern)I did what you said and it appears to be bound in the java: namespace.
java: Namespace
+- TransactionManager (class: com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate)
But when I do a lookup under java:/TransactionManager or just TransactionManger or java:TransactionManger. I get:
NameNotBoundException: TransactionManager.
Can anyone help? Im on 4.2.0.GA. -
3. Re: Why is TransactionManager not Bound in JNDI
bmcgovern Jun 29, 2007 12:45 PM (in response to bmcgovern)As it turns out, i cannot find anything in the local java: namespace.
Im using springframework' JndiObjectFactoryBean. What am I doing wrong? -
4. Re: Why is TransactionManager not Bound in JNDI
arnieoag Aug 21, 2007 3:06 PM (in response to bmcgovern)Did you ever get this cleared up? I am getting it too...
-
5. Re: Why is TransactionManager not Bound in JNDI
bmcgovern Aug 21, 2007 3:15 PM (in response to bmcgovern)Yes, there were two problems. I had to put this in my datasource:
<use-java-context>false</use-java-context>
It was correctly bound to java:/TransactionManager.
But I couldn't look it up because I had some Jboss jars bundled in with my application. When I removed those it worked. There was classloader issues with JNDI in general. Look in your application for conflicting jars and I bet you'll find some.
Good luck