db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Van Couvering <davi...@sonic.net>
Subject Re: error recovery
Date Mon, 08 Jan 2007 17:35:17 GMT
I'm assuming your talking with Derby using the network client JDBC 
driver, and that Derby is running as a separate process that accepts 
network connections?

If the server goes down, you'll get a disconnect exception and your 
connection will be invalid.  There's nothing more you need to do.  Derby 
cleans up (runs recovery) automatically on startup and then you just 

Does that answer your question?


Amir Michail wrote:
> Hi,
> I was wondering how a servlet should handle derby server problems. For
> example, what should happen if the derby server goes down? How should
> the servlet handle this situation as to not confuse the derby server
> on startup and cause severe errors (e.g., that might result in an
> immediate shutdown of the derby server)?
> Amir

View raw message