<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Can I configure JMS XA Recovery for use with Amazon EC2 auto-scaling in EAP 5.1.2?
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/stso0001">Stanley Tso</a> in <i>JBoss Messaging</i> - <a href="https://community.jboss.org/message/826014#826014">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>I am attempting to configure a cluster of JBoss EAP 5.1.2 nodes at Amazon EC2.  My goal is to set up a template image so that I can use the nearly the same configuration when I add new nodes with Amazon auto-scaling.  I am following the documentation at <strong><a class="jive-link-external-small" href="https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/5/html-single/Messaging_User_Guide/index.html#recovery" rel="nofollow" target="_blank">https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/5/html-single/Messaging_User_Guide/index.html#recovery</a></strong> and I need clarification on what it is saying.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Let say that I add a new JBoss node using Amazon auto-scaling and I wish for this node to join the existing JBoss cluster, in particular JMS.  Is it even possible for a new JMS node to dynamically appear in the cluster and participate in the JMS XA recovery process?  My understanding of what the documentation says is that it is possible for a new JMS provider to be defined and added dynamically in "<strong>server/all/deploy/messaging/hajndi-jms-ds.xml</strong>" because this file is located in a directory watched by the hot deployment scanner.  I would have to add the new provider (JMS node) to all of the existing JMS nodes in this particular configuration file.  However, for new JMS nodes to participate in JMS XA recovery, would I have to also modify "<strong>server/all/conf/jbossts-properties.xml</strong>" to tell the recovery manager that there are new JMS nodes from which we must recover?  Isn't this file statically loaded by each JBoss node and if so, does that mean I have to restart the existing JBoss JMS nodes to pick up this new configuration?  That would defeat the purpose of auto-scaling in the first place, wouldn't it?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Am I on the right track here?  Thank you in advance for your help!</p><p>Stan Tso</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/826014#826014">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Messaging at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>