Rui Gil wrote:
>
> Hi !
>
> I'm trying to run JOnAS2.0 on rmi and I always get the
> following Exception :
>
> JOnAS Server, version 2.0, running on rmi.
> JOnAS: Cannot start Naming Manager
> java.lang.NullPointerException
> at org.objectweb.jonas.naming.NamingManager.<init>(NamingManager:75)
> at orj.objectweb.jonas.server.Server.main(Server.java:78)
>
> I've updated the jndi.properties file and the config.env file
> to my environment and successfully runned the registry
> service on the default port.
>
> What am I missing ?
>
> </Rui Gil>
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!
--
Philippe
Philippe Coq Groupe Bulll/BullSoft/OpenMaster Phone: (33) 04 76 29 78
49
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".