Hi
I am facing problem while configuring
connection pool in tomcat.
I created one DataSource after
logging into server as abmin.
I saw corresponding settings in
server.xml.i am listing them below.
Then i configured web.xml .I guess i
did all the changes as mentioned in tomcat
documentation.
But when i try to get the connection it is
giving this Exception
javax.naming.NameNotFoundException: Name java:comp is not bound in this Context
my code is :
Context ctx = new
InitialContext();
if(ctx == null )
throw new
Exception("Boom - No
Context");
System.out.println("ctx "+ctx);
DataSource ds =
(DataSource)ctx.lookup(
"java:comp/env/com/Nandakishore");
please help me .Thanks in advance.
Rgds
Nanda kishore Nekkanti
Nanda kishore Nekkanti
Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.5 - Release Date: 12/26/2004
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]