IBM Support

JR40098: CERTAIN BPM 7.5 REST APIS DOES NOT TOLERATE SWEDISH USER LOCALE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • When calling the REST API for retrieving process instance
    details, and the users locale on the server is sv-SE, the an
    error is logged in the SystemOut.log file and the REST call
    returns with HTTP error 500 (Internal Server Error).
    
    The following is the stack trace in the SystemOut.log:
    
    [2011-06-08 10:29:46:734 CEST] 0000009e RestHelper    E   Can't
    find resource for bundle
    com.ibm.bpm.wle.api.rest.resources.wleapirestPIIMessages, key
    sv_SE java.util.MissingResourceException: Can't find resource
    for bundle
    com.ibm.bpm.wle.api.rest.resources.wleapirestPIIMessages, key
    sv_SE
    at java.lang.Throwable.<init>(Throwable.java:67)
    at
    java.util.MissingResourceException.<init>(MissingResourceExcepti
    on.java:50)
    at java.util.ResourceBundle.getBundle(ResourceBundle.java:144)
    at com.ibm.bpm.message.Catalog$1.run(Catalog.java:402)
    at com.ibm.bpm.message.Catalog$1.run(Catalog.java:393)
    at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:202)
    at com.ibm.bpm.message.Catalog.<init>(Catalog.java:392)
    at
    com.ibm.bpm.wle.api.ExceptionImpl.getMessage(ExceptionImpl.java:
    83)
    at
    com.ibm.bpm.wle.api.WleApiException.getMessage(WleApiException.j
    ava:164)
    at
    com.ibm.bpm.wle.api.WleApiException.getMessage(WleApiException.j
    ava:149)
    at
    com.ibm.bpm.wle.api.ExceptionImpl$StackPrinter.visit(ExceptionIm
    pl.java:65)
    at
    com.ibm.bpm.message.util.JavaUtilities.walkExceptionHierarchy(Ja
    vaUtilities.java:220)
    at
    com.ibm.bpm.wle.api.ExceptionImpl.printStackTrace(ExceptionImpl.
    java:106)
    at
    com.ibm.bpm.wle.api.WleApiException.printStackTrace(WleApiExcept
    ion.java:277)
    at com.ibm.bpm.rest.util.Utils.stackToString(Utils.java:131)
    at
    com.ibm.bpm.rest.util.Utils.createExceptionData(Utils.java:215)
    at
    com.ibm.bpm.rest.util.RestHelper.getExceptionResponse(RestHelper
    .java:255)
    at
    com.ibm.bpm.rest.impl.process.BusinessProcessDefinitionResource.
    getBPDInstanceDetails(BusinessProcessDefinitionResource.java:135
    )
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    

Local fix

  • Workaround to avoid http error 500 is add the following JVM
    arguments to server JVM setting. This allows the server running
    in the en_US locale.
    
      -Duser.language=en -Duser.country=US
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  BPM 7.5 users in othen than English locale  *
    ****************************************************************
    * PROBLEM DESCRIPTION: When calling the REST API for           *
    *                      retrieving process instance             *
    *                      details, and the users locale on the    *
    *                      server is sv-SE, the an                 *
    *                      error is logged in the SystemOut.log    *
    *                      file and the REST call                  *
    *                      returns with HTTP error 500             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    This APAR is targetted to be resolved in the next BPM version.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    JR40098

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    750

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-07-15

  • Closed date

    2011-08-24

  • Last modified date

    2011-08-24

  • 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

  • R750 PSY

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5"}]

Document Information

Modified date:
07 October 2021