Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

JobScheduler currently comes with a proprietary built-in web server. However, it is possible to configure JobScheduler to work with Jetty by using the JobScheduler plugin feature. This document describes what you have to do to run JobScheduler with an underlying Jetty web server.

...

To run JobScheduler with Jetty instead the built-in web-server you have to use the Jetty plugin. It is a part of the library com.sos.scheduler.engine.plugins.jetty-xxx.jar. Beside the com.sos.scheduler.engine.plugins.jetty-xxx.jar it is necessary to put the dependend dependent libraries for the jetty Jetty plugin into the classpath of the JobScheduler. The installer put puts them into the ./lib/jetty_ext folder and add it adds them to the classpath in the ./config/factory.ini.
Unix

...

Configure scheduler.xml

To use the jetty Jetty plugin you have to configure it in the scheduler.xml:

...

Configure jetty.xml

To run JobScheduler with jetty Jetty it is also necessary to create two configuration files for the Jetty web server (./config/jetty.xml and ./config/web.xml). The minimal declaration defines a connector for the port to communicate with JobScheduler via http:

...