The ports can be overridden from the following section. In the ESB, we have
to change the axis2.xml as well. Is there a way to somehow inject these
ports from the carbon.xml when the ESB is starting?

<Ports>
        <!-- The JMX Ports -->
        <JMX>
            <!--The port RMI registry is exposed-->
            <RMIRegistryPort>9991</RMIRegistryPort>
            <!--The port RMI server should be exposed-->
            <RMIServerPort>11112</RMIServerPort>
        </JMX>

        <!-- Embedded LDAP server specific ports -->
        <EmbeddedLDAP>
            <!-- Port which embedded LDAP server runs -->
            <LDAPServerPort>10390</LDAPServerPort>
            <!-- Port which KDC (Kerberos Key Distribution Center) server
runs -->
            <KDCServerPort>8001</KDCServerPort>
        </EmbeddedLDAP>

            <!-- Embedded Qpid broker ports -->
        <EmbeddedQpid>
            <!-- Broker TCP Port -->
            <BrokerPort>5673</BrokerPort>
            <!-- SSL Port -->
            <BrokerSSLPort>8673</BrokerSSLPort>
        </EmbeddedQpid>

        <!-- Override the ports defined in mgt-transports.xml -->
        <ServletTransports>
            <HTTPS>9444</HTTPS>
            <HTTP>9764</HTTP>
        </ServletTransports>
    </Ports>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **[email protected]* <[email protected]>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to