IBM Support

PI50728: SUBMITTING JOBS THRU EJB/WEBSERVICES INTERFACE PART.1.LOG IS MISSING LATEST ENTRIES AND DISPLAYING OLD JOBS ENTRIES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • submitting jobs thru EJB/WebServices interface and have
    noticed the part.1.log is missing latest entries and displaying
    old entries from a previous run.
    
    The logs location is at:
    
    https://ecurep.mainz.de.ibm.com/rest/download/41668%2C035%2C724/
    mail20151006-104057-Gerd.Ottke/conti-copy-batch-app_logs.zip
    
    
    I did review into logs and found "FileNotFoundException" for the
    jobid(conti-copy-batch-app_000160). But, I believe the issue is
    witht
    he jobid conti-copy-batch-app_000162
    -----------------------------------------
    [06.10.15 10:32:02:674 CEST]     FFDC
    Exception:com.ibm.ws.gridcontainer.exceptions.JobLogManagerExcep
    tion
    SourceId:com.ibm.ws.gridcontainer.services.impl.WASJobLogManager
    Impl.get
    JobLogPart ProbeId:75
    com.ibm.ws.gridcontainer.exceptions.JobLogManagerException:
    Job Log Section
    C:\COPROGRAMME32\IBM\WebSphere85\AppServer\profiles\AppSrv01\job
    logs\ser
    ver1\section1\conti-copy-batch-app_000160\20151006_102858\part.1
    .log is
    not present
        at
    com.ibm.ws.gridcontainer.services.impl.JobLogManagerImpl.readLog
    PartCont
    ent(JobLogManagerImpl.java:250)
        at
    com.ibm.ws.gridcontainer.services.impl.JobLogManagerImpl.getJobL
    ogPart(J
    obLogManagerImpl.java:190)
        at
    com.ibm.ws.gridcontainer.services.impl.WASJobLogManagerImpl.getJ
    obLogPar
    t(WASJobLogManagerImpl.java:161)
        at
    com.ibm.ws.gridcontainer.services.impl.PGCControllerImpl.getJobL
    ogPart(P
    GCControllerImpl.java:281)
        at
    com.ibm.ws.gridcontainer.communication.CommandProcessor.getJobLo
    gPart(Co
    mmandProcessor.java:67)
        at
    com.ibm.ws.gridcontainer.PGCControllerServlet._processGetLogPart
    (PGCCont
    rollerServlet.java:163)
        at
    com.ibm.ws.gridcontainer.PGCControllerServlet.doGet(PGCControlle
    rServlet
    .java:218)
    .....
    .....
    Caused by: java.io.FileNotFoundException:
    C:\COPROGRAMME32\IBM\WebSphere85\AppServer\profiles\AppSrv01\job
    logs\ser
    ver1\section1\conti-copy-batch-app_000160\20151006_102858\part.1
    .log
    (The system can not find the path specified).
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:137)
        at
    com.ibm.ws.gridcontainer.services.impl.JobLogManagerImpl.readLog
    PartCont
    ent(JobLogManagerImpl.java:238)
        ... 29 more
    -----------------------------------------------------------
    
    Also, in the logs
    
    [06.10.15 10:35:34:332 CEST] 00000082 BatchFileLogg >
    getLogMetaData
    Entry
    
    C:\COPROGRAMME32\IBM\WebSphere85\AppServer\profiles\AppSrv01/job
    logs\ser
    ver1\section1\conti-copy-batch-app_000162\
    [06.10.15 10:35:34:332 CEST] 00000082 BatchFileLogg >
    getDirectoryList
    RootDirName =
    C:\COPROGRAMME32\IBM\WebSphere85\AppServer\profiles\AppSrv01/job
    logs\ser
    ver1\section1\conti-copy-batch-app_000162\, isMetaData=true
    Entry
    [06.10.15 10:35:34:332 CEST] 00000082 BatchFileLogg 3
    Processing file
    [0] 20151006_103454
    [06.10.15 10:35:34:332 CEST] 00000082 BatchFileLogg 3
    20151006_103454
    is candidate
    [06.10.15 10:35:34:332 CEST] 00000082 BatchFileLogg 3   Adding
    file to
    the list.
    [06.10.15 10:35:34:332 CEST] 00000082 BatchFileLogg 3
    Processing file
    [1] 20151006_103530
    [06.10.15 10:35:34:332 CEST] 00000082 BatchFileLogg 3
    20151006_103530
    is candidate
    [06.10.15 10:35:34:332 CEST] 00000082 BatchFileLogg 3   Adding
    file to
    the list.
    [06.10.15 10:35:34:332 CEST] 00000082 BatchFileLogg <
    getLogMetaData
    Exit
                                     20151006_103454
                                     20151006_103530
    [06.10.15 10:35:34:332 CEST] 00000082 BatchFileLogg >
    getLogPartList
    logSubDirName = 20151006_103530 Entry
    [06.10.15 10:35:34:332 CEST] 00000082 BatchFileLogg >
    getDirectoryList
    RootDirName =
    C:\COPROGRAMME32\IBM\WebSphere85\AppServer\profiles\AppSrv01/job
    logs\ser
    ver1\section1\conti-copy-batch-app_000162\20151006_103530,
    isMetaData=false Entry
    [06.10.15 10:35:34:333 CEST] 00000082 BatchFileLogg 3
    Processing file
    [0] part.0.log
    [06.10.15 10:35:34:333 CEST] 00000082 BatchFileLogg 3
    part.0.log is
    candidate
    [06.10.15 10:35:34:333 CEST] 00000082 BatchFileLogg 3
    Processing file
    [1] part.1.log
    [06.10.15 10:35:34:333 CEST] 00000082 BatchFileLogg 3
    part.1.log is
    candidate
    [06.10.15 10:35:34:333 CEST] 00000082 BatchFileLogg <
    getLogPartList
    Exit
    [06.10.15 10:35:34:333 CEST] 00000082 BatchFileLogg <
    getDirectoryStructure Exit
    [06.10.15 10:35:34:345 CEST] 00000082 BatchFileLogg >
    zipLogParts Entry
    

Local fix

  • NA
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    *                  Compute Grid                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: The database was not being updated with *
    *                      the latest timestamp                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The database was not being updated with the latest timestamp,
    and
    hence when retrieving joblogs, the server was retrieving the
    older
    joblogs.
    

Problem conclusion

  • The correct timestamp is now being updated in the database on
    a job restart, which enables the correct joblog to be
    retrieved.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.9.  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

    PI50728

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-10-16

  • Closed date

    2016-02-19

  • Last modified date

    2016-02-19

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R850 PSY

       UP

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

Document Information

Modified date:
27 April 2022