I also noticed that getClassLoader returns null for boostrap classes when running in
jsrvany (a JNI wrapper for making a java
application into a service from http://jsrvany.sourceforge.net ).
When I didn't use a bootstrap classpath, I got an unmarshalling exception getting some
stub classes. I then had to specify a
"-Djava.rmi.server.codebase=" After that, I found that the jsrvany didn't seem to
support Thread.getContextClassLoader() which
is used to get the initial context factory by the J2EE JNDI classes. Once I set the
main thread's classloader, everything was
fine. Jsrvany even gets around the 1.3 bug of logging off NT.
I only mention this story here because it might be the same in Netware VM. The above
might serve as a workaround for you.
John
Philippe Durieux wrote:
> [EMAIL PROTECTED] wrote:
> >
> > I did manage to make JOnAS 2.2.4 to run on JVM 1.2.2_006 on Novell NetWare 5.0.
>This means, I can start EJBServer and can
> > shut it down from JonasAdmin on another machine. Seems that EJBServer works. Then
>I tried to start up EJBServer with one
> > small bean (the SB example from JOnAS). I get the follwing error and don't know
>what to do. Does someone know help?
> >
> > JOnAS Server, version 2.2.4, running on rmi.
> > Mapping ConnectionManager jdbc:sybase:Tds:markus:2638/QUIPSY on jdbc_1
> > Cannot read the deployment descriptors 'ejb-jar.xml': org.objectweb.jonas_ejb.de
> > ployment.api.DeploymentDescException: Classloader is null
> > Cannot create containers : EJBServer halting
> > java: Class org.objectweb.jonas.server.Server exited with status 2
> I guess that getClassLoader() on Novell NetWare JVM implementation
> return null if
> the class loader is the bootstrap class loader ???
> This is the only reason I can see for your error message.
> In fact, we did not try jonas on Novell and I don't know if someone did
> it before ?
> I will try to change the code to work aroud this...
> --
> Philippe Durieux ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Bull - 1 rue de Provence - 38432 Echirolles Cedex France
> [EMAIL PROTECTED]
> -> Download our EJBServer at http://www.evidian.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".