You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Daniel Kowalik <da...@reuters.pl> on 2003/04/30 17:11:16 UTC

java:comp is not bound in this ctx.

Hi All,
i've just tried to use JNDI connection pool with MySql, i exactly copied
the example from tomcat docs
(http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-example
s-howto.html) and i still got the message that java:comp is not bound in
this context. However when i moved all the code to jsp it works
perfectly. Has anyone met similar thing? I use Tomcat 4.1.24LE on Java
1.4.1_02. 

Bests
daniel


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


RE: java:comp is not bound in this ctx.

Posted by Daniel Kowalik <da...@reuters.pl>.
Ok, never mind. the war had to many libraries in WEB-INF/lib, this
confused tomcat a bit.
bests
d.


-----Original Message-----
From: Daniel Kowalik [mailto:daniel@reuters.pl] 
Sent: Wednesday, April 30, 2003 5:11 PM
To: 'Tomcat Users List'
Subject: java:comp is not bound in this ctx.


Hi All,
i've just tried to use JNDI connection pool with MySql, i exactly copied
the example from tomcat docs
(http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-example
s-howto.html) and i still got the message that java:comp is not bound in
this context. However when i moved all the code to jsp it works
perfectly. Has anyone met similar thing? I use Tomcat 4.1.24LE on Java
1.4.1_02. 

Bests
daniel


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


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