IBM Support

PM21857: WEBSPHERE APPLICATION SERVER THROWS WORKSPACE ERRORS

Fixes are available

7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for AIX
7.0.0.15: Java SDK 1.6 SR9 Cumulative Fix for WebSphere Application Server
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for HP-UX
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for IBM i
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Linux
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Solaris
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Windows
6.1.0.37: Java SDK 1.5 SR12 FP3 Cumulative Fix for WebSphere
7.0.0.17: WebSphere Application Server V7.0 Fix Pack 17
7.0.0.17: Java SDK 1.6 SR9 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.19: WebSphere Application Server V7.0 Fix Pack 19
7.0.0.21: WebSphere Application Server V7.0 Fix Pack 21
7.0.0.23: WebSphere Application Server V7.0 Fix Pack 23
7.0.0.25: WebSphere Application Server V7.0 Fix Pack 25
7.0.0.27: WebSphere Application Server V7.0 Fix Pack 27
7.0.0.29: WebSphere Application Server V7.0 Fix Pack 29
6.1.0.47: WebSphere Application Server V6.1 Fix Pack 47
7.0.0.31: WebSphere Application Server V7.0 Fix Pack 31
7.0.0.27: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.33: WebSphere Application Server V7.0 Fix Pack 33
7.0.0.35: WebSphere Application Server V7.0 Fix Pack 35
7.0.0.37: WebSphere Application Server V7.0 Fix Pack 37
7.0.0.39: WebSphere Application Server V7.0 Fix Pack 39
7.0.0.41: WebSphere Application Server V7.0 Fix Pack 41
7.0.0.43: WebSphere Application Server V7.0 Fix Pack 43
7.0.0.45: WebSphere Application Server V7.0 Fix Pack 45
6.1.0.39: Java SDK 1.5 SR12 FP4 Cumulative Fix for WebSphere Application Server
6.1.0.41: Java SDK 1.5 SR12 FP5 Cumulative Fix for WebSphere Application Server
6.1.0.43: Java SDK 1.5 SR13 Cumulative Fix for WebSphere Application Server
6.1.0.45: Java SDK 1.5 SR14 Cumulative Fix for WebSphere Application Server
6.1.0.47: Java SDK 1.5 SR16 Cumulative Fix for WebSphere Application Server
7.0.0.19: Java SDK 1.6 SR9 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.21: Java SDK 1.6 SR9 FP2 Cumulative Fix for WebSphere
7.0.0.23: Java SDK 1.6 SR10 FP1 Cumulative Fix for WebSphere
7.0.0.25: Java SDK 1.6 SR11 Cumulative Fix for WebSphere Application Server
7.0.0.27: Java SDK 1.6 SR12 Cumulative Fix for WebSphere Application Server
7.0.0.29: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.45: Java SDK 1.6 SR16 FP60 Cumulative Fix for WebSphere Application Server
7.0.0.31: Java SDK 1.6 SR15 Cumulative Fix for WebSphere Application Server
7.0.0.35: Java SDK 1.6 SR16 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.37: Java SDK 1.6 SR16 FP3 Cumulative Fix for WebSphere Application Server
7.0.0.39: Java SDK 1.6 SR16 FP7 Cumulative Fix for WebSphere Application Server
7.0.0.41: Java SDK 1.6 SR16 FP20 Cumulative Fix for WebSphere Application Server
7.0.0.43: Java SDK 1.6 SR16 FP41 Cumulative Fix for WebSphere Application Server

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • During startup ,Websphere Application Server v6.1.x throws
    workspace errors. The following errors are written to the
    SystemOut.log:
    WKSP0009E: Incorrect usage of WorkSpace APIs. The session of
    this WorkSpace is invalid.
    
    WKSP0011E: Unable to create existing session id file .
    workspace_ --java.io.IOException: Access is denied.
    at java.io.File.createNewFile(File.java:879)
    at com.ibm.wsspi.configarchive.DefaultFileAccessor.createNew
      File(DefaultFileAccessor.java:247)
    at com.ibm.ws.sm.workspace.impl.FileAccessorUtil.createNew
      File(FileAccessorUtil.java:279)
    at com.ibm.ws.sm.workspace.impl.WorkSpaceMasterRepository
      Adapter.createSessionIdFile(WorkSpaceMasterRepositoryAdapter.
      java:1028)
    
    FFDC shows the following error:
    
    Exception = com.ibm.ws.sm.workspace.WorkSpaceException
    Source = com.ibm.ws.management.configservice.WorkspaceHelper.
    getDocAccessor
    probeid = 96
    Stack Dump = com.ibm.ws.sm.workspace.WorkSpaceException:
      WKSP0009E Workspace is invalid
     at com.ibm.ws.sm.workspace.impl.WorkSpaceLogger.create
       Exception(WorkSpaceLogger.java:85)
     at com.ibm.ws.sm.workspace.impl.WorkSpaceLogger.create
       Exception(WorkSpaceLogger.java:57)
     at com.ibm.ws.sm.workspace.impl.WorkSpaceImpl.checkValid
       (WorkSpaceImpl.java:181)
     at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.
       extract(RepositoryContextImpl.java:575)
     at com.ibm.ws.management.configservice.WorkspaceHelper.get
       DocAccessorInternal(WorkspaceHelper.java:162)
     at com.ibm.ws.management.configservice.WorkspaceHelper.get
       DocAccessor(WorkspaceHelper.java:127)
     at com.ibm.ws.management.configservice.WorkspaceHelper.get
       DocAccessor(WorkspaceHelper.java:118)
     at com.ibm.ws.management.configservice.WorkspaceHelper.get
       DocAccessor(WorkspaceHelper.java:199)
     at com.ibm.ws.management.configservice.ConfigServiceImpl.
       getAttributeBasic(ConfigServiceImpl.java:1480)
     at com.ibm.ws.management.configservice.ConfigServiceImpl.
       getAttribute(ConfigServiceImpl.java:1230)
     at com.ibm.ws.management.configservice.ConfigServiceServer
       Proxy$21.run(ConfigServiceServerProxy.java:850)
     at com.ibm.ws.security.util.AccessController.doPrivileged
      (AccessController.java:118)
     at com.ibm.ws.management.configservice.ConfigServiceServer
       Proxy.getAttribute(ConfigServiceServerProxy.java:841)
     at com.ibm.ws.sib.admin.impl.JsAdminUtilsImpl$3.run(JsAdmin
       UtilsImpl.java:282)
     at java.security.AccessController.doPrivileged(Access
       Controller.java:246)
     at com.ibm.ws.sib.admin.impl.JsAdminUtilsImpl.getMENameBy
       UuidOnBusScope(JsAdminUtilsImpl.java:243)
     at com.ibm.ws.sib.admin.impl.JsAdminUtilsImpl.getMENameBy
       Uuid(JsAdminUtilsImpl.java:156)
     at com.ibm.ws.sib.admin.JsAdminUtils.getMENameByUuid
       (JsAdminUtils.java:62)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of the default messaging provider for *
    *                  IBM WebSphere Application Server            *
    *                  Version 6.1 and Version 7.0                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: Excessive creation of workspaces by     *
    *                      the bus getMENameByUuid method          *
    *                      increases the risk of WKSP0009E and     *
    *                      WKSP0011E errors                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The default messaging provider has a method called
    getMENameByUuid, which is used to translate an internal UUID
    to a messaging engine name.
    
    The method is used when outputting information messages, such
    as CWSIP0382I. It is also used then creating the message for
    various exceptions.
    
    The internal operation of this method involves a number of
    separate queries to examine the configuration documents of
    the application server. The code uses a different
    configuration service Session object for each call, resulting
    in a large number of workspaces being created.
    
    The configuration service code has a limitation that means
    that WKSP0009E and WKSP0011E errors occur when more than one
    workspace is created by separate threads/processes in the same
    node, in the same millisecond.
    
    The combination of the frequency of calls to the
    getMENameByUuid, combined with the number of Sessions created
    internally by this method, creates a risk of encountering
    WKSP0009E and WKSP0011E errors.
    

Problem conclusion

  • The fix for this APAR reduces the likelihood of encountering
    the WKSP0009E and WKSP0011E errors, by changing the operation
    of the getMENameByUuid method to use a single Session object,
    rather than creating multiple Sesssion objects (and hence
    multiple workspaces).
    However, it does not eliminate the possibility of encountering
    WKSP0009E and WKSP0011E errors, as the configuration service
    limitation regarding creation of workspaces in the same
    millisecond remains, and the getMENameByUuid method might
    still be called on multiple threads at the same time.
    
    In cases where WKSP0009E and WKSP0011E errors still occur
    from getMENameByUuid after the fix for this APAR is applied,
    the following line can be added to a sib.properties file to
    prevent the getMENameByUuid method from creating workspaces at
    all.  With this property set to true, informational messages
    and exceptions from the default messaging provider contain the
    UUID of the messaging engine, rather than the name.
    
    sib.admin.disableMENameLookupsForMsgs=true
    
    See the "Setting tuning properties by editing the
    sib.properties file" topic of the WebSphere Application Server
    information center for information on setting properties in
    the sib.properties file.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 6.1.0.37 and 7.0.0.15.  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

    PM21857

  • Reported component name

    PLAT MSG COM

  • Reported component ID

    620600101

  • Reported release

    200

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-09-03

  • Closed date

    2010-10-29

  • Last modified date

    2011-01-11

  • 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

    PLAT MSG COM

  • Fixed component ID

    620600101

Applicable component levels

  • R200 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
24 October 2021