<!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;">
    A question about configure the 'xa_open string'
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/thomas2008ch">Thomas Chang</a> in <i>Datasource Configuration</i> - <a href="https://community.jboss.org/message/808567#808567">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I am not sure if I should put my post here. Hope someone can help.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="color: #000000; font-family: tahoma, verdana, sans-serif; font-size: 11px; background-color: #ffffff;">Background to my question:</span></p><p><br style="color: #000000; font-family: tahoma, verdana, sans-serif; font-size: 11px; background-color: #ffffff;"/></p><p><span style="color: #000000; font-family: tahoma, verdana, sans-serif; font-size: 11px; background-color: #ffffff;">One of our Jboss-Server is installed on a machine which OS is RHEL (RedHat Linux). There is a C/C++-Programm which is capsulated in a rar file uses the XA-transaction. This will create XA-trace file everyday. But these trace files (such as 'xa_NULL04162013.trc') are pushed unter $JBOSS_HOME/bin. I find thi is not correct. So I want to relocate these trace files.</span></p><p><br style="color: #000000; font-family: tahoma, verdana, sans-serif; font-size: 11px; background-color: #ffffff;"/></p><p><span style="color: #000000; font-family: tahoma, verdana, sans-serif; font-size: 11px; background-color: #ffffff;">According to the Oracle documents the location of the trace files is defined in the so-called xa_open string (or simply open string). I find out this 'xa_open string' is defined in a file called ra.xml inside the rar (such as 'RACPerf.rar').</span></p><p><br style="color: #000000; font-family: tahoma, verdana, sans-serif; font-size: 11px; background-color: #ffffff;"/></p><p><span style="color: #000000; font-family: tahoma, verdana, sans-serif; font-size: 11px; background-color: #ffffff;">I've added the LogDir to the 'xa_open string' but it seems it doesn't work since I find the xa-trace files are still pushed under the $JBOSS_HOME/bin.</span></p><p><br style="color: #000000; font-family: tahoma, verdana, sans-serif; font-size: 11px; background-color: #ffffff;"/></p><p><span style="color: #000000; font-family: tahoma, verdana, sans-serif; font-size: 11px; background-color: #ffffff;">Here is the ra.xml where the 'xa_open string' defined.</span></p><p><br style="color: #000000; font-family: tahoma, verdana, sans-serif; font-size: 11px; background-color: #ffffff;"/></p><p><span style="color: #000000; font-family: tahoma, verdana, sans-serif; font-size: 11px; background-color: #ffffff;">Has someone idea?</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="color: #000000; font-family: tahoma, verdana, sans-serif; font-size: 11px; background-color: #ffffff;">[code]</span></p><p><span style="color: #000000; font-family: tahoma, verdana, sans-serif; font-size: 11px; background-color: #ffffff;"><code class="jive-code jive-java"> &lt;?xml version=<span style="color: red;">"1.0"</span> encoding=<span style="color: red;">"UTF-8"</span> ?&gt; <br/>- &lt;connector xmlns=<span style="color: red;"><span>"</span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/j2ee" rel="nofollow" target="_blank">http://java.sun.com/xml/ns/j2ee</a><span>"</span></span> xmlns:xsi=<span style="color: red;"><span>"</span><a class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a><span>"</span></span> xsi:schemaLocation=<span style="color: red;"><span>"</span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/j2ee" rel="nofollow" target="_blank">http://java.sun.com/xml/ns/j2ee</a><span> </span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd" rel="nofollow" target="_blank">http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd</a><span>"</span></span> version=<span style="color: red;">"1.5"</span>&gt;<br/>&#160; &lt;display-name&gt;RACPerf&lt;/display-name&gt; <br/>&#160; &lt;vendor-name&gt;PYLON&lt;/vendor-name&gt; <br/>&#160; &lt;eis-type&gt;PERFEKT C Resource Adapter&lt;/eis-type&gt; <br/>&#160; &lt;resourceadapter-version&gt;1.0&lt;/resourceadapter-version&gt; <br/>- &lt;resourceadapter&gt;<br/>&#160; &lt;resourceadapter-class&gt;org.jboss.resource.deployment.DummyResourceAdapter&lt;/resourceadapter-class&gt; <br/>- &lt;outbound-resourceadapter&gt;<br/>- &lt;connection-definition&gt;<br/>&#160; &lt;managedconnectionfactory-class&gt;de.pylon.ra.connection.ManagedFactory&lt;/managedconnectionfactory-class&gt; <br/>- &lt;config-property&gt;<br/>&#160; &lt;description&gt;Oracle XA connect String, er wird um ACC=P/(UserName)/(Password) ergaenzt. Er darf die Elemente ACC und SesTM nicht enthalten.&lt;/description&gt; <br/>&#160; &lt;config-property-name&gt;ConnectionURL&lt;/config-property-name&gt; <br/>&#160; &lt;config-property-type&gt;java.lang.String&lt;/config-property-type&gt; <br/>&#160; &lt;config-property-value&gt;Oracle_XA+SqlNet=VGERTJ+Threads=true+Loose_Coupling=false+MaxCur=50+LogDir=/var/log/jboss/vger1&lt;/config-property-value&gt; <br/>&#160; &lt;/config-property&gt;<br/>- &lt;config-property&gt;<br/>&#160; &lt;config-property-name&gt;UserName&lt;/config-property-name&gt; <br/>&#160; &lt;config-property-type&gt;java.lang.String&lt;/config-property-type&gt; <br/>&#160; &lt;config-property-value&gt;pylon&lt;/config-property-value&gt; <br/>&#160; &lt;/config-property&gt;<br/>- &lt;config-property&gt;<br/>&#160; &lt;config-property-name&gt;Password&lt;/config-property-name&gt; <br/>&#160; &lt;config-property-type&gt;java.lang.String&lt;/config-property-type&gt; <br/>&#160; &lt;config-property-value&gt;pylon&lt;/config-property-value&gt; <br/>&#160; &lt;/config-property&gt;<br/>- &lt;config-property&gt;<br/>&#160; &lt;description&gt;session timeout value in seconds, <span style="color: navy;"><strong>this</strong></span> is a required parameter&lt;/description&gt; <br/>&#160; &lt;config-property-name&gt;sessionTimeout&lt;/config-property-name&gt; <br/>&#160; &lt;config-property-type&gt;java.lang.Integer&lt;/config-property-type&gt; <br/>&#160; &lt;config-property-value&gt;7200&lt;/config-property-value&gt; <br/>&#160; &lt;/config-property&gt;<br/>&#160; &lt;connectionfactory-interface&gt;javax.resource.cci.ConnectionFactory&lt;/connectionfactory-interface&gt; <br/>&#160; &lt;connectionfactory-impl-class&gt;de.pylon.ra.connection.FactoryImpl&lt;/connectionfactory-impl-class&gt; <br/>&#160; &lt;connection-interface&gt;javax.resource.cci.Connection&lt;/connection-interface&gt; <br/>&#160; &lt;connection-impl-class&gt;de.pylon.ra.connection.RAConnection&lt;/connection-impl-class&gt; <br/>&#160; &lt;/connection-definition&gt;<br/>&#160; &lt;transaction-support&gt;XATransaction&lt;/transaction-support&gt; <br/>- &lt;authentication-mechanism&gt;<br/>&#160; &lt;authentication-mechanism-type&gt;BasicPassword&lt;/authentication-mechanism-type&gt; <br/>&#160; &lt;credential-interface&gt;javax.resource.spi.security.PasswordCredential&lt;/credential-interface&gt; <br/>&#160; &lt;/authentication-mechanism&gt;<br/>&#160; &lt;reauthentication-support&gt;true&lt;/reauthentication-support&gt; <br/>&#160; &lt;/outbound-resourceadapter&gt;<br/>&#160; &lt;/resourceadapter&gt;<br/>&#160; &lt;/connector&gt;</code></span></p><p><span style="color: #000000; font-family: tahoma, verdana, sans-serif; font-size: 11px; background-color: #ffffff;">[/code]</span></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/808567#808567">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Datasource Configuration at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>