Re: Network server with different java (or derby) version between client and server

2023-02-06 Thread fed
Hi, Sorry for the late reply to this mail but I was able to create and test a configuration and I have some doubts and questions. I ask you if you can review my config that I describe in the mail. I am sorry if it is a long email, I hope someone will read it :) In my test environment I have the

Re: Network server with different java (or derby) version between client and server

2022-12-01 Thread Rick Hillegas
Some responses inline... On 12/1/22 4:15 AM, fed wrote: Hi, As you suggested, the issue is the security manager, to be honest I am used to java security manager, I read and tested a bit to understand how it works. My initial setup was server service in a dir, let’s say /dir1 and database in

Re: Network server with different java (or derby) version between client and server

2022-12-01 Thread Bryan Pendleton
For more background on what is meant by "If user authentication is enabled", look here: https://db.apache.org/derby/docs/10.15/security/cseccsecure42374.html bryan On Thu, Dec 1, 2022 at 6:24 AM fed wrote: > > Another thing I don't understand is about shutdown, from the documentation, >

Re: Network server with different java (or derby) version between client and server

2022-12-01 Thread fed
Another thing I don't understand is about shutdown, from the documentation, adminguide, it says: https://db.apache.org/derby/docs/10.15/adminguide/tadminconfigshuttingdownthenetworkserver.html "Important: If user authentication is enabled, you must specify a valid Derby user name and password;

Re: Network server with different java (or derby) version between client and server

2022-12-01 Thread fed
Hi, As you suggested, the issue is the security manager, to be honest I am used to java security manager, I read and tested a bit to understand how it works. My initial setup was server service in a dir, let’s say /dir1 and database in another dir let’s say /dir2 so the dirs are distinct to each

Re: Network server with different java (or derby) version between client and server

2022-11-25 Thread Rick Hillegas
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

Re: Network server with different java (or derby) version between client and server

2022-11-25 Thread Rick Hillegas
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

Re: Network server with different java (or derby) version between client and server

2022-11-25 Thread fed
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.

Re: Network server with different java (or derby) version between client and server

2022-11-24 Thread Rick Hillegas
The SQLState indicates that the server was not able to boot the database. Look in the server-side derby.log to see if there is a detailed error message describing why the boot failed. On 11/23/22 4:42 PM, fed wrote: Hi, Sorry for the late answer but I lost your reply. Two tests: I have a

Re: Network server with different java (or derby) version between client and server

2022-11-23 Thread fed
Hi, Sorry for the late answer but I lost your reply. Two tests: I have a database updated to version 10.12.1.1, the server is running with the 10.12.1.1 too and the client is using 10.12.1.1 too, the connection is OK, I can use this setup. But another test: still the same database updated to

Re: Network server with different java (or derby) version between client and server

2022-11-13 Thread Bryan Pendleton
I'm not aware of client-server version incompatibilities. Have you done any experiments with different versions? thanks, bryan On Thu, Nov 10, 2022 at 4:16 AM fed wrote: > > Hi, > > using derby with network server setup is there any problem if the server and > the client are running on