Eclipse with SecurityManager [message #191785] |
Tue, 10 February 2004 03:09  |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.08637 seconds