I had the same problem. You are probably using the IBM JDK/JRE1.3 for Linux,
which produces this error. I don't know exactly why, but if you use the
JRE1.3 from SUN it works just fine. I guess it's a classloader related
problem???

I changed all the lines in the startup scripts starting with 'java ...' to
'$JAVA_HOME/bin/java ...'  and simply change $JAVA_HOME before calling the
server, as in all other occasions the JDK from IBM seems to work much
faster.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jean-Philippe
SCHALLER
Sent: Montag, 5. Februar 2001 16:23
To: [EMAIL PROTECTED]
Subject: Cannot start Jonas : ClassNotFoundException


Hi,
After successfully testing jonas under Windows 2000 I have to install it on
a Linux/Unix platform.

Installation was done in no time, but now I have the following problem :

when I launch the EJBServer script, an exception occurs :

Cannot rebind UserTransaction:javax.naming.ConfigurationException [Root
exception is java.rmi.StubNotFoundException: Stub class not found:
com.sun.jndi.rmi.registry.ReferenceWrapper_Stub; nested exception is:
        java.lang.ClassNotFoundException:
com/sun/jndi/rmi/registry/ReferenceWrapper_Stub]
JOnAS: Cannot start Transaction Service : EJBServer halting

my classpath is the following :


/home/jps/JONAS:/home/jps/JONAS/lib/jms.jar:/home/jps/JONAS/lib/postgresql.j
ar:/home/jps/JONAS/lib/jndi.jar:/home/jps/JONAS/lib/providerutil.jar:/home/j
ps/JONAS/lib/rmiregistry.jar:/home/jps/JONAS/lib/RMI_jonas.jar:/home/jps/JON
AS/lib/jta.jar

It is the same for the rmiregistry program and the server.
I really don't understand what is wrong, as the class sought by Jonas is
present in the classpath (in rmiregistry.jar)
Has anyone any idea about that ?
Thanks a lot.


Jean-Philippe SCHALLER
[EMAIL PROTECTED] - http://www.modelmadz.net


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

Reply via email to