Versions Compared

Key

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

...

To run JobScheduler with jetty it is also necessary to create two configuration files for the Jetty web server (jetty.xml and web.xml). It has to place in the root of your live folder (not in the config folder). The minimal declaration defines a connector for the port to communicate with JobScheduler via http: {{<Configure

Code Block

 <Configure class="org.eclipse.jetty.server.Server">

...


   <Call name="addConnector">

...


     <Arg>
       <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">

...


         <Set name="port">44440</Set>

...


       </New>

...


     </Arg>

...


   </Call>

...


 </

...

Configure>

It is important to know that this port (here 44440) is a substitute for the port attribute in the config element of scheduler.xml.

...