ITIM Collector fails with 'java.net.BindException: Address already in use' error in RSA Identity Governance & Lifecycle
Originally Published: 2015-11-30
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
View Network Diagnostics on an Identity Router 35Number of Views Deploying an Identity Router (Video) 15Number of Views Identifying if ports used by Datacenter/Endpoint components are in use on the Windows machine 26Number of Views Static Routes 19Number of Views Identity Router Network Interfaces and Default Ports 304Number of Views
Trending Articles
How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device Authentication Manager Security Console and Operations Console Inaccessible After Certificate Update RSA Authentication Manager 8.9 Patches and Hotfixes Readme RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide "No decryption codes were found in the zip file" error when decrypting RSA SecurID tokens
Don't see what you're looking for?