commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pramodh Peddi" <>
Subject RE: Basic working server.xml for DBCP configuration
Date Thu, 16 Jun 2005 18:11:37 GMT
I think I am all set on this. This is the exact structure of relevant
xml, which worked for me: 






<Resource name="jdbc/myDB"   auth="Container"

<ResourceParams name="jdbc/myDB">

<!- different connection and pooling related parameters -->











-----Original Message-----
From: Pramodh Peddi 
Sent: Wednesday, June 15, 2005 8:25 PM
Subject: Basic working server.xml for DBCP configuration






Can anyone please give me your Tomcat's server.xml (of course with dummy

values for secure information) for a working DBCP configuration? I

basically need to know the xml structure of dbcp configuration under

Context element. I was using tomcat's documentation, but does not seem

to help. I am confused by Resource, ResourceParams, etc elements and not

knowing what exactly to use. I will really appreciate if any one can

provide me you working server.xml (relevant xml structure under Context





Is it compulsory that this dbcp configuration NEEDS to be under Context

element? Can't it be right under Host element?










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