Caldarale, Charles R wrote:
>> From: David Smith [mailto:d...@cornell.edu] 
>> Subject: Re: JNDI: Name java:comp is not bound in this Context
>>
>> Try java:/comp instead.
>>     
>
> That's not in the spec; what is in the spec is java:comp/env, so java:comp 
> should work.
>
>  - Chuck
>
>
>   

My copy of the spec is at work at the moment, so I used the nearest
reference I could think of .. the tomcat docs.  Someone should probably
fix the docs at
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
since it recommends exactly what I posted.  In particular, the Oracle
section's code example.

--David


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to