After following the post installation step to upgrade the JRE used by Service Catalog found here:
the Service Catalog service starts, but no-one can log in to Service Catalog.
Looking in the ServiceCatalog.log file, the following errors can be seen:
INFO | jvm 1 | 2017/02/24 09:18:33 | SEVERE: Exception sending context initialized event to listener instance of class com.ca.usm.system.SpringContextLoaderListener
INFO | jvm 1 | 2017/02/24 09:18:33 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SLAProcessor' defined in URL [jar:file:/C:/Program%20Files/CA/Service%20Catalog/view/webapps/usm/WEB-INF/lib/common.core.jar!/com/ca/usm/slaprocessor/SLAProcessor.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'slaInstanceDaoImpl' defined in URL [jar:file:/C:/Program%20Files/CA/Service%20Catalog/view/webapps/usm/WEB-INF/lib/common.core.jar!/com/ca/usm/slaprocessor/dao/SLAInstanceDaoImpl.class]: Initialization of bean failed; nested exception is java.lang.VerifyError: Expecting a stackmap frame at branch target 159
INFO | jvm 1 | 2017/02/24 09:18:33 | Exception Details:
INFO | jvm 1 | 2017/02/24 09:18:33 | Location:
INFO | jvm 1 | 2017/02/24 09:18:33 | com/ca/usm/slaprocessor/dao/SLAInstanceEntity.toString()Ljava/lang/String; @148: ifne
The Service Catalog service does not start cleanly.
First, stop the Service Catalog service if it's running. Now, edit the %USM_HOME%\view\conf\viewService.conf file and locate the lines which start:
wrapper.java.additional.<nn>=...
(The numbers will increment by one for each line, so each additional parameter is unique)
Locate the last line and add this line after it:
wrapper.java.additional.<nn>=-noverify
where <nn> is the number from the line above, incremented by one.
i.e. If the lines are:
wrapper.java.additional.20=-XX:-UseSplitVerifier
wrapper.java.additional.21=-Dusm.java.home="C:/Program Files/Java/jre1.8.0_45"
wrapper.java.additional.22=-Dusm.process.mode=%USM_PROCESS_MODE%
the line to be added is
wrapper.java.additional.23=-noverify
Start the Service Catalog service, it will start cleanly with no errors and users will be able to log into to Service Catalog