[jboss-jira] [JBoss JIRA] Created: (JBOSGI-40) Cannot run embedded tests with SecurityManager

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Tue Mar 3 16:01:34 EST 2009


Cannot run embedded tests with SecurityManager
----------------------------------------------

                 Key: JBOSGI-40
                 URL: https://jira.jboss.org/jira/browse/JBOSGI-40
             Project: JBoss OSGi
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Framework
            Reporter: Thomas Diesler
            Assignee: Thomas Diesler
             Fix For:  JBossOSGi 1.0.x


It seem that this is related to the presents of a SecurityManager. 

Running org.jboss.test.osgi.jbosgi38.OSGI38TestCase
java.lang.NoClassDefFoundError: org.osgi.vendor.framework property not set
	at org.osgi.framework.AdminPermission$ImplHolder.run(AdminPermission.java:166)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.osgi.framework.AdminPermission$ImplHolder.<clinit>(AdminPermission.java:153)
	at org.osgi.framework.AdminPermission.<init>(AdminPermission.java:279)
	at org.apache.felix.framework.Felix.installBundle(Felix.java:2379)
	at org.apache.felix.framework.Felix.installBundle(Felix.java:2278)
	at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:122)
	at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:108)
	at org.jboss.test.osgi.jbosgi38.OSGI38TestCase.testInstallStartX(OSGI38TestCase.java:59)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list