How to change Talend MDM server default ports

 Overview

This article describes how to change Talend MDM (Master Data Management) server default ports.

Environment

This article applies to MDM Server from version 5.1 onwards.

Description

If you want to run multiple MDM server instances on the same machine, you need to change the MDM default ports. You can choose from between three predefined ports in the ${jboss.home.url}/docs/examples/binding-manager/sample-bindings.xml file:

  • ports-default,
  • ports-01,
  • ports-02.

The default ports

Icon
The MDM default port is ports-01, and its HTTP port is 8180.

Resolution

To change the MDM default port, do the following:

  1. Modify the file jboss-4.2.2.GA\server\default\conf\jboss-service.xml  as follows:

    <mbean code="org.jboss.services.binding.ServiceBindingManager"
           name="jboss.system:service=ServiceBindingManager">
        <attribute name="ServerName">ports-02</attribute>
        <attribute name="StoreURL">${jboss.home.url}/server/default/conf/bindings.xml</attribute>
        <attribute name="StoreFactoryClassName">
            org.jboss.services.binding.XMLServicesStoreFactory
        </attribute>
    </mbean>
  2. Modify the mdm.conf file as follows:

    http.server.port=8280

    If you use the Qizx database (deprecated), you must also update the following URL to take into account the new port number:

    qizx.server.url=http://localhost:8280/qizx/api

You may also want to browse the JBoss documentation for running multiple instances of JBoss on the same machine at http://community.jboss.org/wiki/ConfiguringMultipleJBossInstancesOnOnemachine.

Version History
Revision #:
1 of 1
Last update:
‎05-11-2017 08:27 PM
Updated by:
 
Labels (1)
Contributors