IBM Support

Warning messages are printed in the log concerning 'WorklightPU' ClassTransformer registration

Troubleshooting


Problem

Worklight Server may log the following warning messages related to the OpenJPA runtime when the Worklight Console is first accessed: [err] 83 WorklightPU WARN [Default Executor-thread-2] openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'WorklightPU', root URL [file:/c:/IBM/Liberty85/usr/servers/defaultServer/libs/worklight-jee-library.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available. [err] 2490 WorklightPU INFO [Default Executor-thread-2] openjpa.Runtime - Starting OpenJPA 1.2.2 [err] 2647 WorklightPU INFO [Default Executor-thread-2] openjpa.jdbc.JDBC - Using dictionary class "com.worklight.database.WorklightMySQLDBDictionary". The Worklight integration with OpenJPA does not require the registration of a ClassTransformer at load-time, however according to http://openjpa.apache.org/integration.html (towards the bottom of the page), the OpenJPA / Spring integration will always log warnings when a ClassTransformer is not registered at load-time.

Resolving The Problem

These warning messages can be safely ignored

[{"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Server","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"5.0","Edition":"Consumer;Enterprise","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SS4HGH","label":"IBM Mobile Foundation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Server","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"5.0","Edition":"Consumer;Enterprise","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21605316