Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Eclipse with SecurityManager
Eclipse with SecurityManager [message #191785] Tue, 10 February 2004 08:09 Go to next message
Svata Dedic is currently offline Svata DedicFriend
Messages: 14
Registered: July 2009
Junior Member
Hello,

because of a legacy code, I need to have ProtectionDomain set on certain
libraries. So I tried to start Eclipse with a SecurityManager in place.
When I attempt to start Eclipse 3.0M6, weird things happen.
The Eclipse platform does not boot up, logging an exception:

java.io.FileNotFoundException:
/space/eclipse/3.0M6/eclipse/plugins/org.eclipse.ui_3.0.0/ic ons/full/progress
(Is a directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at
org.eclipse.osgi.framework.internal.defaultadaptor.BundleEnt ry$FileBundleEntry.getInputStream(BundleEntry.java:174)
at
org.eclipse.osgi.framework.internal.protocol.bundle.BundleUR LConnection.connect(BundleURLConnection.java:67)
at
org.eclipse.osgi.framework.internal.protocol.bundle.BundleUR LConnection.getInputStream(BundleURLConnection.java:206
at java.net.URL.openStream(URL.java:1006)
at
org.eclipse.ui.internal.progress.ProgressManager.getImageDat a(ProgressManager.java:730)

Of couse the said directory exists and is readable.

The arguments passed to the Platform are:
-Djava.security.policy=/tmp/all.policy -Djava.security.manager

The policy file reads:
grant {
permission java.security.AllPermission;
};

Does anyone use secured classloaders with 3.0 Eclipse ? Or does anyone
have a hint how to solve this issue ?

Thanks,
-Svata
Re: Eclipse with SecurityManager [message #191862 is a reply to message #191785] Tue, 10 February 2004 12:38 Go to previous message
Eclipse UserFriend
Originally posted by: pascal_rapicault.yahoo.fr

It looks like a bug, enter a bug report against equinox general

PaScaL
"Svatopluk Dedic" <svatopluk.dedic@systinet.com> a
Previous Topic:How to uninstall a plugin?
Next Topic:Tomcat Help
Goto Forum:
  


Current Time: Sun Sep 01 00:38:25 GMT 2024

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

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

Back to the top