db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kathey Marsden <kmarsdende...@sbcglobal.net>
Subject Permissions issue in sysinfo test
Date Tue, 13 Apr 2010 21:12:47 GMT
Jayaram I know is trying to track down his failure in SysinfoTest that 
we thought was related to permission errors, but I just ran the passing 
test and printed out sysinfo and see that the permission errors  are 
actually there all the time, but the test doesn't catch it. Something 
else must have been making Jayaram's test fail.  Just thought I would 
mention it.


------------------ Java Information ------------------
Java Version:    1.6.0
Java Vendor:     IBM Corporation
Java home:       C:\cygwin\ibmsvn\ntsoftware\ibm16\jre
Java classpath:  
.;C:\cygwin\svn4\trunk\jars\sane/derbyrun.jar;C:\cygwin\svn4\tr
unk\jars\sane\derbyTesting.jar;C:\cygwin\svn4\trunk\tools\java\junit.jar;C:\cygw
in\svn4\trunk\tools\java\jakarta-oro-2.0.8.jar
OS name:         Windows XP
OS architecture: x86
OS version:      5.1 build 2600 Service Pack 3
Java user name:  kmarsden
Java user home:  C:\Documents and Settings\Administrator
Java user dir:   C:\cygwin\test
java.specification.name: Java Platform API Specification
java.specification.version: 1.6
--------- Derby Information --------
JRE - JDBC: Java SE 6 - JDBC 4.0
[C:\cygwin\svn4\trunk\jars\sane\derby.jar] 10.6.0.0 alpha - (932111M)
[C:\cygwin\svn4\trunk\jars\sane\derbytools.jar] 10.6.0.0 alpha - (932111M)
[C:\cygwin\svn4\trunk\jars\sane\derbynet.jar] 10.6.0.0 alpha - (932111M)
[C:\cygwin\svn4\trunk\jars\sane\derbyclient.jar] 10.6.0.0 alpha - (932111M)
------------------------------------------------------
----------------- Locale Information -----------------
Current Locale :  [English/United States [en_US]]
Found support for locale: [cs]
          version: 10.6.0.0 alpha - (932111M)
Found support for locale: [de_DE]
          version: 10.6.0.0 alpha - (932111M)
Found support for locale: [es]
          version: 10.6.0.0 alpha - (932111M)
Found support for locale: [fr]
          version: 10.6.0.0 alpha - (932111M)
Found support for locale: [hu]
          version: 10.6.0.0 alpha - (932111M)
Found support for locale: [it]
          version: 10.6.0.0 alpha - (932111M)
Found support for locale: [ja_JP]
          version: 10.6.0.0 alpha - (932111M)
Found support for locale: [ko_KR]
          version: 10.6.0.0 alpha - (932111M)
Found support for locale: [pl]
          version: 10.6.0.0 alpha - (932111M)
Found support for locale: [pt_BR]
          version: 10.6.0.0 alpha - (932111M)
Found support for locale: [ru]
          version: 10.6.0.0 alpha - (932111M)
Found support for locale: [zh_CN]
          version: 10.6.0.0 alpha - (932111M)
Found support for locale: [zh_TW]
          version: 10.6.0.0 alpha - (932111M)
------------------------------------------------------
+ java -Xmx512M -Xms512M -Dderby.tests.trace=true 
'-DderbyTesting.oldReleasePath
=C:\cygwin\svnreleases\jars' junit.textui.TestRunner 
org.apache.derbyTesting.fun
ctionTests.tests.derbynet.SysinfoTest
+ tee rju.out
.
testSysinfo before sed--------- Derby Network Server Information --------
Version: CSS10060/10.6.0.0 alpha - (932111M)  Build: 932111M  DRDA 
Product Id: C
SS10060  ** SANE BUILD **
derby.drda.traceDirectory=C:\cygwin\test\system
derby.drda.maxThreads=0
derby.drda.sslMode=off
derby.drda.keepAlive=true
derby.drda.minThreads=0
derby.drda.portNumber=1527
derby.drda.logConnections=false
derby.drda.timeSlice=0
derby.drda.startNetworkServer=false
derby.drda.host=127.0.0.1
derby.drda.traceAll=false
------------------ Java Information ------------------
Java Version:    1.6.0
Java Vendor:     IBM Corporation
Java home:       Security Exception: 
java.security.AccessControlException: Acces
s denied (java.util.PropertyPermission java.home read)
Java classpath:  
.;C:\cygwin\svn4\trunk\jars\sane/derbyrun.jar;C:\cygwin\svn4\tr
unk\jars\sane\derbyTesting.jar;C:\cygwin\svn4\trunk\tools\java\junit.jar;C:\cygw
in\svn4\trunk\tools\java\jakarta-oro-2.0.8.jar
OS name:         Windows XP
OS architecture: x86
OS version:      5.1 build 2600 Service Pack 3
Java user name:  Security Exception: 
java.security.AccessControlException: Acces
s denied (java.util.PropertyPermission user.name read)
Java user home:  Security Exception: 
java.security.AccessControlException: Acces
s denied (java.util.PropertyPermission user.home read)
Java user dir:   Security Exception: 
java.security.AccessControlException: Acces
s denied (java.util.PropertyPermission user.dir read)
java.specification.name: Java Platform API Specification
java.specification.version: 1.6
--------- Derby Information --------
JRE - JDBC: Java SE 6 - JDBC 4.0
[C:\cygwin\svn4\trunk\jars\sane\derby.jar] 10.6.0.0 alpha - (932111M)
[Java Security Exception: Access denied (java.io.FilePermission . read)] 
<null>
[Java Security Exception: Access denied (java.io.FilePermission 
C:\cygwin\svn4\t
runk\jars\sane\derbyrun.jar read)] <null>
[Java Security Exception: Access denied (java.io.FilePermission 
C:\cygwin\svn4\t
runk\jars\sane\derbyTesting.jar read)] <null>
[Java Security Exception: Access denied (java.io.FilePermission 
C:\cygwin\svn4\t
runk\tools\java\junit.jar read)] <null>
[Java Security Exception: Access denied (java.io.FilePermission 
C:\cygwin\svn4\t
runk\tools\java\jakarta-oro-2.0.8.jar read)] <null>
------------------------------------------------------
----------------- Locale Information -----------------
------------------------------------------------------


after sed--------- Derby Network Server Information --------
derby.drda.maxThreads=0
derby.drda.sslMode=off
derby.drda.keepAlive=true
derby.drda.minThreads=0
derby.drda.portNumber=1527
derby.drda.logConnections=false
derby.drda.timeSlice=0
derby.drda.startNetworkServer=false
derby.drda.traceAll=false
--------- Derby Information --------
------------------------------------------------------
----------------- Locale Information -----------------
------------------------------------------------------
used 2453 ms .
testSysinfoMethod used 63 ms .
testSysinfoLocale used 2391 ms .
testSysinfo before sed--------- Derby Network Server Information --------
Version: CSS10060/10.6.0.0 alpha - (932111M)  Build: 932111M  DRDA 
Product Id: C
SS10060  ** SANE BUILD **
derby.drda.keepAlive=true
derby.drda.portNumber=1527
derby.drda.timeSlice=0
derby.drda.traceAll=false
derby.drda.sslMode=off
derby.drda.maxThreads=0
derby.drda.securityMechanism=USER_ONLY_SECURITY
derby.drda.logConnections=false
derby.drda.minThreads=0
derby.drda.host=127.0.0.1
derby.drda.traceDirectory=C:\cygwin\test\system
derby.drda.startNetworkServer=false
------------------ Java Information ------------------
Java Version:    1.6.0
Java Vendor:     IBM Corporation
Java home:       Security Exception: 
java.security.AccessControlException: Acces
s denied (java.util.PropertyPermission java.home read)
Java classpath:  
.;C:\cygwin\svn4\trunk\jars\sane/derbyrun.jar;C:\cygwin\svn4\tr
unk\jars\sane\derbyTesting.jar;C:\cygwin\svn4\trunk\tools\java\junit.jar;C:\cygw
in\svn4\trunk\tools\java\jakarta-oro-2.0.8.jar
OS name:         Windows XP
OS architecture: x86
OS version:      5.1 build 2600 Service Pack 3
Java user name:  Security Exception: 
java.security.AccessControlException: Acces
s denied (java.util.PropertyPermission user.name read)
Java user home:  Security Exception: 
java.security.AccessControlException: Acces
s denied (java.util.PropertyPermission user.home read)
Java user dir:   Security Exception: 
java.security.AccessControlException: Acces
s denied (java.util.PropertyPermission user.dir read)
java.specification.name: Java Platform API Specification
java.specification.version: 1.6
--------- Derby Information --------
JRE - JDBC: Java SE 6 - JDBC 4.0
[C:\cygwin\svn4\trunk\jars\sane\derby.jar] 10.6.0.0 alpha - (932111M)
[Java Security Exception: Access denied (java.io.FilePermission . read)] 
<null>
[Java Security Exception: Access denied (java.io.FilePermission 
C:\cygwin\svn4\t
runk\jars\sane\derbyrun.jar read)] <null>
[Java Security Exception: Access denied (java.io.FilePermission 
C:\cygwin\svn4\t
runk\jars\sane\derbyTesting.jar read)] <null>
[Java Security Exception: Access denied (java.io.FilePermission 
C:\cygwin\svn4\t
runk\tools\java\junit.jar read)] <null>
[Java Security Exception: Access denied (java.io.FilePermission 
C:\cygwin\svn4\t
runk\tools\java\jakarta-oro-2.0.8.jar read)] <null>
------------------------------------------------------
----------------- Locale Information -----------------
------------------------------------------------------


after sed--------- Derby Network Server Information --------
derby.drda.keepAlive=true
derby.drda.portNumber=1527
derby.drda.timeSlice=0
derby.drda.traceAll=false
derby.drda.sslMode=off
derby.drda.maxThreads=0
derby.drda.securityMechanism=USER_ONLY_SECURITY
derby.drda.logConnections=false
derby.drda.minThreads=0
derby.drda.startNetworkServer=false
--------- Derby Information --------
------------------------------------------------------
----------------- Locale Information -----------------
------------------------------------------------------
used 2531 ms .
testSysinfoMethod used 47 ms .
testSysinfoLocale used 2406 ms
Time: 14.062

OK (6 tests)

+ set +x



Mime
View raw message