Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 36084 invoked from network); 21 Jan 2007 22:49:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jan 2007 22:49:41 -0000 Received: (qmail 91132 invoked by uid 500); 21 Jan 2007 22:49:46 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 91085 invoked by uid 500); 21 Jan 2007 22:49:46 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 91074 invoked by uid 99); 21 Jan 2007 22:49:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Jan 2007 14:49:46 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [63.246.20.114] (HELO 63-246-20-114.contegix.com) (63.246.20.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Jan 2007 14:49:37 -0800 Received: (qmail 11227 invoked by uid 89); 21 Jan 2007 22:49:16 -0000 Received: from unknown (HELO codehaus01.managed.contegix.com) (127.0.0.1) by smtp.domain.com with SMTP; 21 Jan 2007 22:49:16 -0000 Message-ID: <49735196.1169419756868.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Sun, 21 Jan 2007 16:49:16 -0600 (CST) From: "Brett Porter (JIRA)" To: issues@maven.apache.org Subject: [jira] Updated: (SUREFIRE-170) Failed to load test: java.security.AccessControlException: In-Reply-To: <111194365.1161332240816.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.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