Hi,

i'm having problems using an external ldap with jboss 3.0.

In the jboss-service.xml i have this code :

<!-- Bind a remote LDAP server -->
<mbean code="org.jboss.naming.ExternalContext" name="DefaultDomain:service=ExternalContext,jndiName=external/ldap/ dscape" >
<attribute name="JndiName">external/ldap/dscape</attribute>
<attribute name="Properties">dscape.ldap</attribute>
<attribute name="InitialContext">javax.naming.ldap.InitialLdapContext</ attribute>
<attribute name="RemoteAccess">true</attribute>
</mbean>

and in the same directory i have the properties file dscape.ldap with this code:

java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
java.naming.provider.url=ldap://machinename:1938/o=trrt
java.naming.security.principal=cn=Directory Manager,o=trrt
java.naming.security.authentication=authname
java.naming.security.credentials=credname

should the dscape.ldap be in this directory (jboss-3.0.0_tomcat-4.0.3/server/ default/conf) ?


Thank you very much for your help

.david