Versions Compared

Key

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

In a cluster environment, you 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. have this requirement in both single node and multiple nodes (clustered) environment. To achieve this, Adeptia Connect equips you with a feature to define a custom port and then publish the provider on that port. Doing this, you can have different web service providers running on different nodes.

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

...

Defining 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:

    Code Block
    <!-- <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


    Info

    You can add multiple ports by adding the code block in

    XXXX section

    the respective SoapService and RestService sections.

    In case of the clustered environment, you need to define the custom ports on every node.


  4. Save the file.

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

  6. Select the port number other than the default port (Connect GUI port) while creating or editing a provider.
    You can publish only on one port at a time.

  7. Click Yes, Publish it to confirm.
    Once published, a confirmation message is displayed.