Howdy,
java:comp/env is defined in the servlet specification to be the naming
context for environment entries.  You could get the env context by doing
a lookup for just java:comp/env on the initial context, and then do
relative lookups from this env context rather than absolute lookups from
an initial context.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Wynkoop, Robert M [mailto:[EMAIL PROTECTED]
>Sent: Monday, September 22, 2003 4:36 PM
>To: Tomcat Mailing List (E-mail)
>Subject: JNDI lookup of datasource objects.
>
>Is there a way to configure Tomcat so I can lookup datasoruce objects
by
>doing .lookup("jdbc/<someName>") instead of
>.lookup("java:comp/env/jdbc/<someName").  I'm trying to work locally on
a
>webphere project using Tomcat / Netbeans.  In Webphere lookups are done
>using "jdbc/<someName>".
>
>Thanks,
>
>Robert Wynkoop
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to