Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RMI and RCP
RMI and RCP [message #448604] Thu, 27 April 2006 17:59 Go to next message
Michael is currently offline MichaelFriend
Messages: 43
Registered: July 2009
Member
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 18:20 Go to previous messageGo to next message
Olivier Thomann is currently offline Olivier ThomannFriend
Messages: 518
Registered: July 2009
Senior Member
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 22:02 Go to previous message
Genady Beryozkin is currently offline Genady BeryozkinFriend
Messages: 410
Registered: July 2009
Senior Member
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: Tue Nov 05 16:22:14 GMT 2024

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

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

Back to the top