IBM Support

webMethods Knowlegebase : "java.net.BindException: Address already in use" on port predefined in tc-config.xml when passive is becoming active (1788609)

Troubleshooting


Problem

Both active and passive node were running, and active left the cluster. "java.net.BindException: Address already in use" occurred while the passive node was becoming active.

------------

INFO com.tc.l2.state.StateManagerImpl - Becoming State[ ACTIVE-COORDINATOR ]

WARN com.tc.net.core.TCConnectionManager - Unable to bind socket on address /0.0.0.0, port 9610, Address already in use

ERROR com.tc.server.TCServerMain - Thread:Thread[WorkerThread l2_state_change_stage, 0),5,TC Thread Group] got an uncaught exception. calling CallbackOnExitDefaultHandlers.

java.lang.AssertionError: java.net.BindException: Address already in use

------------

However, the port (e.g. 9610) in "Already in use" is predefined in tc-config.xml.

<server host="host1" name="host1_9510" bind="0.0.0.0">

<tsa-port>9510</tsa-port>

<jmx-port>9520</jmx-port>

</server>

<server host="host2" name="host2_9610" bind="0.0.0.0">

<tsa-port>9610</tsa-port>

<jmx-port>9620</jmx-port>

</server>

Does it mean passive node is trying to bind the port used by itself?

Document Location

Worldwide

[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSVYEV","label":"IBM webMethods Integration"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"BigMemory Max (TAB)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Red Hat Enterprise Linux"}],"Version":"4.3.3"},{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSFIWYE","label":"IBM webMethods B2B"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"BigMemory Max (TAB)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Red Hat Enterprise Linux"}],"Version":"4.3.3"},{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSQG2X","label":"IBM webMethods Managed File Transfer"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"BigMemory Max (TAB)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Red Hat Enterprise Linux"}],"Version":"4.3.3"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
20 March 2025

UID

ibm17195950