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 ------------------------------------------------------------------------- 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