Saada1.5 needs Java 1,6 (or Java6). As the Web interface is based on Java code (Servlets), the application server (Tomcat) must be compliant with Java 6 too. That can be checked at Tomcat starting time :
host:~/bin> startup.sh
Using CATALINA_BASE: /home/michel/java/apache-tomcat-5.5.12
Using CATALINA_HOME: /home/michel/java/apache-tomcat-5.5.12
Using CATALINA_TMPDIR: /home/michel/java/apache-tomcat-5.5.12/temp
Using JRE_HOME: /usr/local/share/jdk1.6.0_05/
|
If JRE_HOME is a release lower than 6, Saada would never work.
Tomcat can be run with Java 6 without specific system configuration. You just need to make the shell variable JAVA_HOME pointing on Java 6 and then to restart Tomcat
- If you have Java 6 installed on your machine (e.g. in /usr/local/share/jre1.6.0_03) .
host:~/bin>setenv JAVA_HOME /usr/local/share/jre1.6.0_03
host:~/bin> startup.sh
Using CATALINA_BASE: /home/michel/java/apache-tomcat-5.5.12
Using CATALINA_HOME: /home/michel/java/apache-tomcat-5.5.12
Using CATALINA_TMPDIR: /home/michel/java/apache-tomcat-5.5.12/temp
Using JRE_HOME: /usr/local/share/jre1.6.0_03
|
Use appropriate setenv command according to your favorite Linux shell or click at the right place on Windows.
- If you don’t have Java 6 on yur machine, you have it in Saada :
host:~/bin>setenv JAVA_HOME SAADA_HOME/jtools/java
host:~/bin> startup.sh
Using CATALINA_BASE: /home/michel/java/apache-tomcat-5.5.12
Using CATALINA_HOME: /home/michel/java/apache-tomcat-5.5.12
Using CATALINA_TMPDIR: /home/michel/java/apache-tomcat-5.5.12/temp
Using JRE_HOME: SAADA_HOME/jtools/java
|
SAADA_HOME is the Saada installation directory. In that case, take care to keep your Saada install in place.
You also can use the java distribution of a SaadaDB instance (setenv JAVA_HOME SAADA_DB_HOME/jtools/java). last update 2008-05-13
|