[Dart] How to run DartServer.jar as a daemon...if at all?
Blezek, Daniel J (GE, Research)
blezek at crd.ge.com
Mon Mar 27 08:51:13 EST 2006
Matt,
The library seems reasonable. One could also write the proper rc.d script. I have now idea how to do this on Windows... I use the script below to interactively start our server on www.na-mic.org:8081. All is not happy because I need to manually kill it...
dart at na-mic1:/projects/Dart$ more start.sh
# Create
# java -classpath DartServer.jar dart.DartServer --createserver NAMICServer
# java -classpath DartServer.jar dart.DartServer --initializeserver NAMICServer
# java -classpath DartServer.jar dart.DartServer --create Insight
# java -classpath DartServer.jar dart.DartServer --create CMake
# java -classpath DartServer.jar dart.DartServer --create Public
# java -classpath DartServer.jar dart.DartServer --create NAMICSandbox
# java -classpath DartServer.jar dart.DartServer --create Dart
# java -classpath DartServer.jar -Xmx512M dart.DartServer -l RollingLog.properties --initializ
e --refresh NAMICServer Insight CMake Public NAMICSandbox &
# ./DartClient --shutdown Insight
nohup java -Xmx512M -jar DartServer.jar -l RollingLog.properties --refreshServer --refresh NAM
ICServer Insight CMake Public NAMICSandbox Dart &
-dan
-----Original Message-----
From: dart-bounces+blezek=crd.ge.com at public.kitware.com
[mailto:dart-bounces+blezek=crd.ge.com at public.kitware.com]On Behalf Of
Matt England
Sent: Saturday, March 25, 2006 1:12 AM
To: dart at public.kitware.com
Cc: mengland at mengland.net
Subject: [Dart] How to run DartServer.jar as a daemon...if at all?
How can one best run DartServer.jar (any flavor I can reliably build or
acquired that works with ctest 2.2.x as per my other email thread...and
presumably this is not DartServer0.6.x) as a daemon...if at all?
I've used this utility in the past for similar things:
http://libslack.org/daemon/
Any other recommendations?
Any way to get DartServer.jar to report to errors syslog on a unix system?
-Matt
_______________________________________________
Dart mailing list
Dart at public.kitware.com
http://public.kitware.com/mailman/listinfo/dart
More information about the Dart
mailing list