tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject using jndi DataSource
Date Tue, 20 May 2003 15:00:28 GMT

I used to declare DataSource in tomcat server.xml file

like below within a DefaulContext

          <Resource name="jdbc/infoperf" auth="Container"
            <ResourceParams name="jdbc/intranetMail">

for security reason, I would like to Declare those Config parameter in a 
property file
and create progamatically my DataSource object before putting them in the 
that will be accessed within JNDI.

I use common DBCP

has someon tried this.

thankx to help


L'integrite de ce message n'etant pas assuree sur internet, Natexis
Banques Populaires ne peut etre tenu responsable de
son contenu. Toute utilisation ou diffusion non autorisee est
interdite. Si vous n'etes pas destinataire de ce message, merci de le
detruire et d'avertir l'expediteur.

The integrity of this message cannot be guaranteed
on the Internet. Natexis Banques Populaires can not therefore be
considered responsible for the contents.Any unauthorized use or dissemination is prohibited.
If you are not the intended recipient of this message, then please delete it and 
notify the sender.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message