I'm Creating a Admin Tool for a Hsql Database in JBuilder 6. I trying to use a button to start and shutdown the database server. I have tried running the server in a seperate thread with some sucess, however I have problems dectecting weither the database server is running or not. Also, when I execute the query "SHUTDOWN" the database server stops, but is still active. If I execute another query on the server, the database driver executes a System.exit(0) command killing my process as well. Any suggestions on how to start and stop the server would be appreciated.