• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Pooling w/Tomcat 5 - Oracle

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'll try your recomendation.

Thanks you!

JuanCa SP
 
Get me the mayor's office! I need to tell him about this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic