File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Problem setting up Oracle connection pool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Problem setting up Oracle connection pool" Watch "Problem setting up Oracle connection pool" New topic
Author

Problem setting up Oracle connection pool

John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230
Tomcat 6.0.18
ojdbc5dms.jar (11.1.0.7).
JDK 1.5

Hello:

I get the following exception:



at:


I've been working on this for days. I have tried many different <Resource> configurations in server.xml. Here is my current server.xml (I've changed the values of some attributes for privacy):



The database connection information is correct.

Can anybody shed light on this?

Thanks

Eric
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
Eric, could you try this code

John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230
Thanks.

Tried the code with no luck. I can get it to work if I use getConnection("username", "password") but putting the credentials in the code isn't an option. I can find very little in Google about this exception.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem setting up Oracle connection pool