This repository has been archived by the owner on Jan 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
Starting Metascope
Kassem Tohme edited this page May 12, 2016
·
5 revisions
Metascope operates as a web service. There are two ways of launching this service.
The simplest way of launching the Metascope web service is by executing org.schedoscope.metascope.Metascope
's main method.
The Metascope web service needs a Schedoscope configuration file. This can be passed using the system properties -Dconfig.file
. Check the start-metascope.sh
script.
Example:
java -Xmx1024m -XX:MaxPermSize=512M -cp ${CP} -Dconfig.file=/path/to/schedoscope.conf org.schedoscope.metascope.Metascope
The Metascope web service can also be started as a daemon using jsvc and Apache Commons Daemon.
Example:
jsvc -Xmx1024m -XX:MaxPermSize=512M -cp ${CP} -Dconfig.file=/path/to/schedoscope.conf org.schedoscope.metascope.MetascopeDaemon