I have a file SourceGroup.jar which is my ejb-jar file. It contains all 
the files it should.

In the same directory, I have a jonas.properties file with the single line:

jonas.beans.descriptors 
        SourceGroup.jar

I also put the absolute path to SourceGroup.jar in my CLASSPATH.

When I do this:

. config_env
EJBServer

I get this error:

[baruch@localhost SourceGroup]$ EJBServer
JOnAS Server, version 2.3, running on rmi.
Mapping ConnectionManager jdbc:mysql:///Genealogy on jdbc_1
      InvocationTargetException : java.rmi.RemoteException: failed to 
register bean to jndi; nested exception is:
        javax.naming.CommunicationException [Root exception is 
java.rmi.ServerException: RemoteException occurred in server thread; 
nested exception is:
        java.rmi.UnmarshalException: error unmarshalling arguments; nested 
exception is:
        java.lang.ClassNotFoundException: 
groovyj.genealogy.tables.JOnASSourceGroupHome_Stub]
Cannot create containers : EJBServer halting


EJBServer is claiming it can't find the class 
groovyj.genealogy.tables.JOnASSourceGroupHome_Stub, but it definitely is 
in the SourceGroup.jar file:

   4733 Thu May 31 20:55:12 EDT 2001 
groovyj/genealogy/tables/JOnASSourceGroupHome_Stub.class

and SourceGroup.jar is definitely in the CLASSPATH:

[baruch@localhost SourceGroup]$ echo $CLASSPATH
:/home/baruch/java/JONAS/examples/classes:/home/baruch/java/JONAS/config:
/usr/local/lib/idb.jar:/usr/local/lib/idbexmpl.jar:
/usr/local/lib/classes111.zip:/usr/lib/pgsql/jdbc6.5-1.2.jar:
/usr/interclient/interclient.jar:
/home/baruch/java/lib/mm.mysql-2.0.4-bin.jar:
/home/baruch/java/JONAS/lib/RMI_jonas.jar:
/home/baruch/java/ejb/SourceGroup/SourceGroup.jar


So does anyone have any idea what could possibly be causing EJBServer to 
not find the class?

Thanks,

--Rob


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