<!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;"> </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;"> </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;"> </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"> <?xml version=<span style="color: red;">"1.0"</span> encoding=<span style="color: red;">"UTF-8"</span> ?> <br/>- <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>><br/>  <display-name>RACPerf</display-name> <br/>  <vendor-name>PYLON</vendor-name> <br/>  <eis-type>PERFEKT C Resource Adapter</eis-type> <br/>  <resourceadapter-version>1.0</resourceadapter-version> <br/>- <resourceadapter><br/>  <resourceadapter-class>org.jboss.resource.deployment.DummyResourceAdapter</resourceadapter-class> <br/>- <outbound-resourceadapter><br/>- <connection-definition><br/>  <managedconnectionfactory-class>de.pylon.ra.connection.ManagedFactory</managedconnectionfactory-class> <br/>- <config-property><br/>  <description>Oracle XA connect String, er wird um ACC=P/(UserName)/(Password) ergaenzt. Er darf die Elemente ACC und SesTM nicht enthalten.</description> <br/>  <config-property-name>ConnectionURL</config-property-name> <br/>  <config-property-type>java.lang.String</config-property-type> <br/>  <config-property-value>Oracle_XA+SqlNet=VGERTJ+Threads=true+Loose_Coupling=false+MaxCur=50+LogDir=/var/log/jboss/vger1</config-property-value> <br/>  </config-property><br/>- <config-property><br/>  <config-property-name>UserName</config-property-name> <br/>  <config-property-type>java.lang.String</config-property-type> <br/>  <config-property-value>pylon</config-property-value> <br/>  </config-property><br/>- <config-property><br/>  <config-property-name>Password</config-property-name> <br/>  <config-property-type>java.lang.String</config-property-type> <br/>  <config-property-value>pylon</config-property-value> <br/>  </config-property><br/>- <config-property><br/>  <description>session timeout value in seconds, <span style="color: navy;"><strong>this</strong></span> is a required parameter</description> <br/>  <config-property-name>sessionTimeout</config-property-name> <br/>  <config-property-type>java.lang.Integer</config-property-type> <br/>  <config-property-value>7200</config-property-value> <br/>  </config-property><br/>  <connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface> <br/>  <connectionfactory-impl-class>de.pylon.ra.connection.FactoryImpl</connectionfactory-impl-class> <br/>  <connection-interface>javax.resource.cci.Connection</connection-interface> <br/>  <connection-impl-class>de.pylon.ra.connection.RAConnection</connection-impl-class> <br/>  </connection-definition><br/>  <transaction-support>XATransaction</transaction-support> <br/>- <authentication-mechanism><br/>  <authentication-mechanism-type>BasicPassword</authentication-mechanism-type> <br/>  <credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface> <br/>  </authentication-mechanism><br/>  <reauthentication-support>true</reauthentication-support> <br/>  </outbound-resourceadapter><br/>  </resourceadapter><br/>  </connector></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>