Stub class not updated.
0 posts in topic
Flat View  Flat View

Posted By:   Damon_New
Posted On:   Saturday, June 23, 2001 04:18 PM

When I add new methods to my remote class and try to invoke them via an applet and have them return a Serialized object back to my applet, I get a java.rmi.UnmarshalException: invalid method hash. The first simple method that I defined which returns a string to the applet works fine. I was told that my possible problems could be: The receiver does not have the needed class file. The receiver and sender have different versions of the class file. Your stubs are out of date. How do I check for these problems? Also, how do I make sure that my Stub class is being compiled to correctly reflect my new method changes in my remote class?

Thanx... Damon

About | Sitemap | Contact