Axel Sec wrote:Hello,
I'm French so I,m sorry if I make some mistakes.
I have created a database and I have generated classes thanks to Cayenne.
Driver used : org.apache.derby.jdbc.EmbeddedDriver
URL : jdbc:derby:database
I have created a "main" class to insert and delete some informations from the database (it's not a memory database). It works perfectly and this, from a remote client.
Now I want to connect more than one client on the database at the same time. So in CayenneModeler I change the driver and the URL :
Driver used : org.apache.derby.ClientDriver
URL : jdbc:derby://localhost/database
After' I launch the jetty server (port 8080) and the derby server (port 1527) from Eclipse. I run the main class in the client machine and I obtain an error :
If you need more informations, ask me.
Thanks
Tadrierion
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |