geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Udovichenko, Nellya" <nellya.udoviche...@intel.com>
Subject Changing RMI-Naming port default value
Date Fri, 03 Nov 2006 13:25:16 GMT
Hello, 

 

I've tried to replace the RMI-naming default port 1099 with another
value in Geronimo-1.2-r470164. I've changed config.xml:

 

<module name="org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/car">

    <gbean name="RMIRegistry">

        <attribute name="port">1399</attribute>

    </gbean>

    <gbean name="NamingProperties">

        <attribute
name="namingProviderUrl">rmi://0.0.0.0:1399</attribute>

    </gbean>

.....

    <gbean name="JMXService">

        <attribute name="protocol">rmi</attribute>

        <attribute name="host">0.0.0.0</attribute>

        <attribute name="port">9999</attribute>

        <attribute
name="urlPath">/jndi/rmi://0.0.0.0:1399/JMXConnector</attribute>

    </gbean>

 

Geronimo has started successfully with the port 1399. But when I've
tried to launch another application on port 1099 I've got the error log
'Port already in use: 1099'. 

So two ports are in use after Geronimo launching (1099 and 1399). How
can I change the default value of RMI-Naming port entirely?

 

Thanks,

Nellya Udovichenko.


Mime
View raw message