-
1. Re: JBoss Messaging clustering
timfox Mar 4, 2008 5:14 AM (in response to 143564)Did you manage to successfully run the examples, including the clustering examples?
(See user guide) -
2. Re: JBoss Messaging clustering
143564 Mar 4, 2008 5:54 AM (in response to 143564)Hi ,
Thanks for your reply.Examples are working fine. but the example destinations are not clustered.for example,
but my destinations are having,extra attribute which is clustered is true
true
Is it wrong? i followed as per the specification.when changed it as false, working fine. -
3. Re: JBoss Messaging clustering
143564 Mar 4, 2008 8:31 AM (in response to 143564)Hi,
- Queue and Topic examples ran well
- Getting exceptions while trying to run the other(Queue Failover, mdb etc.) examples.
- When I shut down the Node1 server
- Queue and Topic examples ran well
- Getting exceptions while trying to run the other(Queue Failover, mdb etc.) examples.
I get following error when i execution the distributed-queue
compile:
run:
[java] Distributed queue /queue/testDistributedQueue exists
[java] java.lang.RuntimeException: Assertion failed, 2 == 2
[java] at org.jboss.example.jms.common.ExampleSupport.assertNotEquals(ExampleSupport.java:85)
[java] at org.jboss.example.jms.distributedqueue.DistributedQueueExample.example(DistributedQueueExample.java:83)
[java] at org.jboss.example.jms.common.ExampleSupport.run(ExampleSupport.java:147)
[java] at org.jboss.example.jms.distributedqueue.DistributedQueueExample.main(DistributedQueueExample.java:167)
[java]
[java] #####################
[java] ### FAILURE! ###
[java] #####################
BUILD FAILED
/opt/jboss-messaging-1.4.0.SP3/examples/distributed-queue/build.xml:85: Java returned: 1 -
4. Re: JBoss Messaging clustering
timfox Mar 4, 2008 1:42 PM (in response to 143564)Sounds like your installation failed.
Did you follow the installation instructions in the user guide exactly? -
5. Re: JBoss Messaging clustering
143564 Mar 11, 2008 3:55 PM (in response to 143564)Thanks for your reply.
I configured properly.i alreay configured my ejb clustering, tree cachee .. working finely.
JBM examples are working fine except the failover queue & distributed queues . I dont know what i did wrong.
I couldn't find actual problem in my configuration.
What is mean of RuntimeException:Assertion failed, 2 == 2 ?
Please help me .. -
6. Re: JBoss Messaging clustering
143564 Mar 11, 2008 4:18 PM (in response to 143564)Hi,
Example does indeed work out of the box when I run it the with two instances on the same machine (as described in the user guide). But shifting over to two boxes different machines is still broken, even when changing to an IP address bind.
I noticed when starting up two instances on the same machine I didn't get any SUSPECT messages. Is there a reason I would be getting those in a two machine situation? Would it affect the outcome of the test? -
7. Re: JBoss Messaging clustering
clebert.suconic Mar 11, 2008 5:11 PM (in response to 143564)Take a look on the build.xml under examples... I believe it's binding to localhost.
-
8. Re: JBoss Messaging clustering
clebert.suconic Mar 11, 2008 5:14 PM (in response to 143564)Actually... under ./mdb/etc
File: jndi.properties:### JBossNS properties java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.provider.url=jnp://localhost:1099 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
If you place your server in another IP, you might have to change this. -
9. Re: JBoss Messaging clustering
clebert.suconic Mar 11, 2008 5:44 PM (in response to 143564)Another possible thing is your network not having UDP routes between these two servers. Take a look at logs if each server can find each other.
I believe in an older version of JBM, the default JGroups configuration provided on JBM only set JGroups on localhost, but that should be fixed now. But anyway.. you should double check that also.