1 2 Previous Next 17 Replies Latest reply on Jan 31, 2013 10:02 AM by campos

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

    tortoisetnt

      I am setting up a system to run on a test machine here and have been having a few problems with the port settings in JBoss.

      When I start JBoss I get a message similar to the following:

      java.net.BindException: Address already in use: JVM_Bind
      Cause: java.rmi.server.ExportException: Port already in use: 1098; nested exception is:
      java.net.BindException: Address already in use: JVM_Bind

      Using netstat it appears that port 1098 is NOT being used which has left me scratching my head.

      In the past I have managed to get around this by changing the ports to unlikely values (i.e. 10098). This allowed me to start JBoss once but if we needed to restart JBoss again we problem re-appears and doesn't go away without a restart of the machine or changing the port to something different and as equally unlikely.

      This suggests that windows (im using 2003 server) may not be releasing ports as i expect. Has anybody come across this before or has any idea what might be happening?

      Thanks in advance for your help,

      James

        1 2 Previous Next