Yes, I am on this one. The work is not big enough to split effectively between two of 
us.

If you'd like to help, you can write a test plan and example client code for the 
upcoming HA-JMS improvements. The deliverables should include a document with 
step-by-step instructions along with source code and binaries that will allow someone 
to verify that HA-JMS is running fine.
An example scenario:

-- start of example --
1) Install and configure two identical instances of JBoss 3.2.4 or later on two 
computers that reside on the same subnet

2) Configure the DefaultDS on both JBoss  instances to point to a single database, 
preferably PostgreSQL, MySQL or another production grade database

3) Start JBoss in configuration "all" on both servers 

4) Run the provided example client code  (this is where you come in, mkprim)

3) You should see the following output:
  - Connection established successfully to HA-JMS via HAJNDI
  - Successfully registered a durable subscribtion for topic TestHAJMSTopic
  - Successfully registered publisher for topic TestHAJMSTopic 
  - Sent test message "TestMessage1"
  - Received test message "TestMessage1"
  - Disconnecting without unregistering subscriber in order to test durable 
subscription fail-over
  - Connecting and registering another publisher
  - Sending message for durable subscription "DurableTestMessage1". Message sent.

4) Now login to the jmx console on one of the two JBoss servers and inspect the MBean 
named jboss.mq:service=HAJMSSingletonController. See the value of the attribute 
CurrentSingletonHost. The attribute should indicate which of the two servers is the 
acting singleton.

5) Stop the singleton JMS server

6) In the console executing the client code, you should see the following messages:
  - Received JMS connection listener exception. Reconnecting...
  - Connection established successfully to HA-JMS via HAJNDI
  - Successfully registered a durable subscribtion for topic TestHAJMSTopic
  - Received durable failover test message "DurableTestMessage1"
  - HA-JMS example passed!

If all the steps above passed as described, then you have a working HA-JMS deployment.

-- end of example --

... and so on. 5 or 6 more test scenarios like this would be a great addition to the 
JBoss wiki, once 3.2.4 goes out:
http://jboss.org/wiki/Wiki.jsp


Ivelin




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822629#3822629

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822629


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to