Hi, Maybe a connection is still open when shutdown is called? Did you try -tcpShutdownForce? See also http://h2database.com/javadoc/org/h2/tools/Server.html#main(String[])
Regards, Thomas On Fri, Jul 24, 2009 at 6:55 AM, DinamicaFramework<[email protected]> wrote: > > Hi, I am using H2 as a TCP server, and I noticed that after some > requests by remote clients, the shutdown procedure won't work the > first time it is invoked: > > java -cp h2*.jar org.h2.tools.Server -tcpShutdown tcp://localhost:9092 > > It works the second time, but reports an exception about connection > broken. > > The server was not receiving requests from any client when the > shutdown was -apparently- ignored. And the shutdown program does not > print any exception the first time. > > May it take more than 1 minute to shutdown? maybe I am not giving it > enough time? > > I have also observed this behaviour with my local tomcat, sometimes. > > Any clues will be appreciated. > > Regards, > Martin Cordova > http://www.martincordova.com > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
