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
> >
> > ----
> > 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".
> Another possibility is that your jndi.properties is not correct.
>
> Philippe
> --
> Philippe Durieux ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Bull S.A - 1 rue de Provence - 38432 Echirolles Cedex France
> [EMAIL PROTECTED] http://www-frec.bull.com
> -> Download our EJBServer 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".
----
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".