29.01.2013 Views

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

WebSphere Application Server V7.0: Concepts ... - 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.

The results of this can be as follows:<br />

► Thread can be freed<br />

If this is the case, then the user whose request hung receives an exception.<br />

The administrator can define what dump-action should be taken (none,<br />

svcdump, javacore, or traceback).<br />

► Thread cannot be freed<br />

In the case that a thread cannot be freed, the system action depends on the<br />

administrator settings. The options are as follows:<br />

– Abend the servant<br />

– Keep the servant up and running<br />

– Take a dump (defined by new variables)<br />

See Table 14-2 on page 455.<br />

Although the basic options if a thread cannot be freed are still the same as in<br />

prior versions of the <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> for z/OS product, the<br />

decision whether a servant should be abended or kept alive now depends on the<br />

following factors:<br />

► How much CPU time is consumed by the thread? (Looping or just hanging?)<br />

► Is the servant the last servant?<br />

► How many threads are already in a hung state, within this servant?<br />

14.7.4 New properties<br />

Note: The code that is used to unblock a thread is provided by the <strong>WebSphere</strong><br />

<strong>Application</strong> <strong>Server</strong> <strong>V7.0</strong>. To use the Thread Hang Recovery for your<br />

application serving environment, you do not have to implement code for the<br />

Interruptable Objects registry.<br />

For more details on the corresponding parameters, refer to 14.7.4, “New<br />

properties” on page 454.<br />

If a thread that was reported to the controller as hung finishes, the controller is<br />

notified of that so that it is no longer considered in the threshold determination.<br />

As described in the previous section, <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> <strong>V7.0</strong><br />

introduces a set of new variables that allow the administrator to configure the<br />

behavior of the application server if a hung thread cannot be freed.<br />

454 <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> <strong>V7.0</strong>: <strong>Concepts</strong>, Planning, and Design

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

Saved successfully!

Ooh no, something went wrong!