3 Replies Latest reply on Jun 24, 2002 11:13 AM by calvin_cc

    Multiple JBoss 3.0 Instances

    calvin_cc

      There have been a few post on this and it looked like one guy got it to work in one of the 3.0 release canidates but I've just not been able to. So far, I've changed all
      the ports in the jboss-service.xml and standardjboss.xml and the jetty port in the jetty sar. These are the errors that I get when starting up.

      15:21:00,413 ERROR [OILServerILService] Starting failed
      java.net.BindException: Address in use: JVM_Bind
      at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:452)
      at java.net.ServerSocket.(ServerSocket.java:170)
      at org.jboss.mq.il.oil.OILServerILService.startService(OILServerILServic
      e.java:536)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:162)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:894)
      at $Proxy6.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:340)

      15:21:00,593 ERROR [SARDeployer] start operation failed on package file:/C:/jbos
      s2-3.0.0/server/default/deploy/jbossmq-service.xml
      java.net.BindException: Address in use: JVM_Bind
      at java.net.PlainSocketImpl.socketBind(Native Method)
      at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:452)
      at java.net.ServerSocket.(ServerSocket.java:170)
      at org.jboss.mq.il.oil.OILServerILService.startService(OILServerILServic

      Thanks for any help.

        • 1. Re: Multiple JBoss 3.0 Instances
          davidjencks

          A couple of people are working hard to make this easy with a centralized configuration service that lets you assign all the ports in one place for all the servers on a machine (as I understand it). I think this will be in 3.0.1 which will probably be released next week. Meanwhile you can track its progress on the dev list and in cvs.

          • 2. Re: Multiple JBoss 3.0 Instances
            calvin_cc

            Thanks David, this sounds promising. Unfortunately for me, I have to do a release into production this week and must have two instances of JBoss on the same box. If anyone has any step by step directions of what needs to be done, it would greatly be appreciated.

            • 3. Re: Multiple JBoss 3.0 Instances
              calvin_cc

              Hey, I finally got it to work. If anyone is interested in what files need changed, it is:

              jboss-service.xml
              standardjboss.xml
              jbossmq-service.xml