0 Replies Latest reply on Apr 17, 2013 4:48 AM by Thomas Chang

    A question about configure the 'xa_open string'

    Thomas Chang Apprentice



      I am not sure if I should put my post here. Hope someone can help.


      Background to my question:

      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.

      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').

      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.

      Here is the ra.xml where the 'xa_open string' defined.

      Has someone idea?



      <?xml version="1.0" encoding="UTF-8" ?>
      - <connector xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd" version="1.5">
        <eis-type>PERFEKT C Resource Adapter</eis-type>
      - <resourceadapter>
      - <outbound-resourceadapter>
      - <connection-definition>
      - <config-property>
        <description>Oracle XA connect String, er wird um ACC=P/(UserName)/(Password) ergaenzt. Er darf die Elemente ACC und SesTM nicht enthalten.</description>
      - <authentication-mechanism>