Subject Re: [Firebird-Java] Local Transaction Active
Author Roman Rokytskyy
Hi Robert,

> Roman, I think I can make it happen reliably in a somewhat contrived
> way. All I need to do is stop the database while my application is
> still running. While this may be contrived, I think it might point
> to the problem. Because the exception I would expect is something like:
> org.firebirdsql.gds.GDSException: Unable to complete network
> request to host "localhost".
> And not "Local Transaction in Use".

I tried to reproduce it by killing the server process while connection is
open, but with no success. Below you will find a test case for this, I also
tried to kill server when running the AS3AP benchmark suite. In both cases I
get either "Error reading data from connection" or "Could not complete
request to host "localhost"".

Try to run your application with logging turned on on DEBUG level and send
me the complete log file when your application crashed.