BEA Logo BEA WebLogic Server Release 5.0

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

Troubleshooting applet/RMI problems

WebLogic's RMI has a limitation when hosting RMI implementations in applet clients, or more generally, in clients where the serialization classes are loaded from a non-system classloader. If you see an error message like this in running your applet, you have likely come up against this limitation:

  EnableReplaceObject failed.
  RMI implementations hosted by this VM should not be
  buried in data.

RMI implementations hosted on applet clients may fail to be serialized as RMI stubs if they are contained in objects for which WebLogic must depend upon Javasoft serialization. You should make sure the objects are at the top level.

In general, in applet clients, take care to pass RMI implementations at the top level!


Copyright © 2000 BEA Systems, Inc. All rights reserved.
Required browser: Netscape 4.0 or higher, or Microsoft Internet Explorer 4.0 or higher.
Last updated 03/29/1999