db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Hillegas <Richard.Hille...@Sun.COM>
Subject Re: [jira] Updated: (DERBY-955) Get derbyall on jdk1.6
Date Tue, 18 Apr 2006 21:43:53 GMT
Hi Bryan,

Thanks for pointing me into derby.log. There I see a security exception 
(appended later on in this message).  I have run the following 
experiments using the sysinfo test:

Legend:
   Solaris1.4Jars - On Solaris using jdk1.4 against the Derby Jars
   Solaris1.4Classtree - On Solaris using jdk1.4 against the Derby classtree
   Solaris1.6Jars - On Solaris using jdk1.6 against the Derby Jars
   Solaris1.6Classtree - On Solaris using jdk1.6 against the Derby classtree
   Win1.4Jars - On Windows using jdk1.4 against the Derby Jars
   Win1.4Classtree - On Windows using jdk1.4 against the Derby classtree
   Win1.6Jars - On Windows using jdk1.6 against the Derby Jars
   Win1.6Classtree - On Windows using jdk1.6 against the Derby classtree

With the following results:

PASS:
   Solaris1.4Jars
   Solaris1.4Classtree
   Solaris1.6Jars
   Solaris1.6Classtree
   Win1.4Jars
   Win1.4Classtree
   Win1.6Jars

FAIL:
   Win1.6Classtree

Perhaps this is a bug in the windows 1.6 jdk?

Regards,
-Rick


Here's the security exception I'm seeing when running sysinfo under 1.6 
on windows against the classtree:

access denied (java.io.FilePermission 
C:\cygwin\home\rh161140\derby\bug955\trunk\classes read)
java.security.AccessControlException: access denied 
(java.io.FilePermission 
C:\cygwin\home\rh161140\derby\bug955\trunk\classes read)
    at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:321)
    at 
java.security.AccessController.checkPermission(AccessController.java:546)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
    at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
    at java.io.File.exists(File.java:731)
    at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:402)
    at java.io.File.getCanonicalPath(File.java:559)
    at org.apache.derby.impl.tools.sysinfo.Main.formatURL(Unknown Source)
    at 
org.apache.derby.impl.tools.sysinfo.Main.loadZipFromResource(Unknown Source)
    at org.apache.derby.impl.tools.sysinfo.Main.getAllInfo(Unknown Source)
    at org.apache.derby.impl.tools.sysinfo.Main.reportCloudscape(Unknown 
Source)
    at org.apache.derby.impl.tools.sysinfo.Main.getMainInfo(Unknown Source)
    at 
org.apache.derby.impl.drda.NetworkServerControlImpl.getCLSSysInfo(Unknown 
Source)
    at 
org.apache.derby.impl.drda.NetworkServerControlImpl.sendSysInfo(Unknown 
Source)
    at 
org.apache.derby.impl.drda.NetworkServerControlImpl.processCommands(Unknown 
Source)
    at 
org.apache.derby.impl.drda.DRDAConnThread.sessionInitialState(Unknown 
Source)
    at org.apache.derby.impl.drda.DRDAConnThread.run(Unknown Source)

Bryan Pendleton wrote:

> Rick Hillegas wrote:
>
>> Testing Sysinfo
>> org.apache.derby.drda.NetworkServerControl sysinfo
>> Invalid reply from network server: Insufficient data.
>> End test
>
>
> Ouch!
>
> Assuming this is reproducible, I think there should be something in
> the derby.log for the Network Server process.
>
> When you get some spare time, can you poke around and see if you
> can find that log, and anything interesting in it?
>
> thanks,
>
> bryan
>
>
>


Mime
View raw message