3 Replies Latest reply on Mar 14, 2008 5:03 AM by mars1412

    somtimes hotdeployment fails - port 1099 is in use

      usually the hotdeployment of .xhtml files in JBDS works fine.
      but sometimes after starting/restarting the JBoss server from eclipse, I have the following problem:

      when I start the JBoss server, I see the following problem in the console:

      09:59:51,579 INFO [WebService] Using RMI server codebase: http://WORKSTATION01:8083/
      09:59:51,579 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
      09:59:51,875 ERROR [Naming] Could not start on port 1099
      java.net.BindException: Address already in use: JVM_Bind
       at java.net.PlainSocketImpl.socketBind(Native Method)


      if this error occurs, then hotdeployment of the .xhtml files does not work anymore (and also the restart-server symbol is deactivated)

      what is strange, is that when I check the TCP ports, I see, that port 1099 is not used (most of the time) but in regular periods eclipse seems to open this port and closes it again.

      In this situation I need to restart my PC (which is very annoying).
      Restarting JBDS does not help.
      Note: Closing JBDS and restarting it does not help.

      Any ideas why this happens or workarounds, so that I don't have to restart my machine?

      I am using JBoss 4.2.0.GA and JBDS 1.0.0.GA.