4 Replies Latest reply on Feb 13, 2007 9:32 AM by Kurt Stam

    Installing JBoss ESB in clustered environment

    Ashish Rajhansha Newbie

      I have successfully installed and tested JBoss ESB on standalone JBoss AS installations and tested it using quickstart samples. However I am having problem running in a clustered environment. I can start up the first JBossAS fine. But get the following error on trying to start up the second JBoss AS in the cluster.

      11:23:00,784 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      11:23:02,151 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=juddiDB' to JNDI name 'java:juddiDB'
      11:23:02,302 INFO [JuddiRMIService] starting juddi RMI service
      11:23:03,286 ERROR [STDERR] javax.naming.NameAlreadyBoundException
      11:23:03,288 ERROR [STDERR] at org.jnp.server.NamingServer.bind(NamingServer.java:144)
      11:23:03,301 ERROR [STDERR] at org.jboss.ha.jndi.TreeHead.bind(TreeHead.java:114)
      11:23:03,313 ERROR [STDERR] at org.jboss.ha.jndi.HAJNDI.bind(HAJNDI.java:137)
      11:23:03,322 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      11:23:03,324 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      11:23:03,324 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      11:23:03,325 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      11:23:03,332 ERROR [STDERR] at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:258)
      11:23:03,333 ERROR [STDERR] at $Proxy56.bind(Unknown Source)
      11:23:03,333 ERROR [STDERR] at org.jnp.interfaces.NamingContext.bind(NamingContext.java:566)
      11:23:03,334 ERROR [STDERR] at org.jnp.interfaces.NamingContext.bind(NamingContext.java:531)
      11:23:03,334 ERROR [STDERR] at javax.naming.InitialContext.bind(InitialContext.java:400)
      11:23:03,335 ERROR [STDERR] at org.apache.juddi.registry.rmi.JNDIRegistration.register(JNDIRegistration.java:78)
      11:23:03,335 ERROR [STDERR] at org.jboss.internal.soa.esb.dependencies.JuddiRMIService.startService(JuddiRMIService.java:23)
      11:23:03,335 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      11:23:03,336 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      11:23:03,337 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      11:23:03,345 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      11:23:03,346 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      11:23:03,346 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      11:23:03,346 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      11:23:03,347 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      11:23:03,347 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      11:23:03,347 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      11:23:03,348 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      11:23:03,348 ERROR [STDERR] at $Proxy0.start(Unknown Source)
      11:23:03,349 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
      11:23:03,358 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:435)
      11:23:03,358 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:435)
      11:23:03,359 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:435)
      11:23:03,359 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:435)
      11:23:03,359 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:435)
      11:23:03,360 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      11:23:03,360 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      11:23:03,361 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      11:23:03,361 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      11:23:03,361 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      11:23:03,368 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      11:23:03,368 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      11:23:03,369 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      11:23:03,369 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      11:23:03,370 ERROR [STDERR] at $Proxy4.start(Unknown Source)
      11:23:03,370 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      11:23:03,371 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      11:23:03,371 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      11:23:03,557 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      11:23:03,558 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      11:23:03,558 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      11:23:03,559 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      11:23:03,560 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      11:23:03,560 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      11:23:03,560 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      11:23:03,561 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      11:23:03,562 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      11:23:03,571 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      11:23:03,572 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      11:23:03,574 ERROR [STDERR] at $Proxy42.start(Unknown Source)
      11:23:03,574 ERROR [STDERR] at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
      11:23:03,576 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      11:23:03,591 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      11:23:03,591 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      11:23:03,592 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
      11:23:03,593 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      11:23:03,593 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      11:23:03,594 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      11:23:03,595 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      11:23:03,606 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      11:23:03,606 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      11:23:03,607 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      11:23:03,608 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      11:23:03,608 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      11:23:03,609 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      11:23:03,609 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      11:23:03,609 ERROR [STDERR] at $Proxy8.deploy(Unknown Source)
      11:23:03,621 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
      11:23:03,621 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
      11:23:03,621 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
      11:23:03,622 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
      11:23:03,623 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      11:23:03,623 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      11:23:03,623 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      11:23:03,624 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      11:23:03,624 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      11:23:03,624 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      11:23:03,625 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      11:23:03,636 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      11:23:03,636 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      11:23:03,637 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      11:23:03,637 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      11:23:03,637 ERROR [STDERR] at $Proxy0.start(Unknown Source)
      11:23:03,638 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
      11:23:03,638 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      11:23:03,639 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      11:23:03,639 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      11:23:03,640 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      11:23:03,651 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      11:23:03,652 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      11:23:03,652 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      11:23:03,652 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      11:23:03,653 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      11:23:03,654 ERROR [STDERR] at $Proxy4.start(Unknown Source)
      11:23:03,654 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      11:23:03,666 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      11:23:03,666 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      11:23:03,666 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      11:23:03,667 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
      11:23:03,667 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      11:23:03,667 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      11:23:03,668 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      11:23:03,668 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      11:23:03,669 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      11:23:03,669 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      11:23:03,669 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      11:23:03,670 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      11:23:03,681 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      11:23:03,681 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      11:23:03,682 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      11:23:03,682 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      11:23:03,683 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      11:23:03,683 ERROR [STDERR] at $Proxy5.deploy(Unknown Source)
      11:23:03,684 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
      11:23:03,684 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      11:23:03,685 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200)
      11:23:03,697 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:490)
      11:23:03,698 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
      11:23:04,528 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=JBossESBDS' to JNDI name 'java:JBossESBDS'
      11:23:04,539 INFO [ConfigurationControllerService] starting message configuration controller with config file jbossesb.xml