I did what you said and it appears to be bound in the 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:
Can anyone help? Im on 4.2.0.GA.
As it turns out, i cannot find anything in the local java: namespace.
Im using springframework' JndiObjectFactoryBean. What am I doing wrong?
Did you ever get this cleared up? I am getting it too...
Yes, there were two problems. I had to put this in my datasource:
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.