you can only have 1 connection open to derby at a time. so you can't run your program whilst checking on the database using another program, for example squirrel.
This is my most usual cause of these type of errors in derby
Marco Bongiovanni
Greenhorn
Joined: Jan 27, 2012
Posts: 2
posted
0
if I run the program with few elements the program run without error. If I try to use more elements I have this error. I think that the problem is that I connect to many time to the database.
subject: org.apache.derby.client.am.DisconnectException: java.net.BindException : Error opening socket to