Re: unable to take backup after derby upgrade

2012-10-03 Thread Kristian Waagan
On 02.10.2012 17:59, Tomcat Programmer wrote: I was able to backup my derby database successfully using the previous version 10.8.2.2 and the following command, running from ij: ij CALL SYSCS_UTIL.SYSCS_BACKUP_DATABASE('/usr/local/derby10/backups'); After upgrading to 10.9.1.0 the same

Re: unable to take backup after derby upgrade

2012-10-03 Thread Tomcat Programmer
From: Bryan Pendleton bpendleton.de...@gmail.com To: derby-user@db.apache.org Sent: Tuesday, October 2, 2012 8:44 PM Subject: Re: unable to take backup after derby upgrade   Do you have a security policy in place? Have a look at http://db.apache.org

unable to take backup after derby upgrade

2012-10-02 Thread Tomcat Programmer
I was able to backup my derby database successfully using the previous version 10.8.2.2  and the following command, running from ij: ij CALL SYSCS_UTIL.SYSCS_BACKUP_DATABASE('/usr/local/derby10/backups'); After upgrading to 10.9.1.0 the same exact command fails with the following error: 

Re: unable to take backup after derby upgrade

2012-10-02 Thread Bryan Pendleton
ij CALL SYSCS_UTIL.SYSCS_BACKUP_DATABASE('/usr/local/derby10/backups'); ... ERROR 38000: The exception 'java.security.AccessControlException: Access denied (java.io.FilePermission /usr/local/derby10/backups/PRAT write)' was thrown while evaluating an expression.ERROR XJ001: Java exception: