search cancel

Error Running CAHVMIG to import Repositories rc=256 in the IMPTCFG step Web Viewer 14.0

book

Article ID: 133749

calendar_today

Updated On:

Products

Deliver View

Issue/Introduction

When I start up and login to Web Viewer, there are no repositories.

When running CAHVMIG (which ran successfully previously on the test lpar),  A rc=256 in comes back from the IMPTCFG step.

Exception in thread "main" java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=com/ca/om/web_viewer_utils/migration/Utility, offset=6  

Environment

Release : 14.0

Component : WEB VIEWER

Cause

Web Viewer 14.0 requires Java 1.8 64bit. That message means that it is picking up Java modules that are prior to Java 1.8.

Resolution

Verify that you are pointing to the correct Java 1.8 64bit library and that the directory exists.

If not, correct that.

If that looks ok then to troubleshoot, add -version into the STDPARM DD, so it looks something like: (only the -version line is new)

//STDPARM DD *  

SH $JAVA_HOME/bin/java  

-version  

-cp "$CV_INSTALL/$CVUTILNAME:$CV_INSTALL/$H2JAR"

…etc…

Run that and the output should indicate what version of the base Java program you are running.