All seems to be going fine but when I shutdown my webapp, the
NetworkServerControl.shutdown() is correctly called but I have db.lck and
dbex.lck left :o(.

I think this may be DERBY-51:
http://issues.apache.org/jira/browse/DERBY-51

Also if I try to restart my webapp, the
NetworkServerControl.start() fails.

How does it fail? Can you provide more information?

I don't understand why I am getting such an issue. Can't i start and stop
Derby in the same JVM ?

One thing you could try would be: before you shut down your network server,
first shut down your database:
http://db.apache.org/derby/docs/10.2/devguide/tdevdvlp40464.html#tdevdvlp40464

thanks,

bryan

Reply via email to