On Thu, Jan 03, 2002 at 06:19:30PM -0500, Vadim Gritsenko wrote: > Hi, > > Right now everybody (yes, everybody!) is experiencing IO exception when > starting the Cocoon (second time) with HSQLDB - that's because database > is > not correctly shut down after first run. When I patched this, > I found another problem on the way: org.hsqldb.ServerConnection executes > > System.exit() after executing SHUTDOWN SQL command. > > Can anybody escalate this issue with HSQLDB team? > Or, is there any other ways to solve the issue?
You could set a SecurityManager that lacks the "exitVM" RuntimePermission, and then catch the resulting SecurityException. (idea courtesy of Bob Kerns, who suggested it on ant-dev, resulting in a stunned silence.. http://marc.theaimsgroup.com/?l=ant-dev&m=100980000205533&w=2 ) --Jeff > Regards, > Vadim --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]