db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <derby-...@db.apache.org>
Subject [jira] Created: (DERBY-1545) derbynet/testProtocol.java fails with security manager enabled
Date Thu, 20 Jul 2006 12:31:15 GMT
derbynet/testProtocol.java fails with security manager enabled
--------------------------------------------------------------

                 Key: DERBY-1545
                 URL: http://issues.apache.org/jira/browse/DERBY-1545
             Project: Derby
          Issue Type: Bug
          Components: Regression Test Failure
    Affects Versions: 10.2.0.0
         Environment: Solaris 10 x86, Sun JVM 1.5.0
            Reporter: Knut Anders Hatlen


The tinderbox test started failing after revision 423676 which enabled security manager for
derbynet/testProtocol.java. See http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/testlog/SunOS-5.10_i86pc-i386/423706-derbyall_diff.txt

Exception in thread "main" java.security.AccessControlException: access denied (java.net.SocketPermission
127.0.0.1:1527 connect,resolve)
	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.SecurityManager.checkConnect(SecurityManager.java:1034)
	at java.net.Socket.connect(Socket.java:501)
	at java.net.Socket.connect(Socket.java:457)
	at java.net.Socket.<init>(Socket.java:365)
	at java.net.Socket.<init>(Socket.java:178)
	at org.apache.derby.impl.drda.TestProto.getConnection(Unknown Source)
	at org.apache.derby.impl.drda.TestProto.<init>(Unknown Source)
	at org.apache.derbyTesting.functionTests.tests.derbynet.testProtocol.executeFile(Unknown
Source)
	at org.apache.derbyTesting.functionTests.tests.derbynet.testProtocol.main(Unknown Source)

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

        

Mime
View raw message