Configuration context persistence error & can't login after 12.1 Web Viewer upgrade
search cancel

Configuration context persistence error & can't login after 12.1 Web Viewer upgrade

book

Article ID: 237511

calendar_today

Updated On:

Products

Output Management Web Viewer

Issue/Introduction

After a Web Viewer build upgrade, try to login and get:
Configuration context environment can not be found. Contact your System Administrator.

verified the logs and see the below error in the logs at the time of startup of the JVM. 

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
      

Environment

  • Output Management Web Viewer 12.1
  • IBM WebSphere Application Server
  • SQL Server

Resolution

The Process Definition for the JPA is essential and should now be included in the production server's WebSphere, especially before Web Viewer is updated there, also.

Additional Information

Update WebSphere to include...
- CAOMWV12_HOME
- com.ibm.websphere.persistence.ApplicationsExcludedfromJpaProcessing Value = CAOMWebViewer12_ear: and under ...Servant>Java Virtual Machine (Configuration), the Generic JVM argument: -Dsun.lang.Classloader.allowArraySyntax=true