Friday, August 07, 2020

Performing an upgrade for Horizon Web Services

Upgrading Horizon Web Services is unfortunately more/less a full reinstall of the Apache tomcat server and software which you can read my post about here.  This means you will have to re-apply any TLS certificate you have setup with your Horizon Web Services (which is a pain but do able).

On my previous post we installed Horizon Web Services 201709 (you can see the full version number in the picture) and now we are going to upgrade to version 6.0.2R2 from 201709

Now this is a few versions behind and since an upgrade to Horizon 7.5.5 from 7.5.4.1 an app produced by sirsidynix called mobilecirc (mobile staff) available for both android and ios broke and will not allow you to create/register new users.

Before you begin your upgrade you will want to backup your classes directory in the webapps  directory webapps\"YourHorizonWebServicesInstanceName"\WEB-INF\classes

It is safest to stop your service before doing the backup.  In this case "Apache Tomcat HWS"
The web-inf\classes directory is in the web directory you setup when you installed tomcat typically "hzws" if you use the defaults.  I just backed up the whole web directory as a zip file.
Then you should uninstall the version of Web services your using thought the program and features in the control panel.  Since 201709 is running on tomcat 7, and version 6.0.2R2 is on tomcat 8, this will also upgrade our tomcat install.
Once uninstalled reboot the server, and start the installation of Web Services you want to install in this case we are doing 6.0.2R2.
Now for the java vm I am selecting the latest version of java for this.

Then the rest of the install works just like in my post to install Horizon Web Services.  Once the install is done don't forget to go to Services and change the startup type to automatic.


Once the service is started, you will have to fix the TLS certificate.  The installer resets all customized tomcat configurations.


You will have to edit the server.xml file located in Webservices\conf\server.xml and update your keystorefile,  keystorepass, and server values 


Restart Apache tomcat and the TLS Certificate should be working properly.
and our web services is now version 6.0.2.201291521






How to fix CURL call imporitng an RSS feed on a site blocking CURL calls

There is a 3rd party service provider that my organization uses called bibliocommons.  They have these nice book carousels.  However the car...