Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

In a clustering environment, you may want to publish a REST or a SOAP provider on a node other than the Connect GUI node. You may also want the provider to be available on all the nodes in a cluster. Adeptia Connect equips you with a feature to define a custom port and then publish the provider on that port. 

The following section explains how to add a custom port and publish a provider on that port.

Adding custom port in Server.xml file

Follow the steps below to publish a web service provider to a custom port:

  1. Go to ...<ConnectPortalInstallfolder>/<conf> location.
  2. Open Server.xml file.
  3. Define a custom port by adding and updating the following section:

    <!-- <Connector port="XXXX" protocol="org.apache.coyote.http11.Http11NioProtocol" 
    			maxThreads="150" SSLEnabled="true/false" scheme="https/http" secure="true/false" clientAuth="false/true" 
    			sslProtocol="TLS" /> -->
    1. In the code block, update the following parameters:

      ParameterValue
      Connector Port
      Protocol
      Max thread
      SSLEnabled
      Scheme
      Secure
      ClientAuth
      SSLProtocol
    You can add multiple ports by adding the code block in XXXX section.

    Once you have added the ports in the Server.xml file, they will be visible in the Select Port drop-down list while creating or editing the REST and SOAP Provider.

  4. Select the port number other than the default port (Connect GUI port).
    You can publish only on one port at a time.

  5. Click Yes, Publish it to confirm.
  6. Once published, a confirmation message is displayed.
  • No labels