tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Connection pooling using Jakarta commons
Date Wed, 14 Aug 2002 17:18:59 GMT

I think you can add those parameters in your web.xml file...

something like this:


please, correct me if I'm wrong...


Capr1ce <>
14/08/2002 05:47 a.m.
Please respond to Tomcat Users List

        Subject:        Connection pooling using Jakarta commons


I'm new here. My name's Mel. Hi!

Anyway, I have a question that I cannot find an answer for anywhere.
I've implemented connection pooling using Tomcat 4.0 and the required 
projects from Jakarta commons as instructed in the JNDI resources how to 
that can be found with in the Tomcat documentation. 
I have edited my server.xml and web.xml files and it works perfectly. How 
comes the time for my project to be transferred onto the new web hosting 
companys web site. This is where I have hit a problem. I cannot edit their 

server.xml. Only my own web.xml. So i've added the <resource-ref> element 
to web.xml:


However, server.xml contains many parameters:

<ResourceParams name="jdbc/ocb_clients">
      <value>username here</value>

Can these be included in web.xml somehow? Or do I need to take a different 

Thanks very much for any help,

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message