14.0 Web Viewer config
search cancel

14.0 Web Viewer config

book

Article ID: 273163

calendar_today

Updated On:

Products

Output Management Web Viewer

Issue/Introduction

Trying to configure the Web Viewer, Tomcat starts ok.
When trying to access the web-viewer, receiving this message in the browser:

----------------------------------------------------------

Failed to connect to Web service in a brown box

In a grey box underneath

Unable to load configuration. The default configuration will be used.

-----------------------------------------------------------

It displays the userid/password screen but cannot enter anything.

Looking in the log for the stc I get this.

Syntax error in SQL statement "CREATE UNIQUE INDEX ""<CV_MASTER>"".""<REPOSITOR
SITORIES>""\000a( NAME, SYSTEM, PATH );"; expected "ON"; SQL statement:        
ITORIES>"_NAMESYSPATH                                                          

Trying to use internal h2 database.

Environment

Release : 14.0

Resolution

The configuration file ConfigFile.cfg (attached to the case) contains placeholder values in the Database section, for example <CV_MASTER>, which are invalid values due to the presence of angled brackets.
The product documentation does not clearly specify when to update them whilst using the H2 internal database.
The quickest way to get to a valid configuration file is to delete all the lines containing placeholder values. The product will use defaults, and the database should initialize successfully when the product is started the next time.