Article View: borland.public.jbuilder.java.language
Article #15007IE 5 SecurityException using RMI
From: Jean-Francois Arcand
Date: Fri, 23 Jul 1999 00:00
Date: Fri, 23 Jul 1999 00:00
34 lines
2052 bytes
2052 bytes
Hi, I have an applet compiled with JBuilder2 who is using RMI to communicate with a RMI Server. When I'm running the applet under IE 4.0 with the Microsoft patch for RMI, It work fine. When I'm using IE 5, I have this error: com.ms.security.SecurityExceptionEx[java/rmi/registry/LocateRegistry.<clinit>]: Unable to access system property: java.rmi.registry.packagePrefix at com/ms/security/permissions/PropertyPermission.check at com/ms/security/PolicyEngine.shallowCheck at com/ms/security/PolicyEngine.checkCallersPermission at com/ms/security/StandardSecurityManager.chk at com/ms/security/StandardSecurityManager.checkPropertyAccess at java/lang/System.getProperty at java/rmi/registry/LocateRegistry.<clinit> at java/rmi/registry/LocateRegistry.getRegistry at com/timecontrol/rmiConnection/CommManager.createCommunicationManager at com/timecontrol/TimeControl.<init> at com/timecontrol/StartTimeControlApplet.btnStartTimeControl_actionPerformed at com/timecontrol/StartTimeControlApplet$1.actionPerformed at java/awt/Button.processActionEvent at java/awt/Button.processEvent at java/awt/Component.dispatchEventImpl at java/awt/Component.dispatchEvent at java/awt/EventDispatchThread.run Since It's an applet, of course the class will not be able to acces System.getProperty(). Any ideas on how to correct this error? -- Jeanfrancois
Technical Details
Message-ID:
<37987AF2.3E1A9A28@hmssoftware.ca>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,5b5010e75ffd8a01,start X-Google-Attributes: gidf74b3,public From: Jean-Francois Arcand <jf@hmssoftware.ca> Subject: IE 5 SecurityException using RMI Date: 1999/07/23 Message-ID: <37987AF2.3E1A9A28@hmssoftware.ca> X-Deja-AN: 504428993 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsabuse@remarQ.com X-Trace: 932743376.392.86 WMFHXAKMG30B2CEA7C qube-01.us-ca.remarq.com Organization: HMS MIME-Version: 1.0 NNTP-Posting-Date: Fri, 23 Jul 1999 15:22:56 GMT Newsgroups: borland.public.jbuilder.java.language