ubuntu - How to run Derby as a background process in Linux -


i using derby on remote ubuntu 12.04 server. standard derby commands working correctly , able open databases , access them via ij. need able start , stop server terminal while logging in , out between commands. problem can not find way run server background process. closest have come is: nohup java -jar $derby_home/lib/derbyrun.jar server start & > ~/dblog.txt works except requires hit [enter] before returning command line. aware of daemon package uncertain of whether allow me stop server. helpful explanation of how tomcat manages since app server.

you can use commands "kill" or "killall" kill background process. use "jobs" command see list of running process you've sent background. can put them in foreground doing - "fg %n" (where n job number) , kill using ctrl-c.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -