It looks to me like your rmi registry classpath can't find the the class file for the stub when deserializing it. IOW a lookup request has been made to the registry, it found the object, namely the home stub of your bean, but the rmi registry doesn't have access to the classes to deserialize it, thus the unmarshalling error. Make sure the classpath sees $JONAS_ROOT/examples/classes. hope this helps Till Gartner wrote: > Hi all, > > I set up a jonas server (on a linux box) and a client (on a win98 box). > When running my mini-client-program, the lookup fails. > So far I checked: > - The bean has been loaded (confirmed by JonasAdmin list & jndi) > - The stubs & skeletons have been generated (they hang around in a > directory on the server - that is in the classpath) > > That's what the stack looks like: > > C:\Projekte\Classes\MyContacts>java vossigroup.Contacts.MyContactsClient > javax.naming.CommunicationException. Root exception is > java.rmi.UnmarshalException: error unmarshalling return; nested exception is: > java.lang.ClassNotFoundException: > vossigroup.Contacts.JOnASMyContactsBeanMyContactsHome_Stub > java.lang.ClassNotFoundException: > vossigroup.Contacts.JOnASMyContactsBeanMyContactsHome_Stub > at > java.io.ObjectInputStream.inputObject(ObjectInputStream.java:981) > at > java.io.ObjectInputStream.readObject(ObjectInputStream.java:369) > at > java.io.ObjectInputStream.readObject(ObjectInputStream.java:232) > at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) > at > com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java > :95) > at > com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java > :105) > at javax.naming.InitialContext.lookup(InitialContext.java:354) > at > vossigroup.Contacts.MyContactsClient.main(MyContactsClient.java:34) > > Anyone out there that has a clue how to move on from here? > > Thank you for any tip, > -- Till. > > -- > Sent through GMX FreeMail - http://www.gmx.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".
begin:vcard n:Johns;Rich tel;work:306.4686 x-mozilla-html:TRUE org:Vignette adr:;;;;;; version:2.1 email;internet:[EMAIL PROTECTED] title:Senior Software Engineer fn:Rich Johns end:vcard
