Versions Compared

Key

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

...

  • No Format
    http://localhost:4444040444
  • No Format
    https://localhost:844348444

You can change these ports in the ./config/jetty.xml.

...

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<>40444</Set>
       </New>
     </Arg>
   </Call>
 </Configure>

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

...

Code Block
 <Call name="addConnector">
  <Arg>
    <New class="org.eclipse.jetty.server.ssl.SslSelectChannelConnector">
      <Arg>
        <New class="org.eclipse.jetty.util.ssl.SslContextFactory">
          <Set name="keyStore"><SystemProperty name="jetty.home" default="." />/ssl/jetty.jks</Set>
          <Set name="keyStorePassword">jobscheduler</Set>
          <Set name="keyManagerPassword">jobscheduler</Set>
          <Set name="trustStore"><SystemProperty name="jetty.home" default="." />/ssl/jetty.jks</Set>
          <Set name="trustStorePassword">jobscheduler</Set>
        </New>
      </Arg>
      <Set name="port">8443<>48444</Set>
      <Set name="maxIdleTime">30000</Set>
    </New>
  </Arg>
 </Call>

The SSL connection expects the jetty keystore file jetty.jks in the subfolder ssl (under the JobScheduler data folder). With the configuration above you can connect JobScheduler via https at port 844348444.
</span>

<span ih1. "keystore">

...

Code Block
  <nowiki>http://localhost:4444040444/jobscheduler/engine-cpp/</nowiki>

...

Code Block
  <nowiki>https://localhost:844348444/jobscheduler/engine-cpp/</nowiki>

...

Code Block
  <nowiki>http://localhost:4444040444/jobscheduler/engine-cpp/</nowiki>&lt;show_state/&gt;

...