I found the solution to my program.
The classes must be in CLASSPATH of registry AND EJBServer.
I set my classpath and started EJBServer, but it was not in the classpath
of registry.
On Thu, 28 Dec 2000, Son To wrote:
> GenIC produced Stub and Skel classes from the deployment descriptor
> but I get the following error message when running EJBServer:
>
> ---
> JOnAS Server, version 2.2.4, running on rmi.
> 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: JOnASMathHome_Stub]
> Cannot create containers : EJBServer halting
>
> ---
>
> I start the registry and run EJBServer. JOnASMathHome_Stub.class is in my
> CLASSPATH. I do not know why it is having trouble finding
> JOnASMathHome_Stub.
>
> thanks for any help,
> son
>
> ----
> 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".