Although, I did set the jndi.properties file, and added it into the CLASSPATH,
and I still cannot get to it.
I am including my jndi.properties file, and my classpath, please let me know what
is wrong here, I cannot find anything.
JONAS_ROOT=c:\jonas_jdk1.2
CLASSPTH=c:\jonas_jdk1.2;c:\jonas_jdk1.2\examples\src;\lang\idb\classes\idb.jar;
\lang\idb\classes\idbexmpl.jar;\lang\idb\classes\idbf.jar;\lang\ejb\classes12.zip;
\lang\ejb\jndi.jar;\lang\ejb\providerutil.jar;\lang\ejb\rmiregistry.jar;
\lang\ejb\jta-spec1_0_1.jar;\lang\ejb\jdbc2_0-stdext.jar;c:\jonas_jdk1.2\lib\RMI_jonas.jar;
c:\jonas_jdk1.2\lib\ejb.jar
the jndi.properties files is in c:\jonas_jdk1.2 and looks like:
java.naming.factory.initial com.sun.jndi.rmi.registry.RegistryContextFactory
java.naming.provider.url rmi://localhost:1099
java.naming.factory.url.pkgs org.objectweb.jonas.naming
I have been working on this problem for weeks now, its going to drive me nuts!
The only way I can get the server started is to start it up in the jonas root
directory. Is there a patch I can download or build until the next version of
jonas comes out?
H�l�ne JOANIN wrote:
> Hello,
>
> 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.
>
> Kind regards.
> H�l�ne.
>
> Rich Isaac wrote:
> >
> > I am trying to run the example session bean using JOnAS_JDK1.2 on linux
> > configured for RMI. When I try to start the EJBServer I get the following
> > exception. I think I have all the required JARs and properties files. Any
> > suggestions would be appreciated.
> > ----------
> >
> > > JOnAS Server, version 2.0, running on rmi.
> > > JOnAS: Cannot start Naming Manager
> > > java.lang.NullPointerException
> > > at org.objectweb.jonas.server.Server.main(Server.java, Compiled
> > > Code)
> > >
>
> --
> -=- 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".
----
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".