• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Pooling w/Tomcat 5 - Oracle

 
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
 
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
 
Whose rules are you playing by? This tiny ad doesn't respect those rules:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!