Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RMI and RCP
RMI and RCP [message #448604] Thu, 27 April 2006 13:59 Go to next message
Eclipse UserFriend
Hi,
I'm trying to write an RCP client application which uses RMI - but I'm
running into security policy issues.

I'm getting the following error:
Unhandled event loop exception
Reason:
access denied (java.net.SocketPermission 128.xxx.xx.xxx:2490
connect,resolve)

The problem is I'm not sure which policy file my RCP application is
reading from. In the Run->Run... window I set the "Program Arguments"
field to
-Djava.security.manager -Djava.security.policy=C:\Program
Files\Java\jdk1.5.0_06\jre\lib\security\java.policy

but this doesn't seem to have any affect.

any help is appreciated

thanks,
michael
Re: RMI and RCP [message #448666 is a reply to message #448604] Thu, 27 April 2006 14:20 Go to previous messageGo to next message
Eclipse UserFriend
Michael a écrit :
> The problem is I'm not sure which policy file my RCP application is
> reading from. In the Run->Run... window I set the "Program Arguments"
> field to
> -Djava.security.manager -Djava.security.policy=C:\Program
> Files\Java\jdk1.5.0_06\jre\lib\security\java.policy
Don't you need " around a path with spaces in it?
--
Olivier
Re: RMI and RCP [message #448720 is a reply to message #448604] Sat, 29 April 2006 18:02 Go to previous message
Eclipse UserFriend
You can read my thoughts and my attempt to help at
http://www.genady.net/forum/viewtopic.php?t=205

If you find anything helpful or have other ideas there feel free to add
them to the post.

Genady Beryozkin
http://www.genady.net/



Michael wrote:
> Hi,
> I'm trying to write an RCP client application which uses RMI - but I'm
> running into security policy issues.
>
> I'm getting the following error:
> Unhandled event loop exception
> Reason:
> access denied (java.net.SocketPermission 128.xxx.xx.xxx:2490
> connect,resolve)
>
> The problem is I'm not sure which policy file my RCP application is
> reading from. In the Run->Run... window I set the "Program Arguments"
> field to
> -Djava.security.manager -Djava.security.policy=C:\Program
> Files\Java\jdk1.5.0_06\jre\lib\security\java.policy
>
> but this doesn't seem to have any affect.
>
> any help is appreciated
>
> thanks,
> michael
>
>
Previous Topic:Unwanted Menu & Toolbar Entries
Next Topic:place view independent of a perspective
Goto Forum:
  


Current Time: Sun Aug 31 23:29:45 EDT 2025

Powered by FUDForum. Page generated in 0.03186 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top