Breit, R�diger wrote:
>
> Hi
>
> Trying to start EJBServer I get a "NullPointerException":
>
> JOnAS Server, version 2.0, running on rmi.
> main : 3:54:37:862 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)
>
> What is wrong here
>
> addition information
>
> 1. Configured JOnAs 2.0 for Windows NT 4 (SP5) with JDK 1.2, setting
> environment variables
> with:
>
> ----------------------------------------------------------------------------
> -----------------------
> SET JONAS_ROOT=E:\jonas_jdk1.2
> SET JDBCEXT_CLASSES=E:\jlib\jdbc2_0-stdext.jar
> SET EJB11_CLASSES=E:\jlib\ejb.jar
> SET JTA_CLASSES=E:\jlib\jta-spec1_0_1.jar
> SET JNDI_HOME=E:\jlib
> SET
> JNDI_CLASSES=%JNDI_HOME%\jndi.jar;%JNDI_HOME%\providerutil.jar;%JNDI_HOME%\r
> miregistry.jar
> SET ORACLE_CLASSES=E:\Orant8\jdbc\lib\classes111.zip
> SET XTRA_CLASSPATH=%JONAS_ROOT%
>
> REM Set jar libraries
> SET
> CLASSPATH=%EJB11_CLASSES%;%JTA_CLASSES%;%JNDI_CLASSES%;%ORACLE_CLASSES%
> REM include JOnAs libraries
> SET
> CLASSPATH=%CLASSPATH%;%JONAS_ROOT%;%JONAS_ROOT%\lib\jpp.jar;%JONAS_ROOT%\lib
> \RMI_jonas.jar
> REM for Jeremie add: %JONAS_ROOT%\lib\JEREMIE_jonas.jar;
> SET OBJECTWEB_ORB=RMI
> ----------------------------------------------------------------------------
> -----------------------
>
> 2. rmiregistry is running (localhost)
>
> 3. in jndi.properties I set
> ----------------------------------------------------------------------------
> ------------------------
> # 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
> ----------------------------------------------------------------------------
> ----------------------------
>
> Thanks in advance
>
> ----------------------------------------------------------------------------
> --------------
> Dipl Psych. R�diger Breit Systema GmbH
> Tel.: +49 941 78392-31
> Fax.: +49 941 78392-72
> e-mail: [EMAIL PROTECTED]
> ----------------------------------------------------------------------------
You have not set the jndi.properties file or it is not accessible via
the CLASSPATH.
It is a known bug that will be fixed in the next release
--
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".