tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trames <>
Subject Resource JDBC connection pooling USING LDAP
Date Fri, 13 Feb 2009 22:02:22 GMT

I have found lot of examples on how to set up JDBC connection pooling using
the <resource> tags in context.xml.

My goal is to NOT embed the database connection user name, password, or even
server url like it is shown below.   I have the ApacheDS LDAP server set up,
and would like to retrieve the credentials/server from that.

Is there a way to get the entire URL string from LDAP? Is there some other
way to do what I would like to do? Would I have to write my own Resource

<Resource name="jdbc/facdir" auth="Container"
 maxActive="100" maxIdle="30" maxWait="10000"
 validationQuery="Select 1" testOnBorrow="true"

View this message in context:
Sent from the Tomcat - User mailing list archive at

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

View raw message