Hi Normally you can define a global name (java:global/jmsstuff)
you can also define the injection in web.xml to give it the name you want Le lundi 27 janvier 2014, vemula <[email protected]> a écrit : > Hi All, > > I have a resource configured in tomee.xml, if have to look up that resource > using spring jndi config > > <jee:jndi-lookup id="jmsConnectionFactory" > jndi-name="openejb:Resource/JMSConnectionFactory"/> > > is there anyway to get around not using openejb:Resource/ prefix. > > The application is we developed is test in different app servers wehsphere > and weblogic do not need any > prefix <jee:jndi-lookup id="jmsConnectionFactory" > jndi-name="JMSConnectionFactory"/> works fine. > > Thanks > > Regards, > Vinay Vemula > > > > -- > View this message in context: http://openejb.979440.n4.nabble.com/JNDI-Lookup-tp4667303.html > Sent from the OpenEJB User mailing list archive at Nabble.com. > -- *Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau <http://fr.linkedin.com/in/rmannibucau>* *Github: https://github.com/rmannibucau <https://github.com/rmannibucau>*
