This guide covers installing or updating iGene on an existing Tomcat server using a new ROOT.war deployment package.
Before starting:
iGene; servers built earlier may be named Tomcat9. Check in Services.ROOT.war file.Before deploying the new version, create the following backups.
Backup the current WAR file:
C:\path\to\tomcat\webapps\ROOT.war
Backup the current exploded application folder:
C:\path\to\tomcat\webapps\ROOT\
Create a database backup to support rollback if required.
Stop the Tomcat service using one of the following methods.
Open Services and stop the Tomcat service.
C:\path\to\tomcat\bin\shutdown.bat
Wait until Tomcat has fully stopped before continuing.
Copy the new WAR file to:
C:\path\to\tomcat\webapps\ROOT.war
Remove the existing exploded application folder:
C:\path\to\tomcat\webapps\ROOT\
Tomcat will recreate this folder automatically when the application starts.
iGene keeps its configuration, storage pool, report templates and logging settings in the iGene Home Folder. Tomcat tells iGene where that folder is using a context file:
C:\path\to\tomcat\conf\Catalina\localhost\ROOT.xml
The file is named ROOT.xml because iGene is deployed as ROOT.war. The two names must match.
Create the Catalina\localhost folders if they do not already exist, then create a file named ROOT.xml containing:
<Context>
<Parameter name="igene_home" value="D:\igene_home" override="true" />
</Context>
Change D:\igene_home to the actual location of the iGene home folder on this server.
The file will already be in place, so there is nothing to create. Confirm it is still present and that the path it contains is correct before starting Tomcat.
If this file is missing, or the path in it is wrong, iGene will not be able to find its home folder and will not start correctly.
Start the Tomcat service using one of the following methods.
Start the Tomcat service from Services.
C:\path\to\tomcat\bin\startup.bat
Allow sufficient time for the application to deploy and start.
After Tomcat has started:
If an issue is identified after deployment:
ROOT.war.