• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pooling w/Tomcat 5 - Oracle

 
JuanCa SP
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,

I'm trying to configure a connection pooling in tomcat5/oracle 9i.

I have read the example in apache's web page and similar topics in this section. But it seems I can't configure it in the right way.

What I have done is the following:

1. Put the file classes12.jar in common/lib
2. Add in server.xml:

3. Add in web.xml:

4. In the code:


But everything what I got is:


What is wrong?

Thanks for your help!

JuanCa SP
 
sudeep philip
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A new "feature" in tomcat 5+, when a web application is deployed, a resource reference is created and the reference holds an empty URL value as well as a driver name.
You can use the Tomcat admin interface to apply the resource description to the context at -- Tomcat Server >> Host(local host) >> Context (context name) >> Resources >> Data sources.
[ July 21, 2004: Message edited by: sudeep philip ]
 
JuanCa SP
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll try your recomendation.

Thanks you!

JuanCa SP
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic