This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes JSP and the fly likes ConnectionPool not found Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply Bookmark "ConnectionPool not found" Watch "ConnectionPool not found" New topic
Author

ConnectionPool not found

satya sahu
Ranch Hand

Joined: Mar 26, 2003
Posts: 97
Hi all,
In one program i am importing javaservlets.jdbc.ConnectionPool package. While compiling the program is giving error stating the package not available. I am using J2sdk 1.4 and oracle 8 personal edition in windows 98. Can anybody tell me what i have to do to solve this problem. Thanks in advance.
Amol Desai
Ranch Hand

Joined: Jan 29, 2003
Posts: 82
Hi,
You need to have javaservlets.jdbc.ConnectionPool class in your classpath. If the jar file contains that class, place the jar file in your classpath
-Amol
satya sahu
Ranch Hand

Joined: Mar 26, 2003
Posts: 97
How do i set that classpath??
Rangarajan Suresh
Ranch Hand

Joined: Jan 08, 2002
Posts: 50
Originally posted by satya sahu:
How do i set that classpath??

You can put the compiled class (with the package structure) in your
webapplication's WEB-INF\classes folder.
i.e put your ConnectionPool class in, %YOURAPPHOME%\WEB-INF\classes\servlets\jdbc\
where YOURAPPHOME is the your web application directory
Rangarajan Suresh
Ranch Hand

Joined: Jan 08, 2002
Posts: 50
Originally posted by satya sahu:
How do i set that classpath??

You can put the compiled class (with the package structure) in your
webapplication's WEB-INF\classes folder.
i.e put your ConnectionPool class in, %YOURAPPHOME%\WEB-INF\classes\servlets\jdbc\
where YOURAPPHOME is the your web application directory
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: ConnectionPool not found
 
Similar Threads
Chap.10 Development , Q5 pg813 : not understood answer and cannot run code
how to compile?
running java
error importing java.rmi.Registry and Server
How to set jar files in eclipse europa?