Re: Installing Derby

2018-11-28 Thread Bob M
I have now successfully created a new database in a different folder

Many thanks
Bob M



--
Sent from: 
http://apache-database.10148.n7.nabble.com/Apache-Derby-Users-f95095.html


Re: Installing Derby

2018-11-28 Thread Bob M
Hello Harm-Jan

I have checked and both environmental variables are there
Bob M



--
Sent from: 
http://apache-database.10148.n7.nabble.com/Apache-Derby-Users-f95095.html


Re: Installing Derby

2018-11-28 Thread Peter Ondruška
You have started derby from C:\ directory as non-privileged user and derby
engine is trying to create log file in this location which is not writable.

On Wed, 28 Nov 2018 at 04:07, Bob M  wrote:

> Hi
> Am following the instructions
> All going well until I attempt to create my first database
>
> I receive the following message
> ***
> C:\>java org.apache.derby.tools.ij
> ij version 10.14
> ij> connect 'jdbc:derby:myFirstDBase;create=true';
> Wed Nov 28 15:55:44 NZDT 2018 Thread[main,5,main]
> java.io.FileNotFoundException: derby.log (Access is denied)
> ***
> what have I forgotten to do ?
> Bob M
>
>
>
> --
> Sent from:
> http://apache-database.10148.n7.nabble.com/Apache-Derby-Users-f95095.html
>
-- 
Peter Ondruška

-- 
kaibo, s.r.o., ID 28435036, registered with the commercial register 
administered by the Municipal Court in Prague, section C, file 141269.

Registered office and postal address: kaibo, s.r.o., Kališnická 379/10, 
Prague 3, 130 00, Czech Republic.
https://www.kaibo.eu 



Re: Installing Derby

2018-11-28 Thread Zorro

On 11/28/18 4:07 AM, Bob M wrote:

Hi
Am following the instructions
All going well until I attempt to create my first database

I receive the following message
***
C:\>java org.apache.derby.tools.ij
ij version 10.14
ij> connect 'jdbc:derby:myFirstDBase;create=true';
Wed Nov 28 15:55:44 NZDT 2018 Thread[main,5,main]
java.io.FileNotFoundException: derby.log (Access is denied)
***
what have I forgotten to do ?
Bob M


Looks like derby cannot create the derby.log file.
Maybe a missing environment variable ?

Derby comes with a number of scripts in the bin directory.
You could try to start ij using the corresponding script ij/ij.bat.
The ij/ij.bat script will attempt to set the required environment variables.

Regards, Harm-Jan Z.