You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-user@db.apache.org by lakshmi Suresh <la...@gmail.com> on 2012/09/28 13:05:24 UTC

Need derby 10.0.2.1-bin.zip version

Hi Team,

I am unable to download Derby version
10.0.2.1-bin.zip<http://cvs.apache.org/dist/incubator/derby/10.0.2.1/incubating-derby-10.0.2.1-bin.zip>
says "URL not found".

url :
http://cvs.apache.org/dist/incubator/derby/10.0.2.1/incubating-derby-10.0.2.1-bin.zip

Please let me know from where i can get this version.

I am using CFEverywhere to test an application which uses Derby database.


Thanks
Lakshmi.S

Re: Need derby 10.0.2.1-bin.zip version

Posted by Kristian Waagan <kr...@oracle.com>.
On 28.09.2012 13:05, lakshmi Suresh wrote:
> Hi Team,
>
> I am unable to download Derby version 10.0.2.1-bin.zip 
> <http://cvs.apache.org/dist/incubator/derby/10.0.2.1/incubating-derby-10.0.2.1-bin.zip>  
> says "URL not found".
>
> url : 
> http://cvs.apache.org/dist/incubator/derby/10.0.2.1/incubating-derby-10.0.2.1-bin.zip
>
> Please let me know from where i can get this version.

I believe you can get it from here:
http://archive.apache.org/dist/incubator/derby/10.0.2.1/

That version is very old, and should only be used if you are forced to 
use it for some reason.


Regards,
-- 
Kristian

>
> I am using CFEverywhere to test an application which uses Derby database.
>
>
> Thanks
> Lakshmi.S

Re: unable to take backup after derby upgrade

Posted by Tomcat Programmer <tc...@yahoo.com>.



________________________________
 From: Bryan Pendleton <bp...@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/derby/docs/dev/adminguide/tadminnetservbasic.html
> and see if you can find your security policy, and see what file permissions it
> is granting.
>

Thanks Bryan,  I'll take a look.  Does this version of Derby have a default security policy in place, and is it different than the previous version?   I did nothing specific to add a security policy, and I am using the exact same JRE that I was using before the upgrade. 

Re: unable to take backup after derby upgrade

Posted by Bryan Pendleton <bp...@gmail.com>.
> 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: 'Access denied
> (java.io.FilePermission /usr/local/derby10/backups/PRAT write): java.security.AccessControlException'.

Do you have a security policy in place?

Have a look at http://db.apache.org/derby/docs/dev/adminguide/tadminnetservbasic.html
and see if you can find your security policy, and see what file permissions it
is granting.

thanks,

bryan


Re: unable to take backup after derby upgrade

Posted by Kristian Waagan <kr...@oracle.com>.
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 exact command fails with the 
> following error:
>
> 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: 'Access denied (java.io.FilePermission 
> /usr/local/derby10/backups/PRAT write): 
> java.security.AccessControlException'.

It may also help if you post the stack trace relevant to Derby (i.e. you 
don't need to include anything from your own code).


Regards,
-- 
Kristian

>
>
> I am using the exact same copy of the java JRE, no changes.  After 
> upgrading the derby version, the update process was run on the 
> database and did not return any errors. No changes have been made to 
> the filesystem.  The directory "/usr/local/derby10/" as well as all of 
> its child directories are owned by the same user id, which is used to 
> run the database and do the backup. The file permissions are setup so 
> this user id has full control of all files and directories.  The 
> operating system is 32-bit linux.
>
> What has changed in this release which is causing this problem?   How 
> do I fix it?
>

unable to take backup after derby upgrade

Posted by Tomcat Programmer <tc...@yahoo.com>.
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: 


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: 'Access denied (java.io.FilePermission /usr/local/derby10/backups/PRAT write): java.security.AccessControlException'.


I am using the exact same copy of the java JRE, no changes.  After upgrading the derby version, the update process was run on the database and did not return any errors. No changes have been made to the filesystem.  The directory "/usr/local/derby10/" as well as all of its child directories are owned by the same user id, which is used to run the database and do the backup. The file permissions are setup so this user id has full control of all files and directories.  The operating system is 32-bit linux. 

What has changed in this release which is causing this problem?   How do I fix it? 

Re: Need derby 10.0.2.1-bin.zip version

Posted by Kristian Waagan <kr...@oracle.com>.
On 28.09.2012 15:17, lakshmi Suresh wrote:
> Dear Team ,
>
> I am trying to set up a database for the CFEveryWhere environment. 
> When i try to run the command
> "java org.apache.derby.drda.NetworkServerControl start"
>
>
> i am getting error as
> *
> "could not load main class org.apache.derby.drda.networkservercontrol"
>
> *please advise me what needs to be done to make the connection up.*
> *

Hi,

This looks like a classpath issue. Are you sure you have derbynet.jar on 
the classpath?


Regards,
-- 
Kristian

> *
>
> source :http://coldfusion.sys-con.com/node/48655
>
>
> *

Need derby 10.0.2.1-bin.zip version

Posted by lakshmi Suresh <la...@gmail.com>.
Dear Team ,

I am trying to set up a database for the CFEveryWhere environment. When i
try to run the command

"java org.apache.derby.drda.NetworkServerControl start"

i am getting error as
*
"could not load main class org.apache.derby.drda.networkservercontrol"

*please advise me what needs to be done to make the connection up.*


source : http://coldfusion.sys-con.com/node/48655

*