I missed some of the posts that showed the proper call which was as follows:

<constructor-arg value=&quot;openejb:Resource/TestDS&quot;

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

&lt;bean id=&quot;jmsConnectionFactoryJndiName&quot;
class=&quot;java.lang.String&quot;>
   <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.

Reply via email to