Follow 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations
 
closely.




Viorel Dragomir

.
..
-------------------------------------------------------------------
vioss was here


----- Original Message ----- 
From: kangkoong Kakoong 
To: Tomcat Users List 
Sent: Friday, October 22, 2004 10:52
Subject: jdbc pool


when I compile using jdbc pool the following error
show:

javax.servlet.ServletException: Name jdbc is not bound
in this Context
VerifyLogin.doPost(Unknown Source)

javax.servlet.http.HttpServlet.service(HttpServlet.java:763)

javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

root cause

javax.naming.NameNotFoundException: Name jdbc is not
bound in this Context

org.apache.naming.NamingContext.lookup(NamingContext.java:815)

org.apache.naming.NamingContext.lookup(NamingContext.java:185)

org.apache.naming.NamingContext.lookup(NamingContext.java:826)

org.apache.naming.NamingContext.lookup(NamingContext.java:185)

org.apache.naming.NamingContext.lookup(NamingContext.java:826)

org.apache.naming.NamingContext.lookup(NamingContext.java:198)

org.apache.naming.SelectorContext.lookup(SelectorContext.java:183)

javax.naming.InitialContext.lookup(InitialContext.java:347)
VerifyLogin.doPost(Unknown Source)

javax.servlet.http.HttpServlet.service(HttpServlet.java:763)

javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

What is that mind?

Thanks in advance



_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to