db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From neuna <inode.306...@inode.at>
Subject Rebooting derby within a java app
Date Mon, 14 Jul 2008 05:55:02 GMT

Hi, in my java app i want to set up a complete derby database, but after i
set the properties (e.g. sqlAuthorization) i have to reboot the server to
grant rights with the SQL command "GRANT".
But for some reason, it doesn't work if i use the simple methods
derbyServer.shutdown();
and
derbyServer.start(null);
If i use this to reboot the server, i can't grant rights (it says GRANT not
allowed unless database property derby.database.sqlAuthorization has value
'TRUE'., although derby.database.sqlAuthorization definately has the value
'TRUE' !)

What can i do, to restart the database properly? Thx in advance for any
help!

-- 
View this message in context: http://www.nabble.com/Rebooting-derby-within-a-java-app-tp18437879p18437879.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.


Mime
View raw message