ERROR: CWWJP0015E in the WebSphere servant log at startup OM Web Viewer 12.1
search cancel

ERROR: CWWJP0015E in the WebSphere servant log at startup OM Web Viewer 12.1

book

Article ID: 17379

calendar_today

Updated On:

Products

Output Management Web Viewer

Issue/Introduction

CWWJP0015E error messages can appear in WebSphere's servant log when WebSphere is initializing. 



Environment

  • Output Management Web Viewer 12.1
  • IBM WebSphere Application Server

Cause

The messages report an incompatibility between the JavaPersistence API (JPA) provider used by WebSphere and the JPA provider delivered as part of OM Output Management Viewer 12.1.

 

Resolution

For database access, Output Management Web Viewer 12.1 uses the Java Persistence API (JPA) provider included as part of the EclipseLink 2.1.1 open-source project instead of the JPA provider delivered as part of WebSphere. This can cause some conflicts when WebSphere initializes its JPA environment. The log for the WebSphere servant process will show the following message:

CWWJP0015E: An error occurred in the org.eclipse.persistence.jpa.PersistenceProvider persistence provider when it attempted to create the container entity manager factory for the CAERMWebViewerPU persistence unit. The following error occurred: java.lang.ClassCastException: org.eclipse.persistence.jpa.PersistenceProvider incompatible with javax.persistence.spi.PersistenceProvider

This appears to have no impact on the functioning of OM Web Viewer. However, the error can be eliminated by following the instructions found in IBM article PM26361 APPLICATIONS USING HIBERNATE MAY EXPERIENCE PERFORMANCE ISSUES DURING APPLICATION START. Note that in step 10 of the IBM procedure, you must specify "CAOMWebViewer12_ear" (or whatever application name was chosen for Web Viewer when it was installed). Also, when running WebSphere on z/OS, there is an extra step between #5 and #6, which is to select the "servant" region.