I'm just wondering if anyone has had any luck solving or answering the
following questions
except I am runnign on linux.
Thanks
Dan
Axe Online
> Background...
>
> I would like to have JOnAS 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 JOnAS support an LDAP JNDI Service Provider?
>
> Question 2. Can JOnAS support the scenario I have described above?
>
> 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.objectweb.jonas.naming
>
> when I did this, JOnAS reported the following on startup:
>
> Jonas$ EJBServer
> JOnAS Server, version 2.0, running on rmi.
> main : 0:28:11:136 TransactionService: Cannot rebind
> TM:javax.naming.InvalidNameException: TMFactory: [LDAP: error code 34 -
> 0000208F: NameErr: DSID-031001B6, problem 2006 (BAD_NAME), data 8350, best
> match of: 'TMFactory' ]; remaining name 'TMFactory'
> main : 0:28:11:136 JOnAS: Cannot start Transaction Service
> javax.naming.InvalidNameException: TMFactory: [LDAP: error code 34 -
> 0000208F: NameErr: DSID-031001B6, problem 2006 (BAD_NAME), data 8350, best
> match of:
> 'TMFactory' ]; remaining name 'TMFactory'
> at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
> at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
> at com.sun.jndi.ldap.LdapCtx.c_getAttributes(Unknown Source)
> at com.sun.jndi.ldap.LdapCtx.c_rebind(Unknown Source)
> at com.sun.jndi.ldap.LdapCtx.c_rebind(Unknown Source)
> at com.sun.jndi.toolkit.ctx.ComponentContext.p_rebind(Unknown
> Source)
> at com.sun.jndi.toolkit.ctx.PartialCompositeContext.rebind(Unknown
> Source)
> at com.sun.jndi.toolkit.ctx.PartialCompositeContext.rebind(Unknown
> Source)
> at javax.naming.InitialContext.rebind(Unknown Source)
> at
> org.objectweb.jonas.naming.NamingManager.rebind(NamingManager.java:226)
> at
> org.objectweb.jonas.jtm.TransactionService.<init>(TransactionService.java:
> 66)
> at org.objectweb.jonas.server.Server.main(Server.java:89)
> Jonas$
>
> Thanks!
>
> Mark H. McLain
> Systems Developer
> Sybron Laboratory Products Corporation (SLPC)
>
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".