IBM Support

PI90716: Liberty z/OS CWWKY0035I: AN EXCEPTION OCCURRED WHILE TRYING TO PERSIST JOB JAVA.LANG.ILLEGALSTATEEXCEPTION: NO MATCH FOUND

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • With 17.0.0.2, the following occurs when running a job with
    no
    id under WOLA and batchSMFLogging-1.0 feature enabled.
    However,
    this works when using BatchManger or the REST interface or
    the
    batchSMFLogging feature is removed.
    
    batch.container.controller.impl.WorkUnitThreadControllerImpl
    CWWKY0035I: An exception occurred while trying to persist
    job
    execution status and related data.
    java.lang.IllegalStateException: No match found
    .at java.util.regex.Matcher.group(Matcher.java:547)
    .at
    com.ibm.ws.jbatch.smflogging.internal.JBatchSMFLogging.getUs
    sSec
    tion(JBatchSMFLogging.java:1914)
    
    Will see FFDC files created like this:
    
    FFDC1015I: An FFDC Incident has been created:
    "com.ibm.jbatch.container.exception.BatchIllegalJobStatusTra
    nsit
    ionException: Job execution: 201 cannot be transitioned from
    Batch Status: COMPLETED to FAILED
    com.ibm.jbatch.container.services.impl.JPAPersistenceManager
    Impl
    $10 989"
    

Local fix

  • This message can be ignored as it is not causing the job to
    fail.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty- Batch                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: When a SMF record is being collected    *
    *                      for a java batch user that has no OMVS  *
    *                      segment defined, a parsing error is     *
    *                      encountered gathering USS information   *
    *                      for the SMF record                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Because it is valid for a z/OS user to have no OMVS segment
    defined, the USS information for the user will be null. The java
    batch SMF recording logic which gathers USS data as part of the
    records being produced did not account for this fact. The null
    values encountered causes the following parse exception as SMF
    gathers USS data, which will be seen in an FFDC record:
    
    java.lang.IllegalStateException: No match found
    .at java.util.regex.Matcher.group(Matcher.java:547)
    .at
    com.ibm.ws.jbatch.smflogging.internal.JBatchSMFLogging.getUssSec
    tion(JBatchSMFLogging.java:1914)
    .at
    com.ibm.ws.jbatch.smflogging.internal.JBatchSMFLogging.buildAndW
    riteJobEndRecord(JBatchSMFLogging.java:320)
    .at
    com.ibm.jbatch.container.execution.impl.RuntimeJobExecution.work
    Ended(RuntimeJobExecution.java:197)
    .at
    com.ibm.jbatch.container.controller.impl.WorkUnitThreadControlle
    rImpl.persistWorkUnitBatchAndExitStatus(WorkUnitThreadController
    Impl.java:297)
    .at
    com.ibm.jbatch.container.controller.impl.WorkUnitThreadControlle
    rImpl.endOfWorkUnit(WorkUnitThreadControllerImpl.java:269)
    .at
    com.ibm.jbatch.container.controller.impl.WorkUnitThreadControlle
    rImpl.executeWorkUnit(WorkUnitThreadControllerImpl.java:187)
    .at
    com.ibm.jbatch.container.controller.impl.WorkUnitThreadControlle
    rImpl£AbstractControllerHelper.runExecutionOnThread(WorkUnitThre
    adControllerImpl.java:480)
    .at
    com.ibm.jbatch.container.controller.impl.WorkUnitThreadControlle
    rImpl.runExecutionOnThread(WorkUnitThreadControllerImpl.java:89)
    .at
    com.ibm.jbatch.container.util.BatchWorkUnit.run(BatchWorkUnit.ja
    va:117)
    .at
    com.ibm.ws.context.service.serializable.ContextualRunnable.run(C
    ontextualRunnable.java:80)
    .at
    java.util.concurrent.Executors£RunnableAdapter.call(Executors.ja
    va:522)
    .at java.util.concurrent.FutureTask.run(FutureTask.java:277)
    .at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExec
    utor.java:1160)
    .at
    java.util.concurrent.ThreadPoolExecutor£Worker.run(ThreadPoolExe
    cutor.java:635)
    .at java.lang.Thread.run(Thread.java:785)
    

Problem conclusion

  • The java batch SMF recording logic was updated to tolerate a non
    existent uid or gid value in the case that no OMVS segment is
    defined for a particular user. The SMF record for either uid or
    gid will be set to a known max negative value if not present.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 18.0.0.2  Please refer to the Recommended Updates page for
    delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI90716

  • Reported component name

    LIBERTY PROF -

  • Reported component ID

    5655W6514

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-11-28

  • Closed date

    2018-05-25

  • Last modified date

    2018-05-25

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    LIBERTY PROF -

  • Fixed component ID

    5655W6514

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M"},"Platform":[{"code":"PF054","label":"z\/OS"}],"Version":"850"}]

Document Information

Modified date:
07 September 2021