ASYN9999E - Scheduler task error in SystemOut.log occurs on regular interval

Technote (troubleshooting)


Problem

The SystemOut.log records one or both of the following exceptions with regular frequency:

Case #1:

ASYN9999E: Unexpected Exception Occurred: com.ibm.websphere.asynchbeans.SerialDeserialException: Exception while deserializing a saved service. Service=security. Unable to deserialize the Subjects in this Context, cause: Validation of LTPA token failed due to invalid keys or token type.

Case #2:

ASYN9999E: Unexpected Exception Occurred:
com.ibm.websphere.asynchbeans.SerialDeserialException: Exception while deserializing a saved service. Service=security. Unable to deserialize the Subjects in this Context, cause: The user is from a foreign realm, <realmName>, and this foreign realm is not trusted.
Current realm is <realmName>.


Cause

Case #1: The AsyncBean in the scheduler table has an LTPA token that was signed by the outdated LTPA key.

Case #2: The security configuration has changed and the credentials stored by WebSphere Application Server for the scheduler tasks need to be updated.


Resolving the problem

For Case #1, the scheduler table needs to be cleaned up via the ConfigEngine script 'action-clean-scheduled-tasks'.

- For Windows: ConfigEngine.bat action-clean-scheduled-tasks -DWasPassword=<WasAdminPassword>

- For UNIX: ./ConfigEngine.sh action-clean-scheduled-tasks -DWasPassword=<WasAdminPassword>

For Case #2, re-register the scheduler so that the realm is reset by running this
ConfigEngine task:

- For Windows: ConfigEngine.bat reregister-scheduler-tasks -DPortalAdminId=<adminID>
-DPortalAdminPwd=<password>

- For UNIX: ./ConfigEngine.sh reregister-scheduler-tasks -DPortalAdminId=<adminID>
-DPortalAdminPwd=<password>

Related information

Re-registering scheduler task

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere Portal
WebSphere Application Server Integration

Software version:

7.0, 8.0

Operating system(s):

AIX, HP-UX, IBM i, Linux, Solaris, Windows, i5/OS, z/OS

Reference #:

1618152

Modified date:

2014-05-14

Translate my page

Machine Translation

Content navigation