Hi,

Have you created the jndi.properties file with the following properties:
java.naming.factory.initial     com.sun.jndi.rmi.registry.RegistryContextFactory
java.naming.provider.url        rmi://<hostname>:<numport
java.naming.factory.url.pkgs    org.objectweb.jonas.naming

But it is a bug to output such a dirty message : java.lang.NullPointerException
We will fix it.
I hope it helps !

H�l�ne.

Kenny Liew wrote:
> 
> Hi Helene,
> 
> Sorry about the ealier message.  I got that message because jdk1.2.2 was not in my
> path.  Got that sorted out but now I'm getting a different message:
> 
> 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)
> 
> Any ideas?
> 
> Regards,
> Kenny.
> 
> Helene JOANIN wrote:
> 
> > Kenny wrote:
> > Hi,
> >
> > It seems that you forget to update the $JONAS_ROOT/bin/config.env
> > script file as it is described in the chapter 'Prerequired classes'
> > in the "Installation Guide".
> > Insteed, java.rmi.server.UnicastRemoteObject is a class of the
> > JNDI package.
> >
> > Best regards.
> > H�l�ne.
> >
> > >
> > > Hi,
> > >
> > > I'm new to Java and Linux so sorry about the newbie question.  I have
> > > downloaded and installed Jonas for jdk1.2 on my redhat 6.1 machine with
> > > jdk1.2.2 installed.  When I tried "./EJBServer &", I get the following
> > > error message:
> > >
> > > java.lang.ExceptionInInitializerError: [exception was
> > > java.lang.NoClassDefFoundError: java/rmi/server/UnicastRemoteObject]
> > > at java.lang.Throwable.<init>(Throwable.java:40)
> > > at java.lang.Error.<init>(Error.java:21)
> > > at java.lang.LinkageError.<init>(LinkageError.java:21)
> > > at
> > > java.lang.ExceptionInInitializerError.<init>(ExceptionInInitializerError.java:25)
> > >
> > > Any help would be greatly appreciated, even pointers to some
> > > documentation perhaps.  Thanks in advance.
> > >
> >
> > --
> > -=- 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
> > _______________________________________________________________

-- 
-=- 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".

Reply via email to