Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-831

jetty.xml is not read

    XMLWordPrintable

Details

    Description

      see also http://8of9.sos:5210/wiki/scheduler/index.php?n=Devel.JettyOnVulcan

      ./config/scheduler.xml
       
      ...
      <plugins>
        <plugin java_class="com.sos.scheduler.engine.plugins.jetty.JettyPlugin"/>
      </plugins>
      ...
      
      ./config/jetty.xml
       
      <?xml version='1.0' encoding='utf-8'?>
      <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
      <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>
          <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</Set>
                      <Set name="maxIdleTime">30000</Set>
                  </New>
              </Arg>
          </Call>
      </Configure>
      

      JobScheduler doesn't start with above configuration (see scheduler.log).

      If I change the configuration to

      ./config/scheduler.xml
      ...
      <plugins>
        <plugin java_class="com.sos.scheduler.engine.plugins.jetty.JettyPlugin">
          <plugin.config port="44440"/>
        </plugin>
      </plugins>
      ...
      

      the JobScheduler starts but there is no response for https://vulcan.sos:8443/

      Why is http://vulcan.sos:44440/ linked to http://vulcan.sos:44440/JobScheduler/z/, although the JobScheduler Operations Center is installed and its path is set in the ./config/factory.ini (entry: html_dir)?

      Attachments

        Activity

          People

            oh Oliver Haufe
            oh Oliver Haufe
            Oliver Haufe Oliver Haufe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: