Philip Wilson wrote:
>
> I gave up and defined the missing class on the EJBServer command line,
> seemed to fix the problem:
>
> java -Djava.naming.factory.initial=com.sun.jndi.rmi.registry.RegistryContext
> Factory etc
Hi Philip,
This is prove that the jndi.properties file is not accessible
from your CLASSPATH.
Indeed, the java.naming.factory.initial property have to be defined in
the
jndi.properties file.
Kind regards.
H�l�ne.
>
> -----Original Message-----
> From: Chris Humphrey <[EMAIL PROTECTED]>
> To: Jonas Users <[EMAIL PROTECTED]>
> Date: Tuesday, May 23, 2000 10:06 PM
> Subject: Re: Cannot start Naming Manager
>
> >
> >I have it in the classpath, (for sure). and the jndi.properties comes
> straight
> >from the cvs tree. Except I commented out
> >the jeremie and left in rmi.
> >
> >I have tried this using Jeremie with no positive results.
> >here is my jndi.properties file.
> >
> > ###################### JNDI configuration
> > # Please refer to the JNDI documentation for further details.
> > # You must adapt <hostname> and maybe the port number (1099 by
> default)
> > # depending on your configuration.
> >
> > # If you use Jeremie only
> > #java.naming.factory.initial
> >org.objectweb.jeremie.libs.services.registry.jndi.JRMIInitialContextFactory
> > #java.naming.provider.url jrmi://<hostname>:1099
> >
> > # if you use rmi only
> > java.naming.factory.initial
> com.sun.jndi.rmi.registry.RegistryContextFactory
> > java.naming.provider.url rmi://localhost:1099
> >
> > # In both cases
> > java.naming.factory.url.pkgs org.objectweb.jonas.naming
> >
> >
> >Philippe Durieux wrote:
> >
> >> Philip Wilson wrote:
> >> >
> >> > -----Original Message-----
> >> > From: Philippe Durieux <[EMAIL PROTECTED]>
> >> >
> >> > >This is a known pb that has been fixed in the cvs tree: YOu probably
> >> > >forgot to put jndi.properties in your CLASSPATH. In the next JOnAS
> >> > >version,
> >> > >the error message will be more explicit.
> >> >
> >> > I get exactly the same "cannot start Naming Manager" problem even when
> I
> >> > ensure that jndi.properties is in my classpath, and wherever I run the
> EJB
> >> > server from. Any theories?
> >> >
> >> > JOnAS Server, version 2.0, running on rmi.
> >> > JOnAS: Cannot start Naming Manager
> >> > java.lang.NullPointerException
> >> > at
> >> > org.objectweb.jonas.naming.NamingManager.<init>(NamingManager.java:75
> >> > )
> >> > at org.objectweb.jonas.server.Server.main(Server.java:78)
> >> >
> >> > CLASSPATH is
> >> >
> c:\jdk1.2.2\lib\ejb.jar;c:\jdk1.2.2\lib\jta-spec1_0_1.jar;c:\jdk1.2.2\lib\jn
> >> >
> di.jar;c:\jdk1.2.2\lib\providerutil.jar;c:\jdk1.2.2\lib\rmiregistry.jar;c:\j
> >> >
> onas_jdk1.2\jndi.properties;c:\jdk1.2.2\lib\jdbc2_0-stdext.jar;c:\jonas_jdk1
> >> > .2;c:\jonas_jdk1.2\lib\jpp.jar;c:\jonas_jdk1.2lib\RMI_jonas.jar
> >> >
--
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
mailto:[EMAIL PROTECTED] http://www-frec.bull.com
Phone: 33.4.76.29.73.53 Fax: 33.4.76.29.76.00
Download our EJB Server JOnAS at http://www.bullsoft.com/ejb
_______________________________________________________________
----
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".