Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5812

test failure in org.apache.derbyTesting.functionTests.tests.multi.StressMultiTestjava.security.AccessControlException: Access denied (java.lang.RuntimePermission modifyThread)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 10.9.1.0
    • None
    • Test
    • IBM iseries V6R1, ibm 1.6 (build pap3260sr9ifix-20110211_02(SR9+IZ94423))
    • Low

    Description

      This test failure happened once after the failures of DERBY-5811, and seems related as it's also a java.security.AccessControlException. However, this test failure occurred only once, and did not reproduce when running the test nor when rerunning suites.All.
      But after this failure, the default test database 'wombat' became unavailable, the derby system shutdown, other singleuse dbs also became unavailable, resulting in 40 failures and 667 errors.

      org.apache.derbyTesting.functionTests.tests.multi.StressMultiTestjava.security.AccessControlException: Access denied (java.lang.RuntimePermission modifyThread)
      at java.lang.Throwable.<init>(Throwable.java:67)
      at java.security.AccessControlException.<init>(AccessControlException.java:62)
      at java.security.AccessController.checkPermission(AccessController.java:68)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
      at java.lang.SecurityManager.checkAccess(SecurityManager.java:671)
      at java.lang.Thread.checkAccess(Thread.java:378)
      at java.lang.Thread.interrupt(Thread.java:506)
      at org.apache.derby.iapi.services.context.ContextService$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(AccessController.java:202)
      at org.apache.derby.iapi.services.context.ContextService.notifyAllActiveThreads(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(Unknown Source)
      at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
      at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
      at java.sql.DriverManager.getConnection(DriverManager.java:322)
      at java.sql.DriverManager.getConnection(DriverManager.java:297)
      at org.apache.derbyTesting.junit.DriverManagerConnector.getConnectionByAttributes(DriverManagerConnector.java:163)
      at org.apache.derbyTesting.junit.DriverManagerConnector.shutEngine(DriverManagerConnector.java:140)
      at org.apache.derbyTesting.junit.TestConfiguration.shutdownEngine(TestConfiguration.java:1742)
      at org.apache.derbyTesting.junit.SystemPropertyTestSetup.tearDown(SystemPropertyTestSetup.java:115)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
      at junit.extensions.TestSetup.run(TestSetup.java:25)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
      at junit.extensions.TestSetup.run(TestSetup.java:25)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
      at junit.extensions.TestSetup.run(TestSetup.java:25)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
      at junit.extensions.TestSetup.run(TestSetup.java:25)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
      at junit.extensions.TestSetup.run(TestSetup.java:25)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
      at junit.extensions.TestSetup.run(TestSetup.java:25)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)

      There is no fail directory saved, no derby.log for this.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              myrna Myrna van Lunteren
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: