Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

...

  1. Go to ...<AdeptiaInstallfolder>/AdeptiaServer/ServerKernel/etc/jetty location.
  2. Open jetty.xml file.
  3. Define a custom port by adding and updating the following section:

    Code Block
    <Call  name="addConnector">
         <Arg>
          <New id="HttpsConnectorB" class="org.eclipse.jetty.server.ServerConnector">
          <Arg name="server"><Ref refid="Server" /></Arg>
          <Arg name="sslContextFactory"><Ref refid="sslContextFactory2" /></Arg>
                <Arg name="factories">
             <Array type="org.eclipse.jetty.server.ConnectionFactory">
               <Item>
                 <New class="org.eclipse.jetty.server.HttpConnectionFactory">
                   <Arg name="config"><Ref refid="httpConfig" /></Arg>
                 </New>
               </Item>
               <Item>
                 <New class="org.eclipse.jetty.http2.server.HTTP2CServerConnectionFactory">
                   <Arg name="config"><Ref refid="httpConfig" /></Arg>
                 </New>
               </Item>
             </Array>
          </Arg>
            <Set name="name">HttpsConnectorB</Set>
            <Set name="port"><SystemProperty name="abpm.webserver.https.port" default="8443"/></Set>
           <Set name="idleTimeout"><Property name="solr.jetty.http.idleTimeout" default="120000"/></Set>
           <Set name="soLingerTime"><Property name="solr.jetty.http.soLingerTime" default="-1"/></Set>
           <Set name="acceptorPriorityDelta"><Property name="solr.jetty.http.acceptorPriorityDelta" default="0"/></Set>
           <Set name="acceptQueueSize"><Property name="solr.jetty.http.acceptQueueSize" default="0"/></Set>
           <Set name="reuseAddress">false</Set>
          </New>
        </Arg>
      </Call>


  4. In the code block, update the following parameters:

    1. Update the value of New id for the id parameter in following block code:
      <New id="HttpsConnectorB" class="org.eclipse.jetty.server.ServerConnector"> 

      By default, the value of New id is "HttpsConnectorB".

    2. Mention the same New id value in the following block code:
        <Set name="name">HttpsConnectorB</Set> 

    3. Set the port number in following block code:
      <Set name="port"><SystemProperty name="abpm.webserver.https.port" default="8443"/></Set>   

      For example, in case you want to configure 5443 as a custom port, update the code block as below:
      <Set name="port">5443</Set>  

  5. Save the file.

Changes in wsapi.xml file

  1. Go to ...<AdeptiaInstallfolder>/AdeptiaServer/ServerKernel/etc/jetty/contexts location.
  2. Open wsapi.xml file.
  3. Define a custom port by adding and updating the following section:

     <Set name="virtualHosts">
        <Array type="String">
          <Item>@HttpConnectorA</Item>
        </Array>
      </Set>

    Mention id (which is defined in the jetty.xml file) in the following block code:-
      <Item>@HttpConnectorA</Item>  
  4.   Save the file.

...