Hi!
"McLain, Mark" wrote:
> > I would like to have JBoss store its object references in a Win2000 Active
> > Directory via a JNDI LDAP service provider. I would also like to have my
> > client applications access these same object references via a JNDI LDAP
> > service provider.
> >
> > Question 1. Does JBoss support an LDAP JNDI Service Provider?
No, since a LDAP service provides a DirContext and not a Context.
Different naming style, so won't work. Any other kind of naming should
work though.
> > Question 2. Can JBoss support the scenario I have described above?
No, for above reason. There are two kinds of naming systems, and jBoss
uses the hierarchical naming one, not the directory one as LDAP is.
> > Question 3. If the answer to Question 2 is "Yes", what are the general
> > steps to accomplish the scenario?
> >
> > Note: I tried setting the jndi.properties file as shown below:
> >
> > java.naming.factory.initial com.sun.jndi.ldap.LdapCtxFactory
> > java.naming.provider.url ldap://myldaphost:389
> > java.naming.factory.url.pkgs=org.jboss.naming
That would be the general approach if you want to use another *valid*
JNDI provider. Keep in mind that we need the url.pkgs to still include
org.jboss.naming because of the "java:" namespace, for which we had to
tightly bind the EJB container to our implementation.
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]