directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schuhegger <>
Subject How to use ApacheDS as JNDI back-end and how to bind objects to java:comp/env ?
Date Sat, 05 Mar 2016 11:52:52 GMT

my question might be quite confused and my search results up to now did 
not lead to any fruitful results. Perhaps the list can help me here?

I want to use ApacheDS as the back-end for JNDI and I want to bind 
resources to the standard names under java:comp/env, but currently am 
not successful.

I have set-up an Embedded ApacheDS 2.0.0-M21 instance following the 
example here:

I can connect to ApacheDS via the com.sun.jndi.ldap.LdapCtxFactory SPI.

I only do not know how to bind resources to the standard java:comp/env 

Is this possible and if yes, could somebody point me to a few sample 
code lines?

Many thanks and best regards,

View raw message