Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 934 invoked from network); 15 Feb 2008 23:03:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Feb 2008 23:03:22 -0000 Received: (qmail 64921 invoked by uid 500); 15 Feb 2008 23:03:15 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 64896 invoked by uid 500); 15 Feb 2008 23:03:15 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 64885 invoked by uid 99); 15 Feb 2008 23:03:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2008 15:03:15 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bradm6406@hotmail.com designates 65.54.246.137 as permitted sender) Received: from [65.54.246.137] (HELO bay0-omc2-s1.bay0.hotmail.com) (65.54.246.137) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2008 23:02:29 +0000 Received: from BAY124-W13 ([207.46.11.176]) by bay0-omc2-s1.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 15 Feb 2008 15:02:49 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_3954c3ab-2653-4198-afcf-75765ec02c06_" X-Originating-IP: [68.148.155.17] From: Brad Moore To: Derby Discussion Subject: RE: java.security.AccessControlException doing a file write Date: Fri, 15 Feb 2008 16:02:49 -0700 Importance: Normal In-Reply-To: <47B61995.3080408@sbcglobal.net> References: <15510576.post@talk.nabble.com> <47B61995.3080408@sbcglobal.net> MIME-Version: 1.0 X-OriginalArrivalTime: 15 Feb 2008 23:02:49.0543 (UTC) FILETIME=[E2C10D70:01C87026] X-Virus-Checked: Checked by ClamAV on apache.org --_3954c3ab-2653-4198-afcf-75765ec02c06_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Kathey, I think you may be right. As I said, I'm VERY new to Java. I think it's t= ime to go take a course. I just looked at the priviledged block stuff and = that sounds like it may be the ticket. Now I'll have to see if I can figur= e that out. Thanks for your help. I'll keep you posted. Brad > Date: Fri, 15 Feb 2008 15:00:37 -0800 > From: kmarsdenderby@sbcglobal.net > To: derby-user@db.apache.org > Subject: Re: java.security.AccessControlException doing a file write >=20 > bradm6406 wrote: > > The problem comes when I try to zip > > the resulting folder. > > > > =20 > I wonder if you need a privileged block around your code to create the zi= p. > http://java.sun.com/j2se/1.4.2/docs/api/java/security/AccessController.ht= ml >=20 > Kathey >=20 _________________________________________________________________ --_3954c3ab-2653-4198-afcf-75765ec02c06_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi Kathey,
I think you may be right.  As I said, I'm VERY new to Java.  I = think it's time to go take a course.  I just looked at the priviledged= block stuff and that sounds like it may be the ticket.  Now I'll have= to see if I can figure that out.

Thanks for your help.  I'll k= eep you posted.


Brad


> D= ate: Fri, 15 Feb 2008 15:00:37 -0800
> From: kmarsdenderby@sbcglobal.= net
> To: derby-user@db.apache.org
> Subject: Re: java.security= .AccessControlException doing a file write
>
> bradm6406 wrote= :
> > The problem comes when I try to zip
> > the result= ing folder.
> >
> >
> I wonder if you need a pri= vileged block around your code to create the zip.
> http://java.sun.c= om/j2se/1.4.2/docs/api/java/security/AccessController.html
>
>= Kathey
>


= --_3954c3ab-2653-4198-afcf-75765ec02c06_--