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
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.
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