https://github.com/rmannibucau/lookup-from-spring-in-tomee uses that,
lookup works and is done with first solution:
https://github.com/rmannibucau/lookup-from-spring-in-tomee/blob/master/src/main/webapp/WEB-INF/applicationContext.xml#L13


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

2016-07-22 14:44 GMT+02:00 sureshshine <[email protected]>:

> Thanks .. It's not working, Still i am getting null exception for
> connectionFactory. I changed the spring configuration as you suggested ( I
> tried both )
>
> <jee:jndi-lookup id="connectionFactory"
> jndi-name="openejb:Resource/jms/ConnectionFactory"
> lookup-on-startup="false"
> proxy-interface="javax.jms.ConnectionFactory"/>
>
> and
>
> <jee:jndi-lookup id="connectionFactory"
> jndi-name="java:openejb/Resource/ConnectionFactory"
> lookup-on-startup="false" proxy-interface="javax.jms.ConnectionFactory"/>
>
> Please help me to get it resolved.
>
> Thanks much.
>
>
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/Tomme-and-JMS-with-JNDI-configuration-tp4679415p4679459.html
> Sent from the TomEE Dev mailing list archive at Nabble.com.
>

Reply via email to