tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Gerdes <sebastian.ger...@informatik.uni-oldenburg.de>
Subject Re: JDNI Resource not reusable
Date Fri, 08 Aug 2008 11:00:12 GMT

Hello,
to whom it may concern, I solved this problem in another way. In the
ContextFactory I only return an
InitialDirContext. The class which wants to connect to the LDAP uses
this InitialDirContext, looks up the environment and connects to the
LDAP.

You can find the source code at:
http://sourceforge.net/projects/drfox/

Unzip and go to /drfox-1.0/src/WEB-INF/src/drfox/logic/

DRFoxContextfactory.java
DRFoxAdministrator.java --> method searchUsers()

I don't know, if this is the best solution but it works like a charm.

Regards,
Sebastian

- --
*******************************************************
Universität Oldenburg - Department für Informatik

Sebastian Gerdes
PGP/GPG:  0xF50268FF
*******************************************************
-- 
View this message in context: http://www.nabble.com/JDNI-Resource-not-reusable-tp14297571p18889857.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message