ITIM Collector fails with 'java.net.BindException: Address already in use' error in RSA Identity Governance & Lifecycle
Originally Published: 2015-11-30
Last Modified: 2023-12-01
Article Number
Applies To
RSA Version/Condition: All
Issue
ERROR (Thread-4) [com.aveksa.client.component.communication.ChangeListHandler] CLH70: com.aveksa.client.datacollector.agent.ServerUnavailableException:
com.aveksa.server.agent.message.ConnectionException: java.net.BindException: Address already in use
at com.aveksa.client.component.communication.DefaultCommunicationManager.getChangeList(DefaultCommunicationManager.java:203) at com.aveksa.client.component.communication.ChangeListHandler.getChangesFromServer(ChangeListHandler.java:235)
at com.aveksa.client.component.communication.ChangeListHandler.run(ChangeListHandler.java:129)
at com.aveksa.client.component.communication.DefaultCommunicationManager$1.run(DefaultCommunicationManager.java:543) Caused by: com.aveksa.server.agent.message.ConnectionException: java.net.BindException: Address already in use
at com.aveksa.server.agent.message.HTTPBroker.httpPost(HTTPBroker.java:158)
at com.aveksa.server.agent.message.HTTPBroker.send(HTTPBroker.java:85)
at com.aveksa.server.agent.message.ServerBroker.getChanges(ServerBroker.java:296)
at com.aveksa.client.datacollector.agent.ServiceManager.getChangeList(ServiceManager.java:123)
at com.aveksa.client.component.communication.DefaultCommunicationManager.getChangeList(DefaultCommunicationManager.java:195) ... 3 more Caused by: java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:398) at java.net.Socket.bind(Socket.java:582)
at java.net.Socket.<init>(Socket.java:392) at java.net.Socket.<init>(Socket.java:267)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
at com.aveksa.server.agent.message.HTTPBroker.httpPost(HTTPBroker.java:155) ... 7 more
com.aveksa.server.agent.message.ConnectionException: java.net.BindException: Address already in use
at com.aveksa.client.component.communication.DefaultCommunicationManager.getChangeList(DefaultCommunicationManager.java:203) at com.aveksa.client.component.communication.ChangeListHandler.getChangesFromServer(ChangeListHandler.java:235)
at com.aveksa.client.component.communication.ChangeListHandler.run(ChangeListHandler.java:129)
at com.aveksa.client.component.communication.DefaultCommunicationManager$1.run(DefaultCommunicationManager.java:543) Caused by: com.aveksa.server.agent.message.ConnectionException: java.net.BindException: Address already in use
at com.aveksa.server.agent.message.HTTPBroker.httpPost(HTTPBroker.java:158)
at com.aveksa.server.agent.message.HTTPBroker.send(HTTPBroker.java:85)
at com.aveksa.server.agent.message.ServerBroker.getChanges(ServerBroker.java:296)
at com.aveksa.client.datacollector.agent.ServiceManager.getChangeList(ServiceManager.java:123)
at com.aveksa.client.component.communication.DefaultCommunicationManager.getChangeList(DefaultCommunicationManager.java:195) ... 3 more Caused by: java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:398) at java.net.Socket.bind(Socket.java:582)
at java.net.Socket.<init>(Socket.java:392) at java.net.Socket.<init>(Socket.java:267)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
at com.aveksa.server.agent.message.HTTPBroker.httpPost(HTTPBroker.java:155) ... 7 more
Cause
Resolution
- Modify the port used by the other process to avoid conflicting with the ITIM agent.
- Change the port the ITIM Agent uses by modifying aveksa-plug-ins.xml:
- Backup the aveksa-plug-ins.xml file located under <AVEKSA_WAR_DIR>/WEB-INF/plug-ins/ ITIM2FulfillmentHandler.
- Edit the aveksa-plug-ins.xml file and modify the port setting.
For example, on WebLogic and WebSphere you must edit the aveksa-plug-ins.xml file in your customized EAR in the CUSTOMIZATION directory located in:
<CUSTOMIZATION>/aveksa_ear/aveksa.war/WEB-INF/plug-ins/ITIMFulfillmentHandler
- Backup the aveksa-plug-ins.xml file:
cd <CUSTOMIZATION>/aveksa_ear/aveksa.war/WEB-INF/plug-ins/ITIMFulfillmentHandler cp aveksa-plug-ins.xml aveksa-plug-ins.xml.backup_<date>
- Edit the aveksa-plug-ins.xml file and modify the port setting:
FROM:
<value>iiop://localhost:2809</value> for name platformURL
TO:
<value>iiop://ITIM_HOST:ITIM_NEW_PORT</value>
The ear file must be redeployed after the customization has been completed.
See the RSA Identity Governance & Lifecycle Installation Guide for your version for more information on customizing the RSA Identity Governance & Lifecycle platform.
Related Articles
Identifying if ports used by Datacenter/Endpoint components are in use on the Windows machine 26Number of Views Deploying an Identity Router (Video) 15Number of Views View Network Diagnostics on an Identity Router 35Number of Views Static Routes 19Number of Views PINs for On-Demand Authentication 25Number of Views
Trending Articles
How to 'Trust' the RSA Authentication Manager Security Console Self-Signed Root CA certificate and prevent Cert warnings. RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device RSA SecurID software token .sdtid file fails to import into RSA SecurID Software Token 5.0 for Windows Unique constraint (AVUSER.PK_WP_USER_DATA) violated error while upgrading RSA Identity Governance & Lifecycle
Don't see what you're looking for?