Please read and follow the instructions in the section "Troubleshooting the Init Script".
siokpeng wrote: > Hi, > I had set the variable HSQLDB_JAR_PATH to the exact path of my hsqldb.jar > (HSQLDB_JAR_PATH=$HSQLDB_HOME/lib/hsqldb.jar). But, I still encounter same > problem. > My config file is like; > > JAVA_EXECUTABLE=$JAVA_HOME/bin/java > HSQLDB_JAR_PATH=$HSQLDB_HOME/lib/hsqldb.jar > SERVER_HOME=/opt/hsqldb/data > HSQLDB_OWNER=hsqldb > > Anything else did I missing? > > Thanks, > Siok Peng > > > > Blaine Simpson wrote: >> Correct, that the HSQLDB classes are not being found in the CLASSPATH. >> Wrong that you set it manually in the init script. In your config file, >> set the variable HSQLDB_JAR_PATH to the exact path to your hsqldb.jar >> file. The location of the config file is explained in step 2 of the >> UNIX chapter. >> >> >> Pankaj Mandal -X (pmandal - Ahura Inc. at Cisco) wrote: >> >>> Hi, >>> >>> When you run it through init.d, it is not finding the CLASSPATH, you >>> would most probably need to set it in the init.d script before executing >>> the java class/database server >>> >>> Thanks >>> Pankaj >>> >>> -----Original Message----- >>> From: [EMAIL PROTECTED] >>> [mailto:[EMAIL PROTECTED] On Behalf Of >>> siokpeng >>> Sent: Wednesday, August 23, 2006 3:52 AM >>> To: [EMAIL PROTECTED]; hsqldb-developers@lists.sourceforge.net >>> Subject: [Hsqldb-developers] Problem Running Hsqldb as a System Daemon >>> >>> Hi, >>> I just starting using hsqldb as my database server. I am using >>> hsqldb version 1.8.0 on Linux machine. I was using provided >>> documentation (http://hsqldb.org/web/hsqlDocsFrame.html) to start up my >>> database. Everything work fine. But, when I configure it to running as a >>> system daemon, it got failed on when I tried run using >>> "/etc/init.d/hsqldb start". The log file return error - "Exception in >>> thread "main" java.lang.NoClassDefFoundError: >>> org/hsqldb/util/MainInvoker". Did anyone know why it happen? The >>> database server can run if using "nohup java org.hsqldb.Server &"... >>> >>> Please help me. Thanks... >>> >>> >>> Regards, >>> Siok Peng >>> >>> ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ hsqldb-developers mailing list hsqldb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hsqldb-developers