0 Replies Latest reply on Oct 14, 2001 2:58 PM by John Baker

    JVM Bind problem. Must restart machine!!

    John Baker Newbie

      Every now and then after shutting jboss 2.4.1 down (on Win NT) I cannot restart it without the EJB deployment forever failing from that point on. The only solution I have found is to completely reboot the entire machine! This is pretty irritating during development as I need to restart jboss pretty often.

      Is this a known bug with a workaround or could I have overlooked something about running jboss etc? However, the only config I change is generally just the connection pool settings.

      [Container factory] Deploying TCaseSession
      [Container factory] java.rmi.ServerException: Could not bind either home or invoker; nested exception is:
      [Container factory] java.rmi.server.ExportException: Port already in use: 4444; nested exception is:
      [Container factory] java.net.BindException: Address in use: JVM_Bind
      [Container factory] java.rmi.server.ExportException: Port already in use: 4444; nested exception is:
      [Container factory] java.net.BindException: Address in use: JVM_Bind
      [Container factory] java.net.BindException: Address in use: JVM_Bind
      [Container factory] at java.net.PlainSocketImpl.socketBind(Native Method)
      [Container factory] at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:397)
      [Container factory] at java.net.ServerSocket.(ServerSocket.java:170)
      [Container factory] at java.net.ServerSocket.(ServerSocket.java:82)
      [Container factory] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:30)
      [Container factory] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:312)
      [Container factory] at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:559)
      [Container factory] at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:200)
      [Container factory] at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:172)
      [Container factory] at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:319)
      [Container factory] at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:119)
      [Container factory] at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:125)
      [Container factory] at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:109)
      [Container factory] at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:278)
      [Container factory] at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:209)
      [Container factory] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.start(JRMPContainerInvoker.java:265)
      [Container factory] at org.jboss.ejb.StatelessSessionContainer.start(StatelessSessionContainer.java:192)
      [Container factory] at org.jboss.ejb.Application.start(Application.java:218)
      [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:374)
      [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:304)
      [Container factory] at java.lang.reflect.Method.invoke(Native Method)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [Container factory] at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:486)
      [Container factory] at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:464)
      [Container factory] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:208)
      [Container factory] at java.lang.reflect.Method.invoke(Native Method)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [Container factory] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:379)
      [Container factory] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217)
      [Container factory] at org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:353)
      [Container factory] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:107)
      [Container factory] at java.lang.reflect.Method.invoke(Native Method)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [Container factory] at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:836)
      [Container factory] at $Proxy0.start(Unknown Source)
      [Container factory] at org.jboss.util.ServiceControl.start(ServiceControl.java:81)
      [Container factory] at java.lang.reflect.Method.invoke(Native Method)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [Container factory] at org.jboss.Main.(Main.java:210)
      [Container factory] at org.jboss.Main$1.run(Main.java:116)
      [Container factory] at java.security.AccessController.doPrivileged(Native Method)
      [Container factory] at org.jboss.Main.main(Main.java:112)