IBM Support

PM88445: DEPLOYMENT OF APPLICATION WITH SKINS FAILS WITH OPENJPA PERSISTENCE EXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When setting DBType to be MYSQL and trying to deploy a project
    which includes a skin, the following error is returned:
    Failed deploying application to Worklight Server: The
    transaction has been rolled back. See the nested exceptions for
    details on the errors that occurred.; nested exception is
    <openjpa-1.2.2-r422266:898935 fatal general error>
    org.apache.openjpa.persistence.PersistenceException: The
    transaction has been rolled back. See the nested exceptions for
    details on the errors that occurred.
    

Local fix

  • Increase the size of the max_allowed_packet variable in MYSQL to
    something larger than 1048576.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Developers who have a large project (for example, one with   *
    * skins) and who are working in an environment which uses      *
    * MYSQL.                                                       *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The root cause for the failure is that MYSQL has a default   *
    * setting of max_allowed_packet=1048576 and, with the skin, we *
    * try to deploy a deployable that is bigger than that.         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The error message has been updated so that it correctly explains
    the issue and provides a suggested solution.
    
    The fix for this APAR is currently targeted for inclusion in
    fixpack 5.0.6.1.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM88445

  • Reported component name

    WORKLIGHT CONSU

  • Reported component ID

    5725I4301

  • Reported release

    506

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-05-04

  • Closed date

    2013-05-04

  • Last modified date

    2013-05-04

  • 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

    WORKLIGHT CONSU

  • Fixed component ID

    5725I4301

Applicable component levels

  • R506 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"506","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
04 May 2013