AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Shutdown hsqldb server

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases
View previous topic :: View next topic  
Author Message
ala_halasa
Guest





PostPosted: Wed Apr 18, 2007 8:11 pm    Post subject: Shutdown hsqldb server Reply with quote



Hello Group, I have an issue with hsqldb and need your help.
brief of problem is: how could I shutdown hsqldb server by command
line ?
the issue:
I have hsqldb database that has a table from csv file. there is a
script reads from the csv file. Once the script read from the file,
the db locked from writing to the csv file. The server is running by
the following command,
java org.hsqldb.Server server.properties,
What I am trying to do is to shutdown the db before access it from the
script.
I tried to use the following command:
java org.hsqldb.util.ShutdownServer mydb
and it reurns the following error:
java.sql.SQLException: S1000 General error java.lang.RuntimeException:
database alias does not exist
I tried all the possible aliases I could have:
jdbc:hsqldb:hsql://localhost:9001/mydb
and
the full path of the db
and
this is the server.properties file:

server.port=9001
server.database.0=file:/home/logs/svn/server/araby_db
server.dbname.0=araby_db
#server.no_system_exit=true


Please help me or give me suggestion as soon as possible
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.