users@glassfish.java.net

Re: Can't find my DataSource with InitialContext via JNDI

From: <forums_at_java.net>
Date: Fri, 29 Mar 2013 23:28:17 -0500 (CDT)

I have made a few more experiments and discovered that it is Eclipse and the
deployment inside Eclipse that is the villain. If I deploy the war-file
manually into GlassFish autodeploy folder everything works. Have anyone an
idea why JNDI lookup fails in Eclipse deploy? What is the prefered way of
deploy? Maven?

--
[Message sent by forum member 'Henrik_T']
View Post: http://forums.java.net/node/896000