1 Reply Latest reply on Sep 28, 2002 5:00 PM by meeraj

    Installing 2 JBoss on the same machine

    Igor Vinnikov Newbie

      Hi, all.

      I need to install 2 JBoss instances on the same machine. They must work in cluster. I perform all steps from http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/ but when I start second JBoss instance I have Corba problem:

      2002-09-25 09:46:24,132 ERROR [STDERR] ORB: could not initialize Root POA!
      2002-09-25 09:46:24,212 ERROR [STDERR] java.lang.NullPointerException
      2002-09-25 09:46:24,212 ERROR [STDERR] at org.jacorb.orb.ORB.getServerAddress(ORB.java:838)
      2002-09-25 09:46:24,222 ERROR [STDERR] at org.jacorb.orb.ORB.createIOR(ORB.java:429)
      2002-09-25 09:46:24,222 ERROR [STDERR] at org.jacorb.orb.ORB.getReference(ORB.java:699)
      2002-09-25 09:46:24,222 ERROR [STDERR] at org.jacorb.poa.POA.getReference(POA.java:999)
      2002-09-25 09:46:24,232 ERROR [STDERR] at org.jacorb.poa.POA.create_reference_with_id(POA.java:701)
      2002-09-25 09:46:24,242 ERROR [STDERR] at org.jboss.iiop.CorbaORBService.startService(CorbaORBService.java:156)
      2002-09-25 09:46:24,242 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164)
      2002-09-25 09:46:24,252 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method)
      2002-09-25 09:46:24,252 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      2002-09-25 09:46:24,262 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      2002-09-25 09:46:24,262 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:967)
      2002-09-25 09:46:24,272 ERROR [STDERR] at $Proxy5.start(Unknown Source)
      2002-09-25 09:46:24,272 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:396)
      2002-09-25 09:46:24,282 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method)
      2002-09-25 09:46:24,282 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      2002-09-25 09:46:24,292 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      2002-09-25 09:46:24,292 ERROR [STDERR] at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      2002-09-25 09:46:24,302 ERROR [STDERR] at $Proxy3.start(Unknown Source)
      2002-09-25 09:46:24,302 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:249)
      2002-09-25 09:46:24,312 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)
      2002-09-25 09:46:24,312 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
      2002-09-25 09:46:24,322 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
      2002-09-25 09:46:24,332 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method)
      2002-09-25 09:46:24,332 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      2002-09-25 09:46:24,342 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      2002-09-25 09:46:24,342 ERROR [STDERR] at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      2002-09-25 09:46:24,352 ERROR [STDERR] at $Proxy4.deploy(Unknown Source)
      2002-09-25 09:46:24,352 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:427)
      2002-09-25 09:46:24,362 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:648)
      2002-09-25 09:46:24,362 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:499)
      2002-09-25 09:46:24,372 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:261)
      2002-09-25 09:46:24,372 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164)
      2002-09-25 09:46:24,382 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method)
      2002-09-25 09:46:24,382 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      2002-09-25 09:46:24,392 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      2002-09-25 09:46:24,402 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:967)
      2002-09-25 09:46:24,402 ERROR [STDERR] at $Proxy0.start(Unknown Source)
      2002-09-25 09:46:24,402 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:396)
      2002-09-25 09:46:24,412 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method)
      2002-09-25 09:46:24,412 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      2002-09-25 09:46:24,422 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      2002-09-25 09:46:24,432 ERROR [STDERR] at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      2002-09-25 09:46:24,432 ERROR [STDERR] at $Proxy3.start(Unknown Source)
      2002-09-25 09:46:24,432 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:249)
      2002-09-25 09:46:24,442 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)
      2002-09-25 09:46:24,452 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
      2002-09-25 09:46:24,452 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
      2002-09-25 09:46:24,462 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:564)
      2002-09-25 09:46:24,462 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method)
      2002-09-25 09:46:24,472 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      2002-09-25 09:46:24,472 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      2002-09-25 09:46:24,482 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324)
      2002-09-25 09:46:24,492 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
      2002-09-25 09:46:24,492 ERROR [STDERR] at org.jboss.Main.boot(Main.java:142)
      2002-09-25 09:46:24,492 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:375)
      2002-09-25 09:46:24,502 ERROR [STDERR] at java.lang.Thread.run(Thread.java:479)

      What I need to configure to solve this problem?
      Also, I need a distributed transactions. So, I need to use Tyrex transaction manager? As I know, Tyrex use Corba. Is a Corba-service need to be started on both JBoss instances in order to Tyrex work?