Online documentation - Websydian v6.1

FAQ - Error while initializing servlet (Address already in use)

Product Websydian DWA
Version Websydian 3.1 and up
Category DWA Deployment (Relay Service)
Question In the Relay Service log the following error message is reported.

"Error while initializing servlet - [IO error]:ServerFactory(): Error setting socket option (java.net.BindException: Address already in use.)."

Answer This error message informs the administrator that the Relay Service were unable to allocate a command port using the parameters servlet.commandipaddr, and servlet.commandport supplied in the Relay Service property file.

The resolution to this problem is one of the following:

  1. Running WebSphere on iSeries make sure that the correct IP Address is specified for the parameter servlet.commandipaddr. Do NOT use the parameter <default>.
  2. Make sure that the IP address specified is correct.
  3. Make sure that the TCP port specified is not all ready being used by another process.