Hi,
I've create a simple MDB which listens to a queue defined in queue-service.xml. When i start up the first node you can see the queue being create and the MDB being deployed. When is start the second node i get a:
org.jboss.deployment.DeploymentException: Error during queue setup; - nested throwable: (javax.jms.InvalidDestinationException: The destination QUEUE.lo3_queue does not exist !)
When i start the second node when the first one is down then it works fine as well.
Some information:
I work with jboss-4.0.2 on a Windows (Terminal) machine and trying to create 2 nodes on 1 machine. On startup they see eachtother.
I changed the settings in the conf/jboss-service to ports-01 on node1 and ports-02 on node2.
I then changed a setting in the deploy/jms/hajndi-jms-ds.xml to java.naming.provider.url=localhost:1200 and java.naming.provider.url=localhost:1300 on the second node.
I changed the setting for HAJNDI to 1200 in the depoy/cluster-service.xml on both nodes (port 1300 on the second node)
I also set the loopback to true on bots deploy/cluster-service.xml
I copied the all folder and renamed them and changed settings as indicated above
What also happens when i change settings is that i get the following Exception:
14:06:30,120 ERROR [FarmMemberService] Initialization failed jboss:partition=DefaultPartition,service=FarmMember
org.jboss.system.MissingAttributeException: Missing attribute 'Deployer'
What am i missing? It has to do something with the setting/configuration.
Thanks,
Maarten