[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [equinox-dev] security manager broken in trunk
|
Hi Ray,
Try launching eclipse with a larger VM size:
e.g. eclipse -vmargs -Xms512m -Xmx1024m
See also: http://www.ibm.com/support/docview.wss?uid=swg21327130
Raymond Auge ---04/09/2012 12:17:06---From: Raymond Auge <raymond.auge@xxxxxxxxxxx> To: Equinox development mailing list <equinox-dev@xxxxxxxxxxx>,
From: Raymond Auge <raymond.auge@xxxxxxxxxxx>
To: Equinox development mailing list <equinox-dev@xxxxxxxxxxx>,
Date: 04/09/2012 12:17
Subject: [equinox-dev] security manager broken in trunk
Sent by: equinox-dev-bounces@xxxxxxxxxxx
Hey All,
It would seem that I get a stackoverflow exception when I enable security:
properties.put(Constants.FRAMEWORK_STORAGE, PropsValues.OSGI_FRAMEWORK_STORAGE);
Here is the shortest log fragment showing the stack loop:
Exception in thread "Thread-1" java.lang.StackOverflowError
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:386)
at org.eclipse.osgi.internal.permadmin.EquinoxSecurityManager.internalCheckPermission(EquinoxSecurityManager.java:117)
at org.eclipse.osgi.internal.permadmin.EquinoxSecurityManager$CheckPermissionAction.run(EquinoxSecurityManager.java:60)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.permadmin.EquinoxSecurityManager.checkPermission(EquinoxSecurityManager.java:88)
at org.eclipse.osgi.internal.permadmin.EquinoxSecurityManager.checkPermission(EquinoxSecurityManager.java:186)
at java.security.ProtectionDomain.seeAllp(ProtectionDomain.java:311)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext$2.run(AccessControlContext.java:388)
at java.security.AccessControlContext$2.run(AccessControlContext.java:386)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:386)
at org.eclipse.osgi.internal.permadmin.EquinoxSecurityManager.internalCheckPermission(EquinoxSecurityManager.java:117)
at org.eclipse.osgi.internal.permadmin.EquinoxSecurityManager$CheckPermissionAction.run(EquinoxSecurityManager.java:60)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.permadmin.EquinoxSecurityManager.checkPermission(EquinoxSecurityManager.java:88)
at org.eclipse.osgi.internal.permadmin.EquinoxSecurityManager.checkPermission(EquinoxSecurityManager.java:186)
at java.security.ProtectionDomain.seeAllp(ProtectionDomain.java:311)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext$2.run(AccessControlContext.java:388)
at java.security.AccessControlContext$2.run(AccessControlContext.java:386)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:386)
at org.eclipse.osgi.internal.permadmin.EquinoxSecurityManager.internalCheckPermission(EquinoxSecurityManager.java:117)
Thoughts?
--
Raymond Augé | Senior Software Architect | Liferay, Inc.
---
25 Apr 2012 | Liferay Nordic Symposium | liferay.com/nordic2012 NEW!
17 May 2012 | Liferay Budapest Symposium | liferay.com/budapest2012
23 May 2012 | Liferay France Symposium | liferay.com/france2012
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev