Sun ONE logo     Previous      Contents      Index      Next     
Sun ONE Integration Server B2B, TradingXpert 3.6.2 Installation Guide



Chapter 3   Windows Installation

This chapter provides the information required to install and configure TradingXpert software on the Windows platform. Aside from having common hardware and software requirements, installation and configuration of TradingXpert depends upon whether the product is being deployed in a Sun ONE Application Server 6.5 or a Sun ONE Application Server 7.0 environment. Hence, this chapter is broken down into the following sections:

Hardware and Software Requirements

The minimum requirements for installing TradingXpert on a Windows platform are indicated in Table 3-1.

Table 3-1    Hardware and Software Requirements for Windows 

Component

Requirements

Operating system

Windows NT 4.0 SP6a (Sun ONE Application Server 6.5 only)
Windows 2000 (Professional, Server, Advanced Server) SP2

CPU

Intel Pentium 600 MHz (or compatible) workstation

RAM

512 Mbytes

Hard drive space

The installed product requires approximately 200 Mbytes
Document storage might require up to 6 Gbytes.

Other dependent software

See Table 1-1 for the supported versions of the Java Runtime Environment (JRE), Java Software Development Kit (JDK), Oracle, and supported versions of other software products on which TradingXpert depends.

Installing TradingXpert in a
Sun ONE Application Server 6.5 Environment

This section, specific to the Sun ONE Application Server 6.5, covers the following topics:

  • Pre-Installation Tasks
  • Installation Steps
  • Configuring a TradingXpert Installation

Pre-Installation Tasks (Application Server 6.5)

You should perform the following tasks before installing TradingXpert in a Sun ONE Application Server 6.5 environment:

  1. Check that all hardware and software requirements (Table 3-1) are met by your Windows system.
  2. Install ECXpert 3.6.2 and check that it is running properly. In particular, make sure that Oracle is up and running and that the BDGHOME environment variable is set on the ECXpert host machine (see "Checking the BDGHOME Environment Variable").
  3. If ECXpert is running on a host machine different from the one on which TradingXpert is to be installed, then you will have to perform additional setup operations for TradingXpert to run in this configuration. In particular, ECXpert should be installed in a directory tree on an otherwise unused drive (see "Configuring TradingXpert to Run on a Different Machine from ECXpert").

  4. Check that Sun ONE Web Server 6.0 is installed and configured properly.
  5. If Sun ONE Web Server 6.0 has not previously been installed, install it and create an instance that will receive requests from TradingXpert's browser-based user interface (see "Creating a Web Server Instance for TradingXpert").

  6. Check that Sun ONE Application Server 6.5 is installed and configured properly.
  7. If Sun ONE Application Server 6.5 has not previously been installed, install it, and configure it to communicate with the Sun ONE Web Server instance to be used by TradingXpert (see your application server documentation for procedures).

Checking the BDGHOME Environment Variable

The value of the BDGHOME environment variable (see Table 3) must be properly set on the ECXpert host computer.

  1. From the Windows toolbar, open Settings > Control Panel > System.
  2. The System Properties window opens.

  3. Choose the Environment tab.
  4. Check for BDGHOME in the System Variables field.
  5. BDGHOME is a system variable, not a user variable. If set as a user variable Sun ONE Application Server won't be able to read it. The value of BDGHOME should be the full path to your ECXpert installed directory structure (see Table 3).

  6. If BDGHOME has not been properly set:
    1. Set the value of BDGHOME.
    2. Click OK.
    3. Restart your computer.

Creating a Web Server Instance for TradingXpert

  1. Launch the Sun ONE Web Server's Administration Server.
  2. Enter the Administration Console URL:
  3. http://web_server_host:port

    where web_server_host is the name of your web server's host computer, and port is the number of the port used for web server administration.

  4. Log in under the web server administrator account.
  5. The Administration Console window opens up.

  6. Click Add Server.
  7. Enter the Server Name.
  8. This is the web server's host computer (web_server_host)

  9. Enter the Server Port.
  10. This is the number of the port on which the web server instance will be listening for requests from the TradingXpert browser-based user interface.

  11. Enter the Server Identifier.
  12. Use an instance identifier such as tradingx

  13. Click OK.
  14. Click Configure Your New Server.
  15. Turn on the new server instance.
  16. A success window confirmation appears.

  17. Click OK.

Installation Procedures (Application Server 6.5)

Installation of TradingXpert requires you to locate the software distribution files in the Sun ONE Integration Server, B2B Edition CD-ROM set and run the TradingXpert install script.

To run the TradingXpert installer

  1. Insert the Sun ONE Integration Server B2B Edition 3.6.2 Windows CD-ROM into your CD-ROM drive.
  2. Launch a DOS shell:
    1. From the Windows toolbar choose Start > Run.
    2. In the Open field, type command.
    3. Click OK.

  3. Change directories to the directory on the CD-ROM which contains the install_all.bat file:
  4. \TradingXpert3.6.2\install_bits\TX_for_AppServer6.5\

  5. Type the following command at the command prompt:
  6. install_all.bat Root_AS_Install ECX_version

    where Root_AS_Install is the root installation directory for Sun ONE Application Server, and ECX_version is the release version of ECXpert. For example:

    E:\...AppServer6.5\> install_all.bat D:\ias65\ias 3.6.2

    The TradingXpert installer will display a few cryptic lines of output as it performs the installation.

Configuration Tasks (Application Server 6.5)

The TradingXpert installer performs the following operations:

The installer does not configure TradingXpert to inter-operate with ECXpert or the web server. Therefore, once TradingXpert software is installed, you have to manually perform the following configuration tasks:

  • edit the TradingXpert configuration file (FXproperties) to specify the TradingXpert installation directory, the location of the ECXpert configuration file (ecx.ini), and the TradingXpert URL prefix (TX)
  • modify the application server classpath variable to reference the ecxsdkjni.jar file
  • set the TradingXpert web server instance to use the "TX" URL prefix required by TradingXpert
  • copy TradingXpert map files, as needed, to the appropriate ECXpert map directory
  • optionally, configure TradingXpert to run on a different host machine from ECXpert

These tasks are described in the sections that follow.

Editing the TradingXpert Configuration File

You are required to edit the TradingXpert configuration file (FXproperties)to specify the TradingXpert installation directory (FX.rootdir), the location of the ECXpert configuration file (FX.ecxini.file), and the TradingXpert URL prefix (FX.basedir).

The configuration file is located in:

TX_HOME\common\ (Application Server 6.5)

TX_HOME\config\ (Application Server 7.0)

The properties you are required to set, and a number of additional TradingXpert properties that you might optionally set, are described in Table 3-2.

Table 3-2    TradingXpert Configuration Properties 

Property

Default Value

Description

FX.rootdir

no default

Points to the TradingXpert installation directory (TX_HOME). Note that the path should end with a trailing slash.

For example: /disk1/ias6.5/ias/APPS/FX/

FX.ecxini.file

no default

TradingXpert needs to access the ECXpert properties file (ecx.ini), normally located in BDGHOME/config.

FX.basedir

TX

The URL prefix you use to access the TradingXpert login screen and other TradingXpert functions.

FX.session.timeout

8
(in minutes)

Sets the time (in minutes) from the last user action to when TradingXpert times out. On timeout, the user is requested to log in again. For production environments, it is recommended that you set the timeout value to 30 minutes.

FX.remoteSubmission

FALSE

Specifies remote submission of documents by TradingXpert to ECXpert. A value of FALSE means TradingXpert and ECXpert run on the same host machine. A value of TRUE means TradingXpert and ECXpert run on different hosts. (See "Configuring TradingXpert to Run on a Different Machine from ECXpert".)

FX.remoteECXPathPrefix

no default

Only applies if TradingXpert and ECXpert run on different hosts (FX.remoteSubmission=
TRUE
). If needed (Solaris environments) this property specifies an ECXpert mountpoint to be pre-pended to directory paths in the retrieval of ECX documents. (See "Configuring TradingXpert to Run on a Different Machine from ECXpert".)

FX.debug

FALSE

Sets the debugging flag. When TRUE, TradingXpert prints a large volume of messages to kjs logs to facilitate debugging. In production environments, the value should be set to FALSE.

Modifying the Application Server Classpath Variable

Perform the following steps to modify the Application Server classpath variable to reference the ecxsdkjni.jar file.

To modify the Application Server classpath

  1. Launch the kregedit program.
  2. This program is a Sun ONE utility for modifying Application Server registry entries. To launch it:

    1. Select Start>Run.
    2. Enter kregedit.
    3. Click OK.

  3. Navigate to SOFTWARE>Sun ONE>Application Server>6.5>Java>ClassPath.
  4. Double-click the Classpath entry to open the Modify Value dialogue box.
  5. Add the following entry to the end of the classpath:
  6. Root_ASInstall\ias\classes\java\ecxsdkjni.jar

    (Be sure to add a semicolon before the entry.)

  7. Click OK.

Setting the URL Prefix for TradingXpert

In the URL you use to invoke TradingXpert, "TX" is always the prefix. Use the following instructions to set your TradingXpert web server instance to use the TradingXpert "TX" URL prefix, and to point the web server instance to the static HTML templates used to implement screens in TradingXpert's browser-based user interface.

To set up a URL prefix for TradingXpert

  1. Launch the Sun ONE Web Server's Administration Server.
  2. Enter the Administration Console URL in your browser.
  3. http://web_server_host:port/https-admserv/bin/index

    where web_server_host is the name of your web server's host computer, and port is the number of the port on which your server listens.

  4. Select the server instance you set up for TradingXpert.
  5. See "Creating a Web Server Instance for TradingXpert", Step 7.

  6. Click the Manage button.
  7. Choose the Virtual Server Class tab.
  8. Select the class "default class."
  9. Click the Manage button.
  10. Choose the Content Management tab
  11. Click the Additional Documents Directory button.
  12. Add the URL prefix "TX".
  13. In the Map to Directory field insert the path to the TradingXpert static HTML templates:
  14. TX_HOME/web

  15. Click OK.
  16. Click Apply Changes.
  17. An acknowledgement should appear.

Copying TradingXpert Map Files to ECXpert

The TradingXpert installer places default map files in the following directory:

TX_HOME/maps_etc/maps/nt

These default map files can be used as is, as source for customizing your TradingXpert installation, or as examples for creating your own map files. Whatever the case, the map files used for TradingXpert processing need to be placed in the following ECXpert directory, where they can be accessed to perform data transformations:

BDGHOME/maps

If you want to test your TradingXpert installation using the test scenario provided with the product (see Chapter 4 "Testing Your TradingXpert Installation"), then copy the 850html.mmc and html810.mmc default maps to the BDGHOME/maps directory.

Configuring TradingXpert to Run on a Different Machine from ECXpert

This section provides additional configuration tasks required if TradingXpert is installed on a machine different from ECXpert, as shown in Figure 3-1. The tasks described assume the following scenario:

  • "TX Host" is the host for TradingXpert. This includes, also, the Sun ONE Application Server and an Oracle client.
  • "ECX Host" is the host for ECXpert and can also host an Oracle client (if Oracle is running on a remote host).
  • "Oracle Host" is the host for the Oracle database server. (Oracle might also be running locally on ECX Host.)

Figure 3-1    TradingXpert and ECXpert on Different Machines

The general procedures required to set up this configuration are detailed below.

To configure TradingXpert to run on a machine different from ECXpert

  1. Install ECXpert on ECX Host on a drive that is not used for any other purpose (for example, Y:\) and share that drive.
  2. Mount the ECX Host's shared drive on TX Host by mapping it to an unused drive letter (for example, drive Y:\).
  3. Set up TX Host as if ECXpert were installed locally. This involves setting up a BDGHOME environment variable and providing a local ECXpert configuration file (ecx.ini). See "Setting up TX Host as if ECXpert Were Installed Locally."
  4. Set up TX Host to access the Oracle database used by ECXpert (it is assumed that ECX Host is already set up to access the database). See "Setting up TX Host to Access the Oracle Database Used by ECXpert".

These procedures apply to an initial installation of TradingXpert on a separate machine, or to a migration of TradingXpert away from the machine hosting ECXpert.

Setting up TX Host as if ECXpert Were Installed Locally

To set up TX Host as if ECXpert were installed locally

  1. Set the BDGHOME environment variable on TX Host.
    1. From the Windows toolbar, open Settings > Control Panel > System.
    2. The System Properties window opens.

    3. Choose the Environment tab.
    4. In the Variable box near the bottom, enter BDGHOME.
    5. In the Value box, enter the value that the BDGHOME environment variable has on ECX Host.
    6. For example: y:\my_bdghome_path

    7. Click the Set button.
    8. Restart TX Host.
    9. This is necessary for the changes in environment variable settings to take effect. (You can wait until you complete Step 3 to restart the computer.)

    (If the Sun ONE Application Server is started using the System Account, you will have to add BDGHOME to the System Variables section rather than to the User Variables section.)

  2. Create a config directory on TX Host.
    1. Open a file system window or a Command Prompt window.
    2. Create a config directory immediately below the directory specified for BDGHOME in Step 1.
    3. For example, if you set BDGHOME to y:\my_bdghome_path, you would now create y:\my_bdghome_path\config.

  3. Edit the ecx.ini file on ECX Host to specify a static TCP/IP port for communication with ECXpert (this is used to submit documents to ECXpert):
    1. Open the ecx.ini file.
    2. The file is located in the BDGHOME\config directory.

    3. Modify the [tcpip-connector] section as follows:
    4. port_location = static
      admin_port_type = manual
      admin_port =
      any unused port
      listener_port_type = manual
      listener_port =
      any unused port

    5. Restart ECXpert for these changes to take effect.

  4. Copy the edited ecx.ini file from ECX Host to TX Host.
  5. Place the file in the config directory created in Step 2.

  6. Modify the ecx.ini file on TX Host.
  7. Replace the drive letter for all directory paths with the drive letter used to map TX_Host to the ECX_Host shared drive (for example, drive Y:\), as shown in the following example:


       [gateway]
       ...
       repository = y:\NS-apps\ECXpert\data\bundle
       ...
       [tcpip-connector]
       ...
       port_location = static
       ...
       admin_port = <any unused port>
       admin_port_type = manual
       listener_port = <any unused port>
       listener_port_type = manual
       ...
       repository = y:\NS-apps\ECXpert\data\work\trk
       remote_dir = y:\NS-apps\ECXpert\data\work\remote
       ...
       [translate]
       ...
       workDir=y:\NS-apps\ECXpert\data\work
       ...
       inputDir=y:\NS-apps\ECXpert\data\input
       outputDir=y:\NS-apps\ECXpert\data\output
       mapsDir=y:\NS-apps\ECXpert\maps
       ...
       [FAGen]
       ...
       outputDir=y:\NS-apps\ECXpert\data\output

  8. Modify the FXproperties file on TX Host.
    1. Turn on the remote submission property:
    2. FX.remoteSubmission: TRUE

    3. Make sure the ECX path prefix property value is empty
    4. FX.remoteECXPathPrefix: (nothing following the colon).

    5. Restart TradingXpert on TX Host for property edits to take effect.

Setting up TX Host to Access the Oracle Database Used by ECXpert

To set up TX Host to access Oracle

  1. Install the Oracle client on TX Host, if not already installed.
  2. Edit the tnsnames.ora file to reference the Oracle Server
  3. Set the ORACLE_HOME and ORACLE_SID variables on TX Host.
    1. From the Control Panel, double-click the System icon
    2. Choose the Environment tab.
    3. Click anywhere in the User Variables list.
    4. This is necessary to activate the User Variables list for the next several steps. It does not matter which variable your click selects.

    5. In the Variable box near the bottom, enter ORACLE_HOME.
    6. In the Value box, enter the same value that the ORACLE_HOME environment variable has on ECX Host.
    7. For example: d:\orant

      Avoid using spaces in directory and file names (for example, use "ProgramFiles" instead of "Program Files.")

    8. Click the Set button.
    9. Repeat Step c through Step f for the ORACLE_SID environment variable.
    10. Click OK to close the System Properties dialog.
    11. Restart TX Host.
    12. This is necessary for the changes in environment variable settings to take effect.

  4. Check the DB_SERVER parameter of the ecx.ini file on TX Host.
  5. In the [DB_SECTION] section of the ecx.ini file you copied to TX Host, locate the DB_SERVER parameter. Enter a line in the [DB_SECTION] section as follows:

       [DB_SECTION]
       DB_SERVER=
    Oracle DB alias

    where Oracle DB alias is the Oracle database alias from the tnsnames.ora file in Step 2.

Installing TradingXpert in a
Sun ONE Application Server 7.0 Environment

This section, specific to the Sun ONE Application Server 7.0, covers the following topics:

  • Pre-Installation Tasks
  • Installation Steps
  • Configuring a TradingXpert Installation

Pre-Installation Tasks (Application Server 7.0)

You should perform the following tasks before installing TradingXpert in a Sun ONE Application Server 7.0 environment:

  1. Check that all hardware and software requirements (Table 3-1) are met by your Windows system.
  2. Install ECXpert 3.6.2 and check that it is running properly. In particular, make sure that Oracle is up and running and that the BDGHOME environment variable is set on the ECXpert host machine (see "Checking the BDGHOME Environment Variable").
  3. If ECXpert is running on a host machine different from the one on which TradingXpert is to be installed, then you will have to perform additional setup operations for TradingXpert to run in this configuration. In particular, ECXpert should be installed in a directory tree on an otherwise unused drive (see "Configuring TradingXpert to Run on a Different Machine from ECXpert").

  4. Check that Sun ONE Application Server 7.0—which includes a built-in web server—is installed and running, and create an application server instance for TradingXpert (see "Creating an Application Server Instance for TradingXpert," below).
  5. Modify the server.policy file for the application instance so that TradingXpert setup script can delete temporary files (see "Modifying the server.policy File").

Creating an Application Server Instance for TradingXpert

  1. Launch the Sun ONE Application Server's Administration Server.
  2. Enter the Administration Console URL:
  3. http://AS_admin_host:port

    where AS_admin_host is the server hosting the Application Server's administration server and port is the port number of the listener.

  4. Log in under the application server administrator account.
  5. The Administration Console window opens, displaying existing application server instances.

  6. Click New.
  7. The new application server instance dialogue is displayed.

  8. Enter the Instance Name.
  9. This is the name by which TradingXpert will be associated with the application server instance (for example, tradingx).

  10. Enter the HTTP Port.
  11. This is the port on which the application server instance (web server instance) will be listening for requests from the TradingXpert browser-based user interface.

  12. Enter a user account in the Run as user field.
  13. Use the account under which TradingXpert will be running (for example, ecxadmin).

  14. Click OK.
  15. The Administration Console window will display the new application server instance.

  16. Click the link for the newly created application server instance.
  17. A multi-tabbed dialog is displayed.

  18. Click Start to turn on the new server instance.

Modifying the server.policy File

To modify the server.policy file

  1. Open the server.policy file found in the following directory:
  2. Root_AS_Install\domains\domain1\appServer_instance\config\

    where Root_AS_Install is the root installation directory for the application server and appServer_instance is the name of the application server instance to be used by TradingXpert (for example, tradingx)—see "Creating an Application Server Instance for TradingXpert".

  3. Find the following entry:
  4. permission java.io.FilePermission "<<ALL FILES>>", "read,write";

  5. Add permission to delete.
  6. "read,write,delete"

  7. Save the file.
  8. Restart the appliction server instance for the change to take effect.

Installation Procedures (Application Server 7.0)

Installation of TradingXpert requires you to locate the software distribution files in the Sun ONE Integration Server, B2B Edition CD-ROM set and then perform the following procecures:

  • run the TradingXpert setup script
  • deploy the TradingXpert Web Archive file (TX.war).

To run the TradingXpert setup script

  1. Insert the Sun ONE Integration Server B2B Edition 3.6.2 Windows CD-ROM into your CD-ROM drive.
  2. Launch a DOS shell:
    1. From the Windows toolbar choose Start > Run.
    2. In the Open field, type command.
    3. Click OK.

  3. Change directories to the directory on the CD-ROM which contains the setup.bat file:
  4. \TradingXpert3.6.2\install_bits\TX_for_AppServer7.0\

  5. Create a TX_HOME directory.
  6. This directory can be wherever you wish (see Table 3).

  7. Type the following command at the command prompt:
  8. setup.bat Root_AS_Install TX_HOME BDGHOME

    where Root_AS_Install is the root installation directory for Sun ONE Application Server, TX_HOME is the root TradingXpert installation directory, and BDGHOME is the location of the ECXpert installed software. For example:

    E:\...AppServer7.0\> setup.bat D:\ias7 D:\myTX
                        D:ECX_root\NS-apps\ECXpert

Deploying the TradingXpert Archive (TX.war)

To deploy the TX.war file

  1. Point your browser at the Sun ONE Application Server 7.0 administration interface:
  2. http:\\AS_admin_host:port

    where AS_admin_host is the server hosting the Application Server's administration server and port is the port number of the listener.

  3. Use the deployment tool to deploy TX.war:
    1. Open the tree view on the left side to App Server Instances>
      appServer_instance>Applications>Web Apps
    2. where appServer_instance is the name of the application server instance hosting TradingXpert (for example, tradingx).

    3. Click Web Apps
    4. A deployment management dialogue is displayed

    5. Click the Deploy button.
    6. An Upload WAR file dialogue is displayed.

    7. Browse to the location of the TX.war file (TX_HOME) and click OK.
    8. A dialogue specifiying deployment parameters is displayed.

    9. Click OK.
    10. the dialogue displayed in Step b is displayed showing the deployed TX.war web application.

  4. Update the TradingXpert native library directory path:
    1. Open the tree view on the left side to the application server instance hosting TradingXpert and select the application server instance hosting TradingXpert (for example, tradingx).
    2. Choose the JVM Settings tab.
    3. Click on the Path Settings link.
    4. Enter the following value in the Native Library Path Prefix field:
    5. TX_HOME\lib

      where you enter the full path for TX_HOME.

    6. Click Save.

  5. Stop and then re-start the application server instance.
    1. Open the tree view on the left side to the application server instance hosting TradingXpert and select the application server instance hosting TradingXpert (for example, tradingx).
    2. A warning is displayed indicating that you have to apply changes.

    3. Click Apply Changes.
    4. A warning is displayed indicating that you have to restart the application server instance.

    5. Click Stop.
    6. Click Start.

Configuration Tasks (Application Server 7.0)

The TradingXpert installer script performs the following operations:

  • places a number of TradingXpert files into a predefined directory structure (see "TradingXpert Application Directory")
  • modifies the TradingXpert configuration file (FXproperties) to point to the root TradingXpert installation directory and to the ECXpert configuration file

Deploying the TX.war file places a number of TradingXpert files in the application server directory structure (see "J2EE Module Directory") and configures the application server to run TradingXpert.

Once these TradingXpert installation operations are completed, however, you still have to perform two optional configuration tasks, depending on your use of TradingXpert:


Previous      Contents      Index      Next     
Copyright 2003 Sun Microsystems, Inc. All rights reserved.