java.net.BindException: Address already in use: JVM_Bind

While Starting the Connector Server Seeing below mentioned error:

C:\connector_server_java-1.5.0\bin>ConnectorServer.bat /run
Exception in thread "main" org.identityconnectors.framework.common.exceptions.ConnectorException: java.net.BindException: Address already in use: JVM_Bind
        at org.identityconnectors.framework.common.exceptions.ConnectorException.wrap(ConnectorException.java:101)
        at org.identityconnectors.framework.server.impl.ConnectorServerImpl.createServerSocket(ConnectorServerImpl.java:103)
        at org.identityconnectors.framework.server.impl.ConnectorServerImpl.start(ConnectorServerImpl.java:71)
        at org.identityconnectors.framework.server.Main.run(Main.java:206)
        at org.identityconnectors.framework.server.Main.main(Main.java:110)
Caused by: java.net.BindException: Address already in use: JVM_Bind
        at java.net.DualStackPlainSocketImpl.bind0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:102)
        at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:513)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:180)
        at java.net.ServerSocket.bind(ServerSocket.java:375)
        at java.net.ServerSocket.<init>(ServerSocket.java:237)
        at java.net.ServerSocket.<init>(ServerSocket.java:181)
        at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:224)
        at org.identityconnectors.framework.server.impl.ConnectorServerImpl.createServerSocket(ConnectorServerImpl.java:89)



Solution:

1) Go to ConnectorServer.properties and check the port

2) there must be something running on the same port.

OR

3) your connector server is up and running

4) kill the process and restart the connector server.

Basic Perfomance Tuning For stuck threads and response times

Documentation for performance tuning: https://docs.oracle.com/en/middleware/fusion-middleware/12.2.1.4/asper/redundant-cross-references-remo...