Unable to update from JSS v9.21 to v9.22 - Tomcat error

ianmb
Contributor

I'm attempting to update the JSS from v9.21 to v9.22 on a Windows 2008 R2 (SP1) Server without success.

The JSS Installer runs until the 'Upgrading web app and starting Tomcat 7 service...' stage and then produces an error:

'There was an error installing the JSS, please check the JSSInstaller.log located at C:WindowsTemp'

The log file reads:

Restoring DataBase.xml...
Restored Database.xml.
Starting Tomcat7 Windows Service...
There was an error starting Tomcat.

So it is not obvious why Tomcat cannot be started. Disk space is also not an issue.

Any advice would be greatly appreciated.

1 ACCEPTED SOLUTION

ianmb
Contributor

Thanks guys.

I got round this by completely removing the C:Program FilesJSS directory, then installing the JSS from scratch and restoring from the latest DB backup.

View solution in original post

4 REPLIES 4

Nick_Gooch
Contributor III

We have a similar issue with the JSS starting and sometimes stopping Tomcat. Usually we manually have to go into Services and restart Tomcat after an update or changes to Tomcat settings. .

wyip
Contributor

Whenever I do an upgrade I always manually stop the Tomcat service and rename my C:Program FilesJSSTomcatwebapps folder (e.g. to C:Program FilesJSSTomcatwebapps.old).

Note that if you do this, you'll need to restore your old DataBase.xml file or manually reconfigure your database connection the first time you start up Tomcat and try to login to the JSS, because this file is located inside C:Program FilesJSSTomcatwebappsROOTWEB-INFxml.

Hope this helps.

NickKoval
Contributor
Contributor

I had to remove my ROOT.WAR file and manually stop my Apache Tomcat service to get the JSS installer to complete the install (Thanks @wyip for that piece of advice.) Take a look at the C:Program FilesJSSTomcatlogs and see if there is anything helpful there.

ianmb
Contributor

Thanks guys.

I got round this by completely removing the C:Program FilesJSS directory, then installing the JSS from scratch and restoring from the latest DB backup.