IBM Support

PI42761: JAVA.LANG.ARRAYINDEXOUTOFBOUNDSEXCEPTION PROCESSING PARALLEL BATCH WITH NO SUBJOBS DEFINED AND TRACING IS ENABLED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • With com.ibm.ws.batch.*=all tracing and a prallel batch job
    with no subjobs is defined which also has this defined in the
    xJCL
    <run instances="multiple" jvm="single">
    The job will go into Restartable state with this message in the
    server log:
       SourceId:
    com.ibm.ejs.container.RemoteExceptionMappingStrategy
       ExtendedMessage: BBOO0220E: CNTR0020E: EJB threw an
    unexpected (non-declared) exception during invocation of method
    "reserveJobNumberBlock" on bean
    "BeanId(LongRunningScheduler#LongRunningJobSchedulerEJBs.jar#
    Job Scheduler, null)". Exception data:
    java.lang.ArrayIndexOutOfBoundsException: Array index out of
    range: 0
      at com.ibm.ws.batch.SchedulerSingleton.
    privateReserveJobNumberStringBlock
    (SchedulerSingleton.java:1239 7)
      at com.ibm.ws.batch.JobSchedulerBean.reserveJobNumberBlock
    (JobSched ulerBean.java:402)
      at com.ibm.websphere.longrun.
    EJSRemoteStatelessJobScheduler_d789712
    6.reserveJobNumberBlock(Unknown Source)
      at com.ibm.websphere.longrun._JobScheduler_Stub.
    reserveJobNumberBlo ck(_JobScheduler_Stub.java:717)
      at com.ibm.ws.gridcontainer.parallel.impl.
    JobSchedulerCommunicationManagerImpl.reserveSubJobNumberBlock
    (JobSchedulerCommunicationMa nagerImpl.java:650)
      at com.ibm.ws.gridcontainer.parallel.impl.
    ReserveJobNumberPrivilegedAction.executeAction
    (ReserveJobNumber PrivilegedAction.java:47)
    

Local fix

  • do not run with this trace string enabled:
    com.ibm.ws.batch.*=all
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.5 Parallel Job Manager Batch      *
    *                  functionality                               *
    ****************************************************************
    * PROBLEM DESCRIPTION: ArrayIndexOutOfBoundsException is       *
    *                      thrown when tracing is enabled on a     *
    *                      Parallel Job Manager Batch Job          *
    *                      specified to run in a single JVM with   *
    *                      zero subjobs.                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    APAR PI42761 is being closed FIN with concurrence from the
    submitting customer. This means that a fix to this APAR is
    expected to be delivered from IBM in a release which is being
    developed at the time that the APAR was closed. The latest
    release of the product to exit development at the time this
    APAR was closed was:
    WebSphere Application Server V8.5.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI42761

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    850

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-06-10

  • Closed date

    2015-08-17

  • Last modified date

    2015-08-17

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

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

Fix information

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022