I am having trouble setting up a load balanced environment for ice faces.
I have the following set up:
Apache 2.2.8 Server
2 servers with Jboss 4.2.2.GA installed - app1 and app2. (The Jboss servers are configured to RMI port 2099).
I think I have the Appache configuration correct based on the Icefaces Developer Guide.
It is when I try to start the Jboss server I get into problems.
The first Jboss server starts up ok and the AHS servlet starts and our icefaces appliaction starts up and connects to the JMS service.
When I start up the second Jboss server I see that both Jboss servers talk to each other but when the Icefaces application attempts to connect to the JMS service "localhost:2099" then I get the following exception:
Failed to subscribe to topic: icefacesContextEventTopic
Exception message: javax.naming.NameNotFoundException: ConnectionFactory not bound
Exception cause: javax.naming.NameNotFoundException: ConnectionFactory not bound
Is there something I have to do to allow both Jboss servers to have the JMS service running concurrently?
Are you using JBoss' HA (High Availability) JMS? JBoss by default can be started in three ways: all, default and minimal. all in this case is pre-configured to use HA JMS. Are you using this or a derivative of this?
Jack van Ooststroom
ICEsoft Technologies, Inc.
I am running Jboss HA (-c all command line option).
After reading further into the Jboss documentation I found that by default my Jboss servers were clustered and that when the second application server was started the JMS topics were unbound from the first server and bound to the second server.
Configuring Jboss to use different multicast ports for each each server solved this.