I missed some of the posts that showed the proper call which was as follows:
<constructor-arg value="openejb:Resource/TestDS" After doing this and modifying the other beans likewise I got the application up and running in TomEE. Now I am having a problem where I have a separate application that runs in it's own JVM that needs to call the ActiveMQ Connection Factory that I have running in TomEE. I use same call to make the connection to JMS that I used in TomEE <bean id="jmsConnectionFactoryJndiName" class="java.lang.String"> <constructor-arg value="openejb:Resource/TestJmsConnectionFactory"/> </bean> The error I'm getting from the other application is it is getting an Error looking up openejb:Resource/TestJmsConnectionFactory which was due to it not able to obtain the connection to tcp://localhost:61616. I have in the other application as part of the start-up parameters is: -DResource/javax.jms.ConnectionFactory=connectionfactory:org.apache.activemq.ActiveMQConnectionFactory:tcp://localhost:61616 -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/JNDI-issues-with-app-moving-from-JBoss-to-TomEE-Plus-tp4672249p4672279.html Sent from the TomEE Dev mailing list archive at Nabble.com.
