I am using two virtual hosts with context root / for each virtual host. This works happily for running jsp pages. If I try to make both web apps distributable then I get the problem
ERROR [EmbeddedCatalinaService41] Could not register ClusterManagerMBean to MBeanServer
javax.management.InstanceAlreadyExistsException: jboss.web:service=ClusterManager,context=/ already registered
where the second web app cannot register for clustering as the context root / is already taken for the first virtual host. Is there away around this? which will allow both virtual hosts to be distributed and does not require using a context root other than /.
I am able to do this with JRun 4, so I would like to know whether this is possible in JBoss.
I am using jboss-3.2.1_tomcat-4.1.24.