assuming dbmanager.rc and setup.rc are located in your home folder and are configured properly what happens when you execute the Server class with & java -cp ../lib/hsqldb.jar org.hsqldb.Server -database.0 file:mydb -dbname.0 xdb &(appending & to run in background) ?
http://www.hsqldb.org/doc/guide/ch01.html#N10148 Martin Gainty ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Thu, 3 Feb 2011 09:00:08 -0800 > Subject: Re: Running The HSQLDB org.hsqldb.Server Java in the background! > From: [email protected] > To: [email protected] > > It is best to write a plugin start/stop your db > > this may help: http://jira.codehaus.org/browse/MOJO-557 > > > > On Thu, Feb 3, 2011 at 2:41 AM, Santhosh Nayak <[email protected]> wrote: > > > > Hi, > > I tried to run the HSQLdb server using the maven exec:java plugin. But > > the Server is starting in the background. But my requirement needs it to run > > in the background, since I want to execute the sql scripts using the same > > command prompt.So, > > 1) Is there any way to tell the maven to run exec-maven-plugin java goal > > in the background? > > 2) And what is best way to shutdown the hsqldb server using maven > > (goals)? > > > > thanks, > > Santhosh > > > > -- > > View this message in context: > > http://maven.40175.n5.nabble.com/Running-The-HSQLDB-org-hsqldb-Server-Java-in-the-background-tp3369095p3369095.html > > Sent from the Maven - Users mailing list archive at Nabble.com. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
