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 three predefined ports in the ${jboss.home.url}/docs/examples/binding-manager/sample-bindings.xml file:

  • ports-default
  • ports-01
  • ports-02

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

 

Resolution

To change the MDM default port, follow these steps:

  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 want to browse the JBoss documentation for information about running multiple instances of JBoss on the same machine, or see the same question answered on Stack Overflow.

Version history
Revision #:
3 of 3
Last update:
‎04-21-2017 07:29 PM
Updated by:
 
Labels (1)