I tried creating a small maven project to demonstrate the problem but: ;DB_CLOSE_ON_EXIT=FALSE seemed to work within that context. I'm still not clear why it doesn't seem to always do what I expect, but the DB_CLOSE_ON_EXIT=FALSE setting does appear as expected in a sample project. I was also able to copy the url from the sample project to a real project and make it work (although the URL looked the same to me). So I must have had some type of error.
Thanks for the help and being patient. I really appreciate it. On Feb 18, 1:27 am, Thomas Mueller <[email protected]> wrote: > Hi, > > There are two kinds of server: The H2 TCP server, and the web server. > > It seems the H2 TCP server is stopped for some reason, so the > connection to the database is lost. After that, the code tries to > close the database connection. This fails because the connection was > lost. If this is really the case, then solution would be is: either > don't stop the TCP server before closing the connection, or ignore the > exception when closing the connection. > > Regards, > Thomas -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
