Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

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.

Launching via start-metascope.sh script

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 

Launching as a Daemon

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
Clone this wiki locally