Communication error with server after applying Maintenance Web Viewer 14.0
search cancel

Communication error with server after applying Maintenance Web Viewer 14.0

book

Article ID: 254255

calendar_today

Updated On:

Products

Output Management Web Viewer

Issue/Introduction

We just upgraded this system from  14.0.13 to 14.0.55.

This required a reconfiguration using CA common services tomcat.

My browser at signon gets these errors

  • failed to connect to web service
  • unable to load configuration the default configuration will be loaded

The started task shows these messages:

CAHVS0203E Cannot connect to external database Failed to get driver instance for jdbcUrl
jdbc:h2:/opt/CA_Web_Viewer/database> 

CAHVS0001I Web Viewer version 14.0.03 build 14.0.55 #54082e4d 2022-08-19 08:33:17 start up
complete

Environment

Release : 14.0

H2 database

Web Viewer

Tomcat

Common Services 15.0

Cause

Could not access the H2 database after applying maintenance

Resolution

In STDENV the CLASSPATH entry for H2 was pointing to a directory containing h2.jar, not the h2.jar itself. Fixing this resolved the CAHVS0203E message

Followed by exception with "null" message, with a database-related stack.

In ConfigFile.cfg DBTYPE = "H2", DBLOCATION = "/opt/CA_Web_Viewer/database>"

database>.mv.db and database>.trace.db were directories, not files. after copying over the database files from old deployment, and giving them chmod 775, product started working