I have set-up two servers as per the instructions on this forum (messaging-node0 and messaging-node1).
Then run the stateless-clustered smoke test:
deploy: [copy] Copying 1 file to /home/tim/dev/jboss-4.2.0.GA/server/messaging-node0/farm [copy] Copying 1 file to /home/tim/dev/jboss-4.2.0.GA/server/messaging-node0/farm sleep: [echo] Sleeping for 15 seconds ... run: send-and-receive: [java] The Hello! message was successfully sent to the /queue/testFarmQueue queue [java] java.lang.RuntimeException: Assertion failed, 1 != 0 [java] at org.jboss.example.jms.common.ExampleSupport.assertEquals(ExampleSupport.java:72) [java] at org.jboss.example.jms.statelessclustered.client.Client.example(Client.java:83) [java] at org.jboss.example.jms.common.ExampleSupport.run(ExampleSupport.java:137) [java] at org.jboss.example.jms.statelessclustered.client.Client.main(Client.java:123) [java] ##################### [java] ### FAILURE! ### [java] ##################### BUILD FAILED /home/tim/dev/jboss-messaging/trunk/docs/examples/stateless-clustered/build.xml:94: The following error occurred while executing this line: /home/tim/dev/jboss-messaging/trunk/docs/examples/stateless-clustered/build.xml:103: Java returned: 1
I notice this test is currently using hardcoded port values for the JNDI ic.
It needs to be using the values from jndi.properties and these should match ports-01 and ports-02 like the other tests.
Sergey - can you have a look please?