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.

J2EE resource adapter trace<br />

Resource adapter tracing is used to control tracing of the flow of execution<br />

through the CCI classes. When using a non-managed connection factory, it is<br />

activated programmatically by invoking the setTraceLevel() method on the<br />

ECIManagedConectionFactory object. Our sample application CTGTesterCCI<br />

provides the option to activate J2EE resource adapter tracing in this way.<br />

When using a managed environment, J2EE resource adapter tracing is instead<br />

activated by using the Administration application as described in the following<br />

section.<br />

Using the Administration application, set the Trace Level property in the<br />

<strong>CICS</strong>_ECIConnectionFactory J2EE Resource to one of the following values:<br />

0 Disable all tracing<br />

1 Output exception trace stacks<br />

2 Output method entry and exit stack traces<br />

3 Output debug trace entries<br />

We set this value to 2 as shown in Figure 10-30 on page 283, and we also set the<br />

LogWriter Recording parameter to enable.<br />

Figure 10-30 Trace Level settings<br />

Chapter 10. <strong>CICS</strong> TG and <strong>WebSphere</strong> Application Server for z/OS 283

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

Saved successfully!

Ooh no, something went wrong!