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.

It complains about registering the scout-juddi RMI connection while it is already registered to JNDI. If you are not going to RMI, but rather the local transport then you can simply comment out this service.

To do this go into the jbossesb-dependencies.sar/META-INF. Open up the service.xml and comment out the following section: