users@glassfish.java.net

Re: NameNotFound Exception: No object bound to name java:/comp/env

From: <glassfish_at_javadesktop.org>
Date: Mon, 31 Mar 2008 13:18:27 PST

Can you post the stack trace or post what line of source code it's failing on. It's not clear from you r message whether the NameNotFoundException is coming from the same java:comp/env lookup as before or from the jdbc lookup. You need to double-check that whatever string you are using
for a global lookup actually corresponds to a the global JNDI name of a jdbc resource. I don't see anything with the name "jdbc/mydb" in your sun-resources.xml.
[Message sent by forum member 'ksak' (ksak)]

http://forums.java.net/jive/thread.jspa?messageID=266894