tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikolaj Rydzewski <m...@ceti.pl>
Subject Re: How to access JNDI resources on Tomcat level
Date Tue, 01 Dec 2009 11:01:20 GMT
vramanaj wrote:
> Still getting the same error after changing Data Source name to
> 'jdbc/DefaultDS'. Added resource link in webapp.xml.
>
>          Error : Error During Lookup Name jdbc is not bound in this Context
>
> Are there any extra customizations required for Josso+Tomcat6?
>   
The 'trick' with Josso configuration is, that you need to use short JNDI 
names at tomcat/web.xml/context.xml level (e.g. jdbc/DefaultDS), but you 
have to use full JNDI named at Josso configuration level (e.g. 
java:comp/env/jdbc/DefaultDS).

-- 
Mikolaj Rydzewski <miki@ceti.pl>


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


Mime
View raw message