You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christophe Lallement (JIRA)" <ji...@codehaus.org> on 2006/10/20 10:17:20 UTC
[jira] Created: (MSUREFIRE-176) Failed to load test:
java.security.AccessControlException:
Failed to load test: java.security.AccessControlException:
----------------------------------------------------------
Key: MSUREFIRE-176
URL: http://jira.codehaus.org/browse/MSUREFIRE-176
Project: Maven 2.x Surefire Plugin
Issue Type: Bug
Components: classloading
Affects Versions: 2.2
Environment: windows XP SP1 and linux AS 4
maven 2.0.4
jdk 1.5.0_06/09
Reporter: Christophe Lallement
We try to load a testsuite with a test case wich start a RMI server and we have this error:
> mvn test
Running deai.tt.rhino.cache.mgr.CommonCacheManagerTest
INFO: Created RMIRegistry on port: 10098
org.apache.maven.surefire.booter.SurefireExecutionException: deai.tt.rhino.cache.mgr.CommonCacheManagerTest; nested exception is java.security.AccessControlException: access denied (java.lang.RuntimePermission setIO); nested exception is org.apache.maven.surefire.testset.TestSetFailedException: deai.tt.rhino.cache.mgr.CommonCacheManagerTest; nested exception is java.security.AccessControlException: access denied (java.lang.RuntimePermission setIO)
org.apache.maven.surefire.testset.TestSetFailedException: deai.tt.rhino.cache.mgr.CommonCacheManagerTest; nested exception is java.security.AccessControlException: access denied (java.lang.RuntimePermission setIO)
java.security.AccessControlException: access denied (java.lang.RuntimePermission setIO)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.System.checkIO(System.java:208)
at java.lang.System.setOut(System.java:148)
at org.apache.maven.surefire.report.ReporterManager.resetStreams(ReporterManager.java:313)
at org.apache.maven.surefire.report.ReporterManager.testFailed(ReporterManager.java:291)
at org.apache.maven.surefire.report.ReporterManager.testError(ReporterManager.java:276)
at org.apache.maven.surefire.junit.TestListenerInvocationHandler.handleAddError(TestListenerInvocationHandler.java:163)
at org.apache.maven.surefire.junit.TestListenerInvocationHandler.invoke(TestListenerInvocationHandler.java:134)
at $Proxy0.addError(Unknown Source)
at junit.framework.TestResult.addError(TestResult.java:36)
at junit.framework.TestResult.runProtected(TestResult.java:133)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:160)
at org.apache.maven.surefire.Surefire.run(Surefire.java:81)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:182)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:743)
[INFO] ------------------------------------------------------------------------
I suppose it's a pb of java policy ?
Any idea
Thx
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (SUREFIRE-170) Failed to load test:
java.security.AccessControlException:
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated SUREFIRE-170:
----------------------------------
Affects Version/s: 2.0 (2.2 plugin)
Component/s: classloading
> Failed to load test: java.security.AccessControlException:
> ----------------------------------------------------------
>
> Key: SUREFIRE-170
> URL: http://jira.codehaus.org/browse/SUREFIRE-170
> Project: Maven Surefire
> Issue Type: Bug
> Components: classloading
> Affects Versions: 2.0 (2.2 plugin)
> Environment: windows XP SP1 and linux AS 4
> maven 2.0.4
> jdk 1.5.0_06/09
> Reporter: Christophe Lallement
>
> We try to load a testsuite with a test case wich start a RMI server and we have this error:
> > mvn test
> Running deai.tt.rhino.cache.mgr.CommonCacheManagerTest
> INFO: Created RMIRegistry on port: 10098
> org.apache.maven.surefire.booter.SurefireExecutionException: deai.tt.rhino.cache.mgr.CommonCacheManagerTest; nested exception is java.security.AccessControlException: access denied (java.lang.RuntimePermission setIO); nested exception is org.apache.maven.surefire.testset.TestSetFailedException: deai.tt.rhino.cache.mgr.CommonCacheManagerTest; nested exception is java.security.AccessControlException: access denied (java.lang.RuntimePermission setIO)
> org.apache.maven.surefire.testset.TestSetFailedException: deai.tt.rhino.cache.mgr.CommonCacheManagerTest; nested exception is java.security.AccessControlException: access denied (java.lang.RuntimePermission setIO)
> java.security.AccessControlException: access denied (java.lang.RuntimePermission setIO)
> at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
> at java.security.AccessController.checkPermission(AccessController.java:427)
> at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
> at java.lang.System.checkIO(System.java:208)
> at java.lang.System.setOut(System.java:148)
> at org.apache.maven.surefire.report.ReporterManager.resetStreams(ReporterManager.java:313)
> at org.apache.maven.surefire.report.ReporterManager.testFailed(ReporterManager.java:291)
> at org.apache.maven.surefire.report.ReporterManager.testError(ReporterManager.java:276)
> at org.apache.maven.surefire.junit.TestListenerInvocationHandler.handleAddError(TestListenerInvocationHandler.java:163)
> at org.apache.maven.surefire.junit.TestListenerInvocationHandler.invoke(TestListenerInvocationHandler.java:134)
> at $Proxy0.addError(Unknown Source)
> at junit.framework.TestResult.addError(TestResult.java:36)
> at junit.framework.TestResult.runProtected(TestResult.java:133)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:160)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:81)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:182)
> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:743)
> [INFO] ------------------------------------------------------------------------
> I suppose it's a pb of java policy ?
> Any idea
> Thx
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (SUREFIRE-170) Failed to load test:
java.security.AccessControlException:
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter closed SUREFIRE-170.
---------------------------------
Assignee: Brett Porter
Resolution: Duplicate
Fix Version/s: (was: 2.3)
> Failed to load test: java.security.AccessControlException:
> ----------------------------------------------------------
>
> Key: SUREFIRE-170
> URL: http://jira.codehaus.org/browse/SUREFIRE-170
> Project: Maven Surefire
> Issue Type: Bug
> Components: classloading
> Affects Versions: 2.0 (2.2 plugin)
> Environment: windows XP SP1 and linux AS 4
> maven 2.0.4
> jdk 1.5.0_06/09
> Reporter: Christophe Lallement
> Assigned To: Brett Porter
>
> We try to load a testsuite with a test case wich start a RMI server and we have this error:
> > mvn test
> Running deai.tt.rhino.cache.mgr.CommonCacheManagerTest
> INFO: Created RMIRegistry on port: 10098
> org.apache.maven.surefire.booter.SurefireExecutionException: deai.tt.rhino.cache.mgr.CommonCacheManagerTest; nested exception is java.security.AccessControlException: access denied (java.lang.RuntimePermission setIO); nested exception is org.apache.maven.surefire.testset.TestSetFailedException: deai.tt.rhino.cache.mgr.CommonCacheManagerTest; nested exception is java.security.AccessControlException: access denied (java.lang.RuntimePermission setIO)
> org.apache.maven.surefire.testset.TestSetFailedException: deai.tt.rhino.cache.mgr.CommonCacheManagerTest; nested exception is java.security.AccessControlException: access denied (java.lang.RuntimePermission setIO)
> java.security.AccessControlException: access denied (java.lang.RuntimePermission setIO)
> at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
> at java.security.AccessController.checkPermission(AccessController.java:427)
> at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
> at java.lang.System.checkIO(System.java:208)
> at java.lang.System.setOut(System.java:148)
> at org.apache.maven.surefire.report.ReporterManager.resetStreams(ReporterManager.java:313)
> at org.apache.maven.surefire.report.ReporterManager.testFailed(ReporterManager.java:291)
> at org.apache.maven.surefire.report.ReporterManager.testError(ReporterManager.java:276)
> at org.apache.maven.surefire.junit.TestListenerInvocationHandler.handleAddError(TestListenerInvocationHandler.java:163)
> at org.apache.maven.surefire.junit.TestListenerInvocationHandler.invoke(TestListenerInvocationHandler.java:134)
> at $Proxy0.addError(Unknown Source)
> at junit.framework.TestResult.addError(TestResult.java:36)
> at junit.framework.TestResult.runProtected(TestResult.java:133)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:160)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:81)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:182)
> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:743)
> [INFO] ------------------------------------------------------------------------
> I suppose it's a pb of java policy ?
> Any idea
> Thx
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (SUREFIRE-170) Failed to load test:
java.security.AccessControlException:
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated SUREFIRE-170:
----------------------------------
Fix Version/s: 2.3
> Failed to load test: java.security.AccessControlException:
> ----------------------------------------------------------
>
> Key: SUREFIRE-170
> URL: http://jira.codehaus.org/browse/SUREFIRE-170
> Project: Maven Surefire
> Issue Type: Bug
> Components: classloading
> Affects Versions: 2.0 (2.2 plugin)
> Environment: windows XP SP1 and linux AS 4
> maven 2.0.4
> jdk 1.5.0_06/09
> Reporter: Christophe Lallement
> Fix For: 2.3
>
>
> We try to load a testsuite with a test case wich start a RMI server and we have this error:
> > mvn test
> Running deai.tt.rhino.cache.mgr.CommonCacheManagerTest
> INFO: Created RMIRegistry on port: 10098
> org.apache.maven.surefire.booter.SurefireExecutionException: deai.tt.rhino.cache.mgr.CommonCacheManagerTest; nested exception is java.security.AccessControlException: access denied (java.lang.RuntimePermission setIO); nested exception is org.apache.maven.surefire.testset.TestSetFailedException: deai.tt.rhino.cache.mgr.CommonCacheManagerTest; nested exception is java.security.AccessControlException: access denied (java.lang.RuntimePermission setIO)
> org.apache.maven.surefire.testset.TestSetFailedException: deai.tt.rhino.cache.mgr.CommonCacheManagerTest; nested exception is java.security.AccessControlException: access denied (java.lang.RuntimePermission setIO)
> java.security.AccessControlException: access denied (java.lang.RuntimePermission setIO)
> at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
> at java.security.AccessController.checkPermission(AccessController.java:427)
> at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
> at java.lang.System.checkIO(System.java:208)
> at java.lang.System.setOut(System.java:148)
> at org.apache.maven.surefire.report.ReporterManager.resetStreams(ReporterManager.java:313)
> at org.apache.maven.surefire.report.ReporterManager.testFailed(ReporterManager.java:291)
> at org.apache.maven.surefire.report.ReporterManager.testError(ReporterManager.java:276)
> at org.apache.maven.surefire.junit.TestListenerInvocationHandler.handleAddError(TestListenerInvocationHandler.java:163)
> at org.apache.maven.surefire.junit.TestListenerInvocationHandler.invoke(TestListenerInvocationHandler.java:134)
> at $Proxy0.addError(Unknown Source)
> at junit.framework.TestResult.addError(TestResult.java:36)
> at junit.framework.TestResult.runProtected(TestResult.java:133)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:160)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:81)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:182)
> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:743)
> [INFO] ------------------------------------------------------------------------
> I suppose it's a pb of java policy ?
> Any idea
> Thx
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Moved: (SUREFIRE-170) Failed to load test:
java.security.AccessControlException:
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter moved MSUREFIRE-176 to SUREFIRE-170:
-------------------------------------------------
Affects Version/s: (was: 2.0 (2.2 plugin))
Component/s: (was: classloading)
Key: SUREFIRE-170 (was: MSUREFIRE-176)
Project: Maven Surefire (was: Maven 2.x Surefire Plugin)
> Failed to load test: java.security.AccessControlException:
> ----------------------------------------------------------
>
> Key: SUREFIRE-170
> URL: http://jira.codehaus.org/browse/SUREFIRE-170
> Project: Maven Surefire
> Issue Type: Bug
> Environment: windows XP SP1 and linux AS 4
> maven 2.0.4
> jdk 1.5.0_06/09
> Reporter: Christophe Lallement
>
> We try to load a testsuite with a test case wich start a RMI server and we have this error:
> > mvn test
> Running deai.tt.rhino.cache.mgr.CommonCacheManagerTest
> INFO: Created RMIRegistry on port: 10098
> org.apache.maven.surefire.booter.SurefireExecutionException: deai.tt.rhino.cache.mgr.CommonCacheManagerTest; nested exception is java.security.AccessControlException: access denied (java.lang.RuntimePermission setIO); nested exception is org.apache.maven.surefire.testset.TestSetFailedException: deai.tt.rhino.cache.mgr.CommonCacheManagerTest; nested exception is java.security.AccessControlException: access denied (java.lang.RuntimePermission setIO)
> org.apache.maven.surefire.testset.TestSetFailedException: deai.tt.rhino.cache.mgr.CommonCacheManagerTest; nested exception is java.security.AccessControlException: access denied (java.lang.RuntimePermission setIO)
> java.security.AccessControlException: access denied (java.lang.RuntimePermission setIO)
> at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
> at java.security.AccessController.checkPermission(AccessController.java:427)
> at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
> at java.lang.System.checkIO(System.java:208)
> at java.lang.System.setOut(System.java:148)
> at org.apache.maven.surefire.report.ReporterManager.resetStreams(ReporterManager.java:313)
> at org.apache.maven.surefire.report.ReporterManager.testFailed(ReporterManager.java:291)
> at org.apache.maven.surefire.report.ReporterManager.testError(ReporterManager.java:276)
> at org.apache.maven.surefire.junit.TestListenerInvocationHandler.handleAddError(TestListenerInvocationHandler.java:163)
> at org.apache.maven.surefire.junit.TestListenerInvocationHandler.invoke(TestListenerInvocationHandler.java:134)
> at $Proxy0.addError(Unknown Source)
> at junit.framework.TestResult.addError(TestResult.java:36)
> at junit.framework.TestResult.runProtected(TestResult.java:133)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:160)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:81)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:182)
> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:743)
> [INFO] ------------------------------------------------------------------------
> I suppose it's a pb of java policy ?
> Any idea
> Thx
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira