Hi,
when I try to run my first client program for my first Enterprise Bean,
I get following exception:
javax.naming.CommunicationException. Root exception is
java.rmi.UnmarshalException: error unmarshalling return; nested
exception is:
java.lang.ClassNotFoundException:
de.schlund.hades.hallo.JOnASHalloBeanHalloHome_Stub
java.lang.ClassNotFoundException:
de.schlund.hades.hallo.JOnASHalloBeanHalloHome_Stub
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java,
Compiled Code)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java,
Compiled Code)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java,
Compiled Code)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at
com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java,
Compiled Code)
at
com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java,
Compiled Code)
at javax.naming.InitialContext.lookup(InitialContext.java,
Compiled Code)
at de.schlund.hades.hallo.HalloClient.main(HalloClient.java,
Compiled Code)
JOnASHalloBeanHalloHome_Stub.class is located in the directory where I
start the EJBServer and the client programm and also in the proper
directory for this package and in the jar-file with the classpath on
this jar-file. But it is still not found!
Do I need to set some internal classpath for JOnAS just like in jserv?
(rmiregistry works, the EJBServer starts without problems telling me
EJBHome:de.schlund.hades.hallo.JOnASHalloBeanHalloHome for HalloBean
available
)
Can anyone help me?
Dirk
--
Dirk Haase mailto: [EMAIL PROTECTED]
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".