The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

RMI Security Exception: "Not a trusted class" pls pls help

Posted by lucas on February 07, 2002 at 1:52 AM

I've just started an HelloWorldlike aplication on a RMI servee-client model.

Using appletviewer works just fine (looking up on "//mydomain/myobject"). but when i use IExplorer for example it raises a sec exception:("Not a trusted class")
And I know why it raises it because when i try to Namin.lookup(...) the RMI sistem tries the following thing on the ObjectInputStream:
"protected final boolean enableResolveObject( boolean enable )"
that thows the error described above because I suppose the **_Stub.class is loaded remotely??? or why?

Please help, thank you.






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us