01.01.2013 Views

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

9.2 Configuration<br />

<strong>The</strong> directory /opt/ctg/bin contains the following files, all of which can be browsed<br />

using the command more:<br />

CTGSAMP.INI Sample CTG.INI configuration file.<br />

ctgcfg Shell script to start <strong>CICS</strong> TG X-Windows graphical<br />

Configuration Tool.<br />

ctgstart Shell script to start the <strong>Gateway</strong> daemon.<br />

ctgikey Shell script to start the SSLight tool iKeyman.<br />

220 <strong>CICS</strong> <strong>Transaction</strong> <strong>Gateway</strong> <strong>V5</strong><br />

<strong>The</strong> other files in the directory are executables and cannot be viewed.<br />

<strong>The</strong> /opt/ctg/classes directory contains the following Java class libraries of note:<br />

ctgclient.jar <strong>CICS</strong> TG Java class library.<br />

ctgserver.jar <strong>CICS</strong> TG classes for use by <strong>Gateway</strong> daemon.<br />

ctgsamples.jar <strong>CICS</strong> TG Java samples library.<br />

<strong>The</strong> contents of these can be listed with the command jar -tvf . <strong>The</strong><br />

ctgsamples.jar file contains compiled versions of all the non-J2EE samples. We<br />

found this useful for testing because we could execute the samples easily using<br />

just this JAR file and the <strong>CICS</strong> TG Java class library JAR contained in<br />

ctgclient.jar.<br />

In this section, we detail how we configured the software components on<br />

Windows 2000, Linux, and z/OS for this scenario.<br />

To listen for requests, we needed to enable the TCP protocol handler. We did this<br />

using the Configuration Tool. To run the Configuration Tool on Linux, we ran an<br />

X-Windows server on our Windows 2000 workstation, and specified the address<br />

of the X-Windows server in the DISPLAY environment variable on Linux. <strong>The</strong> IP<br />

address of our Windows 2000 machine was 9.1.39.10 in this case. We then ran<br />

the Configuration Tool, as shown in Example 9-9.<br />

Example 9-9 Setting Linux to use the Windows 2000 X-Server for the Configuration Tool<br />

root@vmlinux1:/opt/ctg/bin > export DISPLAY=9.1.39.10:0<br />

root@vmlinux1:/opt/ctg/bin > ctgcfg<br />

Tip: <strong>The</strong> Configuration Tool can also be used on Windows to create the<br />

configuration file. This is detailed in “Using Windows to configure the <strong>CICS</strong> TG<br />

on Linux” on page 222.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!