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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>The</strong> CTGTesterECIWeb application should now compile without warnings.<br />

Testing<br />

To test CTGTesterECI using <strong>WebSphere</strong> Studio, right-click the<br />

CTGTesterECIWeb enterprise application folder, and select Run On Server.<br />

If there are no servers defined, this will create a test server configuration called<br />

<strong>WebSphere</strong> Administrative Domain and a test instance called <strong>WebSphere</strong> V4.0<br />

Test Environment.<br />

<strong>The</strong> Publishing window will appear, followed by the Server window. <strong>The</strong> Console<br />

view will show the integrated <strong>WebSphere</strong> server starting. Once the server is<br />

started (shown by the message Server Default Server open for e-business)<br />

the Web browser view will open at the CTGTesterECI welcome page<br />

(Figure C-3).<br />

Figure C-3 <strong>WebSphere</strong> Studio testing CTGTesterECI<br />

In order to flow a request to <strong>CICS</strong>, the server instance must have the <strong>CICS</strong> TG<br />

Java class libraries added. <strong>The</strong> easiest way to do this is to add the <strong>CICS</strong> ECI<br />

resource adapter to the <strong>WebSphere</strong> server instance. To do this, perform the<br />

following steps:<br />

1. From the Server perspective Server Configuration view, expand Server<br />

Configurations.<br />

2. Right-click <strong>WebSphere</strong> Administrative Domain and select Open.<br />

3. In the <strong>WebSphere</strong> Administrative Domain window that appears, click the J2C<br />

tab.<br />

Appendix C. Additional material 393

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

Saved successfully!

Ooh no, something went wrong!