<!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;">
Re: Transactional MSC
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/dmlloyd">David Lloyd</a> in <i>JBoss Transactions Development</i> - <a href="https://community.jboss.org/message/828664#828664">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>OK I will attempt to answer as many questions as I can.</p><blockquote class="jive-quote"><p><span style="font-size: 10pt;">[Q] Is it correct that the audit should contain the update (and it's outcome), even if the transaction failed and also in the presence of a crash?</span></p></blockquote><p>Starting off with the tough ones I see. <span> :) </span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Currently our audit requirements are met by using syslog-style remote logging, which is done in a very ad-hoc manner (i.e. without sensitivity to crashes).  It will be difficult, regardless of the answer to this question, to both meet the remote log requirement as well as dealing with the possibility of crashing.  AFAIK there is no way to log to syslog transactionally.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Ignoring that problem though, my feeling is that we are only required to Audit (with a capital A) changes that were successfully made, but we do want to at least locally log (in a human-readable fashion) failures as well.</p><blockquote class="jive-quote"><p><span style="font-size: 10pt;">[Q] Can the ObjectStore that the application user configures be used by the MSC?</span></p></blockquote><p>I think not.  I think we will want to isolate the administration actions from the user's transactions as completely as possible.</p><blockquote class="jive-quote"><p><span style="font-size: 10pt;">[Q] Must the transaction/recovery manager allow separate object stores to be configured?</span></p></blockquote><p>Only insofar as the previous requirement can be met.</p><blockquote class="jive-quote"><p><span style="font-size: 10pt;">[Q] When using the CLI to browse the object store to resolve transactions manually, must the MSC and application transactions both be visible?</span></p></blockquote><p>Just application transactions.  The MSC/management transactions should be separately recoverable, as the management system cannot be initialized without its database.</p><blockquote class="jive-quote"><p><span style="font-size: 10pt;">[Q] Should the transactions initiated by Transactional MSC be present in the user's view of the agregate statistics gathered by Narayana?</span></p></blockquote><p>No.</p><blockquote class="jive-quote"><p><span style="font-size: 10pt;">[Q] Does it matter if the recovery manager recovers both Transactional MSC's transactions and the applications' tranactions?</span></p></blockquote><p>Yes (see above).</p><blockquote class="jive-quote"><p><span style="font-size: 10pt;">[Q] Do MSC's transactions need to be recovered before the server finishes booting?</span></p></blockquote><p>Yes.</p><blockquote class="jive-quote"><p><span style="font-size: 10pt;">[Q] Are there any configuration options in Narayana that cannot be shared between MSC and the applications? The issue here being that the user could make a configuration change that would be detrimental to the operation of MSC. Do we need to consider all those exposed via the ArjunaCore Environment Beans, or just those exposed via the WildFly managent API?</span></p></blockquote><p>Yes.  The object store should be separate as mentioned above.  The recovery system should probably not be (directly) network-enabled for MSC.  Looking over the environment beans, I'm going to say "yes these need to be considered".  I see many parameters that seem likely to be able to cause trouble for the management system.</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/828664#828664">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Transactions Development at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2041">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>