Hello,
For some reason for my newly created database in embedded mode after issuing
shutdown command getConnection("jdbc:derby:" + +
";shutdown=true") I'm not getting the message 'Database
shutdown.' (as it was for my previous projects) but instead I'm getting this
message:
08006.D : [0]
This indicates that the server is running with a Java SecurityManager
and that the policy file does not grant read permission on that
file--and probably all files in the database directory.
On 11/25/22 12:30 AM, fed wrote:
Hi,
testing with 10.15.2.0 from derby.log, server side, it complains
This indicates that Derby cannot find the localized messages for your
environment. Only the English messages are bundled inside derby.jar.
What happens when you run the following program:
import java.sql.*;
import java.util.*;
public class Z
{
public static void main(String... args)
Check that your 10.15 classpath is correct. You need a couple more jar
files compared to previous releases. Your 10.15 server classpath must
contain the following jars:
derby.jar
derbyshared.jar
derbytools.jar
derbynet.jar
See
Hi, thanks for looking into it!
I executed your program and the result is:
Default locale = en_US
08006.D : [0] memory:db
I checked Language Settings for my Linux Mint, and Region was actually not US,
so I changed everything to be US, restarted the machine and then re-executed
your program
Hi,
I investigated further. It is something related to my NetBeans IDE.
When I run the test program from outside IDE it gives the correct result. But
when I do this from IDE the result is as I posted in the previous message.
Also, older projects, imported from the previous machine work fine.
Hi,
testing with 10.15.2.0 from derby.log, server side, it complains about a
read permission on service.properties, some part of the file:
java.sql.SQLException: Impossibile avviare il database '/home/user/db/' con
il caricatore di classi
jdk.internal.loader.ClassLoaders$AppClassLoader@277050dc.