[
http://jira.jboss.com/jira/browse/JBMESSAGING-966?page=comments#action_12... ]
Tim Fox commented on JBMESSAGING-966:
-------------------------------------
All distributed smoke tests are running apart fromt this one.
I have created two messaging configurations, messaging-node0 and messaging-node1 as per
the instructions on the dev forum.
messaging-node0 uses ports-01 and messaging-node1 uses ports-02.
I get the following:
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 er
ror occurred while executing this line:
/home/tim/dev/jboss-messaging/trunk/docs/examples/stateless-clustered/build.xml:103: Java
returned:
1'
I notice that the test is using hardcoded jndi properties - this is not right.
The properties must be picked up from jndi.properties, this is important so the user can
run the tests themselves, and they might have servers running on different ports/hosts.
Create clustered ejb smoke test
-------------------------------
Key: JBMESSAGING-966
URL:
http://jira.jboss.com/jira/browse/JBMESSAGING-966
Project: JBoss Messaging
Issue Type: Task
Reporter: Sergey Koshcheyev
Assigned To: Sergey Koshcheyev
Fix For: 1.3.0.GA
From my conversation with Tim:
[11:02:10] Tim Fox says: there is another smoke test we need
[11:02:18] Tim Fox says: clustered ejb, running in the all config
[11:03:01] Tim Fox says: the clustered calls a clustered JBM queue
[11:03:15] Tim Fox says: the JBM queue is deployed using the farm directory
[11:03:58] Tim Fox says: the client invokes the clustered ejb and then consumes the
message from the clustered queue
[11:04:08] Tim Fox says: the quue and ejb home is looked up using HAJNDI
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira