tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From QM <qm...@brandxdev.net>
Subject Re: javax.naming.NameNotFoundException: Name java: is not bound in this Context
Date Wed, 15 Dec 2004 12:00:11 GMT

: javax.naming.NameNotFoundException: Name java: is not bound in this Context
: at this place: Context envContext  = (Context)initial.lookup("java:/comp/env");

Should that be "/comp/env" or "comp/env"?

If not, help us help you -- you only posted excerpts of your server.xml
and context.xml, which makes it tougher to find problems (especially
since you encountered this problem after adding a new host def).

It also helps to know which version of Tomcat 5 you run.


All I can say right now is to check for the basics: Where's the resource
declared?  is it global?  Is it meant to be?   Are you certain Tomcat is
loading the context from 

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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


Mime
View raw message