The GRIA Basic Application Services software itself is contained within a single WAR (or "web archive") file gria-basic-app-services.war, located within the /war directory of this package. Once the pre-requisites have been set-up and the war file has been deployed to Tomcat, the web-based administration interface guides the user through the rest of the installation process.
If you have 5.x version of this package already installed, you can upgrade it to the lastest version without having to perform a completely new installation. This can be done via the Tomcat Web Application Manager using the following procedure:
This software will run on many operating systems. Currently, we provide documented instructions for installation on the following:
GRIA has also been installed on RedHat and Debian with minor changes to the installation/configuration instructions (please contact GRIA support if you require assistance with these or other operating systems). However, our recommended platform to use is SuSE - this Linux distribution contains all of the prerequisites required for GRIA, is straightforward to maintain and patch, and is the platform that this software has undergone the most amount of testing with.
Whichever operating system you install the GRIA Basic Application Services on, the prerequisites are Tomcat, Java, and Perl .
We recommend the following as a minimum specification machine for this software:The next steps require the use of a web browser to complete the war file deployment.
N.B. "<servername>" should be replaced with the IP address or fully qualified hostname of the computer running the Tomcat server.
You will be prompted for a username and password to be entered before displaying the manager page. Use "admin" as the username and enter the password that selected either by using the Tomcat installer (WinXP) or by editing the <TOMCAT_HOME>/conf/tomcat-users.xml (Linux) .
Scroll down to the WAR file to deploy subsection, within the Deploy section. Beside the "Select WAR file to upload" box, click the browse icon and select the gria-basic-app-services.war file, before clicking the "Deploy" button:
GRIA Basic Application Services should now also be listed within the Applications section. Note here in the last column is where individual applications may be started, stopped, reloaded or if desired undeployed completely from within Tomcat.
This completes the first part of the installation and deployment of GRIA Basic Application Services.
Having successfully deployed the war file, you can invoke it by just clicking on this /gria-basic-app-services from the Applications section.
Alternatively you can invoke the web application via: http://<servername>:8080/gria-basic-app-services.
N.B. "<servername>" should be replaced with the IP address or fully qualified hostname of the computer running the Tomcat server.
On starting the web application you will be presented with a login dialog box. You need to log in as a user with the gria_basic_app_services_admin tomcat role. You can create this role by editing the tomcat-users.xml file as above. Click Cancel in the login dialog box if you need more detailed instructions.
If you get a 401 Not Authorized error without being prompted to log in, then this probably means that the Java compiler isn't working (check for errors in the catalina.out log file). The usual cause of this is trying to run tomcat immediately after installing Java. You must log out and log in again to ensure the JAVA_HOME environment variable is set to the correct location.
Once you have logged in, the web application will guide you through the rest of the installation process.
Note the instructions given below are for removing this software package only. Should you wish to also remove its pre-requisites, then you must follow the instructions provided with them.