File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem setting up Oracle connection pool

 
John Eric Hamacher
Ranch Hand
Posts: 230
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 470
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eric, could you try this code

 
John Eric Hamacher
Ranch Hand
Posts: 230
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic