|
From: Leif M. <le...@ta...> - 2004-02-09 17:38:40
|
Mikko,
This is precisely what integration method #2, using the
WrapperStartStopApp
helper class was developed for. Take a look at that section of the
integration docs
and post back if you have any other questions.
I use HSQLDB quite a bit, but do so in my own component rather than
running
as a standard server. How does HSQLDB normally get shutdown. If it
does so
using shutdown hooks then the Wrapper will take care of that for you.
Cheers,
Leif
Mikko Valjento wrote:
>Hello all,
>
>I'm new Java Service Wrapper user and I'm running the HSQL Database as a
>service on my machine with the wrapper.
>
>I was wondering how to execute a shutdown command for the database when the
>service is stopped.
>
>As you might know the HSQLDB can be shut down by calling SQL 'SHUTDOWN'
>command. Now if I write a simple java class which only executes that command
>through jdbc, then is it possible to set that java class to be called when
>the hdbc service is stopped?
>
>Thanks for any advice,
>
>Mikko
>
>
|