1 Reply Latest reply on May 2, 2002 3:58 PM by Fabian Schlimper

    Troubles with JBoss shutdown

    Andrea Giovannini Newbie

      Hi,
      I'm using JBoss2.4.4+Tomcat4.0.1 on Win2k Professional with Sun JDK 1.3.0_2

      When I restart the server after a shutdown sometimes I get
      this error:
      [INFO,NamingService] Starting jnp server
      [ERROR,NamingService] Could not start on port 1099
      java.net.BindException: Address in use: JVM_Bind
      at java.net.PlainSocketImpl.socketBind(Native Method)
      at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:422)
      at java.net.ServerSocket.(ServerSocket.java:170)
      at org.jnp.server.Main.start(Main.java:200)
      at org.jboss.naming.NamingService.startService(NamingService.java:148)
      at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103
      )
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
      28)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(Conf
      igurationService.java:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
      28)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.Main.(Main.java:208)
      at org.jboss.Main$1.run(Main.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:106)
      [INFO,NamingService] InitialContext Environment:

      If a wait some more minutes from the shutdown then I don't get this error anymore.

      Any idea??

      Thank you very much in advance.
      Regards,
      Andrea