I have setup a JBoss 5.0 Cluster with JMS Topic deployed in deploy-hasingleton, my first instance starts successfully but when second node starts i am getting this exception, one thing weird i have noticed is that sometimes second node starts smoothly, i dont get this exception - i had to retry 4-5 times to start the server. Can anyone help me in this?
javax.jms.InvalidDestinationException: No such destination: JBossTopic[MyMessage] has it been deployed?
The deploy-hasingleton is a relict from JBossMQ, it was not really clustered.
With JBoss5 you will have JBossMessaging and you can use is as is within a cluster.
The configuration of a queue/topic can be clustered or not.
BTW: I recommend to use JBoss 5.1