Example configurations can be found on the DBCP wiki:
http://wiki.apache.org/jakarta-commons/DBCP
Feel free to add your own examples.

The reqources should be defined under Context. You can define them in the global context and then refer to them in each specific host/context.

-- Dirk

Pramodh Peddi wrote:
Hi,

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
element).

Is it compulsory that this dbcp configuration NEEDS to be under Context
element? Can't it be right under Host element?

Thanks,

Pramodh.





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to