IBM Support

PI40869: OUT OF MEMORY WHEN TOO MANY WEBSERVICE-REF ELEMENTS IN EJB-JAR.X ML

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Too many webservice-ref elements in an ejb-jar.xml might cause
    an OutOfMemory error.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server V8.5 users *
    *                  of JAX-WS web services in an EJB module.    *
    ****************************************************************
    * PROBLEM DESCRIPTION: An OutOfMemory might occur when         *
    *                      there are many "service-ref"            *
    *                      elements in an ejb-jar.xml.             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A session bean could inject a webservice by "service-ref"
    elements in an ejb-jar.xml. Every service-ref will take some
    memory, but it will take a huge amount of memory if there are
    lots of session beans references to serveral webservices.
    Assume there are m session beans, and every session bean has n
    service-ref element, then it will need cache m*n service-ref
    elements. This will need a lot of memory.
    

Problem conclusion

  • A new jvm custom property
    "com.ibm.webservice.OptimizeServiceRef" is added to the
    WebSphere Application Server to allow reuse of the cached
    "service-ref" elements. When the value is set to true, the
    cached "service-ref" information will be reused instead of
    creating a new one. When the property is set to false, this
    fix will not take affect. The default value of this property
    is false.
    
    The following Knowledge Center topic describes how to set
    a JVM property:
    
    http://www-
    01.ibm.com/support/knowledgecenter/SSEQTP_8.5.5//com.ibm.websphe
    re.base.iseries.doc/ae/trun_jvm.html
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.7.  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

    PI40869

  • 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-05-12

  • Closed date

    2015-07-14

  • Last modified date

    2015-07-14

  • 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:
28 April 2022