WebSphere Actions fail when warning exception encountered

Document ID : KB000087563
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
Warning! Server xyz is not running.

When using the Action Pack, "Action Pack Package.IBM.WebSphere_PCK.AUTOMIC_IBM_WEBSPHERE", an exception is raised when a warning exception is encountered instead of just logging the error as expected.  As a result, it is not possible to stop the application because the server is not online.

This is a result of a parameter being set to "raise" instead of "print" to log the warning. The above error message will be displayed and the server will no longer be running.

 
Cause:
Cause type:
Defect
Root Cause: Wrong message type being used. Using raise an exception instead of print an exception.
Resolution:
This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.

Fix Status: Released

Fix Version(s):
Component(s): ARA Action Packs

Package IBM WebSphere 1.2.0 - Available
Additional Information:
Workaround :
Stop the Application manually.SOLUTIONThe fix version listed below corrects the behavior and when a warning is encountered it will be set to 'print', which will print the error message to the log file. In addition, the application will not stop if the server is not online. Instead, if no server is available a search attempt for another active server will be initiated, if parameterized.