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 Pooling w/Tomcat 5 - Oracle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Pooling w/Tomcat 5 - Oracle" Watch "Pooling w/Tomcat 5 - Oracle" New topic
Author

Pooling w/Tomcat 5 - Oracle

JuanCa SP
Greenhorn

Joined: Feb 05, 2004
Posts: 10
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

Joined: Nov 28, 2002
Posts: 5
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

Joined: Feb 05, 2004
Posts: 10
I'll try your recomendation.

Thanks you!

JuanCa SP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Pooling w/Tomcat 5 - Oracle