<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Roy,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">As far as I can recall, XA_END is something that happens prior to preparing and committing the distributed connection.&nbsp; The sequence is basically:<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XA_START<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XA_END<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XA_PREPARE<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XA_COMMIT<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">XA_END is issued when the XA Transaction Manager calls javax.transaction.xa.XAResource.end() &#8211; not that it will help you much.&nbsp; Our JdbcXAConn class implements the XAConnection and XAResource interfaces and is controlled by a JDBC connection
 pool manager and XA Transaction Manager.&nbsp; What actions drive those resources is a bit of a mystery to me.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Gordy<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Karl and Betty Schendel [mailto:schendel@kbcomputer.com]
<br>
<b>Sent:</b> Thursday, December 21, 2017 9:21 AM<br>
<b>To:</b> Gordon Thorpe &lt;Gordon.Thorpe@actian.com&gt;<br>
<b>Subject:</b> Fwd: [Info-ingres] What does XA_END mean in the SC930 log?<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Hi Gordy,<br>
don't know if you still see info-ingres questions...<br>
I can sort of answer the first one, but XA in general is a black box to me.<br>
<br>
Karl<br>
<br>
<br>
&gt; Begin forwarded message:<br>
&gt; <br>
&gt; From: Roy Hann &lt;<a href="mailto:specially@processed.almost.meat">specially@processed.almost.meat</a>&gt;<br>
&gt; Subject: [Info-ingres] What does XA_END mean in the SC930 log?<br>
&gt; Date: December 21, 2017 at 11:54:33 AM EST<br>
&gt; To: <a href="mailto:info-ingres@lists.planetingres.org">info-ingres@lists.planetingres.org</a><br>
&gt; <br>
&gt; When I see an XA_END in the trace log, what will have happened to cause<br>
&gt; that? Is there a JDBC XAconnection method to explicitly signal the end<br>
&gt; of the transaction or is it (somehow) implicit?<br>
&gt; <br>
&gt; If there was a transaction open but there was no preceding XA_COMM is<br>
&gt; the transaction implicitly committed or rolled back? (I guess it is<br>
&gt; committed.)<br>
&gt; <br>
&gt; Is whatever it is that causes an XA_END to be logged a legitimate<br>
&gt; alternative to explicitly executing the commit method on the session<br>
&gt; object (within a 2PC coordinator)?<br>
&gt; <br>
&gt; Roy<br>
&gt; <br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; Info-ingres mailing list<br>
&gt; <a href="mailto:Info-ingres@lists.planetingres.org">Info-ingres@lists.planetingres.org</a><br>
&gt; <a href="http://lists.planetingres.org/mailman/listinfo/info-ingres">
http://lists.planetingres.org/mailman/listinfo/info-ingres</a><o:p></o:p></p>
</div>
</div>
</body>
</html>