SEVERE: Error configuring application listener of class ¨com.ca.vantage.gwt.server.listener.VantageContextLoader(java.lang.ClassNotFoundException:
search cancel

SEVERE: Error configuring application listener of class ¨com.ca.vantage.gwt.server.listener.VantageContextLoader(java.lang.ClassNotFoundException:

book

Article ID: 273622

calendar_today

Updated On:

Products

Vantage Storage Resource Manager

Issue/Introduction

When upgrading the Vantage Web UI from 14.1 to 14.1.3, the following error was received during startup of the VANWEBUI STC: 

 org.apache.catalina.core.StandardContext listenerStart 
SEVERE: Error configuring application listener of class ¨com.ca.vantage.gwt.server.listener.VantageContextLoader( 
java.lang.ClassNotFoundException: com.ca.vantage.gwt.server.listener.VantageContextLoader
.at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1412)
.at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1220)
.at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:487)
.at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:469)
.at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:141)
.at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4421)
.at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4946) 
.at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)       
.at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:683)
.at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:658)    
.at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:662) 

...

...

...

Cause

The Vantage PAX file was somehow corrupted (yet, installation of the PAX file did NOT show any errors when files were copied, etc., as seen in the Vantage INSTALL log, etc.).

Resolution

The PAX file was re-downloaded and copied to the INSTALL folder of the Vantage installation (anything in this folder that was there previously was first deleted before the PAX file was placed there).  Also, some additional steps to take before performing the maintenance upgrade: 

1) The contents of the 'runtime' folder should be deleted before performing the upgrade if the same folder is being re-used. 

2) The VANWEBUI task should be shut down before performing the upgrade.

3) UNPAX the PAX file from the 'install' folder, and not some other place (such as an alternate path, a different zFS file mount, etc.)

4) Backup the Vantage DB ('vantagedb' folder) before performing the upgrade.

 

Additional notes concerning *any* ': java.lang.ClassNotFoundException' type of error seen during VANWEBUI startup:  

1) This error could be caused by specifying an incorrect 'runtime' path (such as via the Vantage 'CATALINA_HOME=' variable of the VANWEBUI STC JCL).

2) The contents of the files of the Vantage 'runtime' path are corrupted somehow.

 

Additional Information

Install/Upgrade Wizard info (especially note the WARNING provided in this doc): 

https://techdocs.broadcom.com/us/en/ca-mainframe-software/performance-and-storage/ca-vantage-storage-resource-manager/14-1/vantage-user-interfaces/web-client/installing-mtc-m/install-mtc-m.html