Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 5625 invoked from network); 5 Aug 2006 17:22:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Aug 2006 17:22:02 -0000 Received: (qmail 35044 invoked by uid 500); 5 Aug 2006 17:22:02 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 34827 invoked by uid 500); 5 Aug 2006 17:22:01 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 34793 invoked by uid 99); 5 Aug 2006 17:22:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Aug 2006 10:22:01 -0700 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 32.97.110.153 is neither permitted nor denied by domain of qozinx@gmail.com) Received: from [32.97.110.153] (HELO e35.co.us.ibm.com) (32.97.110.153) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Aug 2006 10:21:57 -0700 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11]) by e35.co.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k75HLaQw003235 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sat, 5 Aug 2006 13:21:36 -0400 Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by westrelay02.boulder.ibm.com (8.13.6/NCO/VER7.0) with ESMTP id k75HLabG310532 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 5 Aug 2006 11:21:36 -0600 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k75HLaGS019386 for ; Sat, 5 Aug 2006 11:21:36 -0600 Received: from [127.0.0.1] (sig-9-76-73-162.mts.ibm.com [9.76.73.162]) by d03av03.boulder.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k75HLXT0019271 for ; Sat, 5 Aug 2006 11:21:35 -0600 Message-ID: <44D4D39C.50405@gmail.com> Date: Sat, 05 Aug 2006 10:21:32 -0700 From: Army User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.1) Gecko/20040707 X-Accept-Language: en-us, en MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: DERBY-688: Is this a build problem? a CLASSPATH problem? a security problem? References: <44D3B66F.2020205@sun.com> <44D3B7AC.1060109@sbcglobal.net> <44D3D181.8000403@gmail.com> <44D3E627.7080507@sun.com> <44D40FE4.30803@gmail.com> <44D4C069.70904@amberpoint.com> In-Reply-To: <44D4C069.70904@amberpoint.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Bryan Pendleton wrote: > Hi Army, > > I believe I've successfully applied the XML patches in > DERBY-688 and built them using the normal build techniques > that I use for Derby. > > When I try to run, I see the exception below. > > org.apache.xml.utils.WrappedRuntimeException: The resource [ > file:////org/apache/xalan/serialize/XMLEntities.res ] could not load: > java.security.AccessControlException: access denied Can I ask what version of Xalan you are using? You should be able to figure this out by following the directions here: http://xml.apache.org/xalan-j/faq.html#environmentcheck If you are just using the version that is part of Sun jdk 1.4.2, then I think there is a bug in that version of Xalan that is causing this error. I think it's related to XALANJ-1643 (type that in your Jira "Quick Search" box) and has been fixed in Xalan version 2.5 and later (based on the comments in that issue). When I removed my external version of Xalan and just ran with the one that's embedded in Sun 1.4.2, I see this error, too. When I take the steps to override the jdk's version (which is a bit odd; see: http://xml.apache.org/xalan-j/faq.html#faq-N100D6) with a newer version (I'm using 2.6), the problem goes away. Does this solve the problem for you? Thanks for bringing this up--I guess we are either going to have to document that Xalan 2.5 (or whatever the specific version is) is required in order for this to work, or else I'm going to have to figure out an alternative. But that said, I think this is just an issue when running with SecurityManager; I tried to run some of the SQL/XML statements in the tests manually and they all worked; my manual tests did not use the SecurityManager. Please let me know if the above solution works for you, or if you have any other problems. Thanks for trying this out and for your patience as we track this down... Army