|
bind external LDAP context into jboss3.0 server JNDI context: msg#00307java.jboss.user
Hi
I am following the Jboss document for federating external LDAP into Jboss JNDI context using ExternalContext MBean. From JNDIView MBean, I can see the service=ExternalContext is registed under right jndiName in the DefaultDomain. But I can't see the external LDAP contents. Is something wrong already here? I wrote a very simple bean and deployed into the jboss. The part of the code looks as following:
When it executes getAttributes(), it throws "java.rmi.ServerException: Naming lookup failure: Not an instance of DirContext". The attached is the ldap-service.xml for deploying external LDAP through ExternalContext MBean. One thing I am not sure in this file is the Properties attribute. I tried all values I can think of, such as file:///SAAS_Home/config/saas_ldap.properties, C:/SAAS_Home/config/saas_ldap.properties, c:\\SAAS_Home\\config\\saas_ldap.properties, file:/C:/SAAS_Home/config/saas_ldap.properties
-Minsheng
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: OracleDS binding on 3.0.1RC1?, Bob Cotton |
|---|---|
| Next by Date: | RE: OracleDS binding on 3.0.1RC1?, Brian Topping |
| Previous by Thread: | RE: [SOLVED] OracleDS binding on 3.0.1RC1?, Brian Topping |
| Next by Thread: | JBoss 3.0 Quick Guide, Andreas Schaefer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |