BEA Logo BEA WebLogic Tuxedo Connector Release 6.1

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

   WebLogic Tuxedo Connector Administration Guide:   Previous topic   |   Next topic   |   Contents   


The WebLogic Tuxedo Connector XML Configuration File


The following sections describe how to create a WebLogic Tuxedo Connector XML configuration file and provide a hierarchy diagram of elements.

Creating an XML Configuration File

You create the WebLogic Tuxedo Connector XML configuration file using a text editor. The most efficient method to create a new configuration file is to modify one of the example DBMCONFIG.xml files to meet your application needs.

Sample XML Configuration File

This section provides an example WebLogic Tuxedo Connector XML configuration file for the simpapp example application.

<?xml version="1.0"?>

<!DOCTYPE BDMCONFIG SYSTEM "file:[WTC installation directory]\weblogic\wtc\gwt\wtc_config_1_0.dtd">

<!--Java and XML-->


      <     BDMCONFIG>

  <     T_DM_LOCAL_TDOMAIN AccessPoint="TDOM2">







               <NWAddr>[Network address of WTC domain]</NWAddr>

               <!-- Example address: // -->


      <T_DM_REMOTE_TDOMAIN AccessPoint="TDOM1">




               <NWAddr>[Network address of Tuxedo domain]</NWAddr>

    <          !-- Example address: // -->


        <T_DM_EXPORT ResourceName="TOLOWER"












Note: You must modify the DOCTYPE with the name of your configuration file and specify the fully qualified path to its location.

The DOCTYPE declaration provides the location of the wtc_config.dtd. When the WebLogic Server is started, the WebLogic Tuxedo Connector XML configuration file is checked against the document type definition (DTD) for errors.

Validate the XML file

Validate your configuration file using WTCValidateCF. This utility allows you to validate the WebLogic Tuxedo Connector XML configuration file before booting WebLogic Server.

To validate the XML configuration file, enter the following command:

 > java your_XML_configuration_file

where your_XML_configuration_file is the name of your XML configuration file.

Element Hierarchy Diagram

A WebLogic Tuxedo Connector configuration file consists of a series of XML elements. The WTC_CONFIG element is the top-level element, and all elements in the WTC_CONFIG are children of the WTC_CONFIG element. Child elements may have children themselves. For example, the BDMCONFIG element contains the T_DM_LOCAL_TDOMAIN child element, and the T_DM_LOCAL_TDOMAIN element contains child elements, as shown in the following diagram.