0 Replies Latest reply on Oct 27, 2008 6:24 PM by Peter Steiner

    Port already in use: 1098 - Change "ReservedPorts" in Regist

    Peter Steiner Newbie

      When I start JBoss v4.2.3 on my computer I get always an startup error

      java.rmi.server.ExportException: Port already in use: 1098

      netstat -ano

      shows no other process which is blocking this port.
      So I decided to reserve ephemeral ports like described e.g. here:

      http://www.jboss.com/index.html?module=bb&op=viewtopic&t=64248

      with a *.reg file like:

      [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
      "ReservedPorts"=hex(7):31,00,30,00,39,00,38,00,2d,00,31,00,30,00,39,00,39,00,\
      00,00,00,00

      However this did not help.

      Why?

      The only way was to change the RmiPort in jboss-service.xml from 1098 to 1198

      Why did the Registry patch not help?
      Do I have to re-boot for getting the Registry patch be active?

      Are there any problems when changing the jboss-service.xml RmiPort?

      Peter