A quoi bon apprendre ce qui est dans les livres, puisque ça y est! Sacha Guitry
Howto install Jonas 3 on SME server (English)
Howto install Jonas 3 on SME server Author: Van hees Michel <michel_AT_vanhees.cc> Contributor: Sunday, June 20, 2004 08:49 AM |
|
|
|
Problem: |
|
|
STEP 1: Install JAVA
Follow the Howto from HERE
STEP 2: Get Ant archive
Download archive
named apache-ant-1.6.1-bin.tar.gz from ant.apache.org
or download my local copy from HERE
STEP 3: Uncompact
archive and move it
# tar -xvzf apache-ant-1.6.1-bin.tar.gz # mv apache-ant-1.6.1 /var/ |
STEP 4: Get
Jonas archive
Download archive named jonas3.3.6-tomcat4.1.30.tgz from jonas.objectweb.org.
I'm sorry to not propose mirror for that files but size are to big for me.
STEP 5: Uncompact
archive and move it
# tar -xvzf jonas3.3.6-tomcat4.1.30.tgz # mv jonas-3-3-6 /var/ |
STEP 6: Create
init script and adapt it
Create the script for automatic launch.
You can download the script HERE
If you follow the previous instruction and the Howto from Helmut you don't
have to adapt the script.
Otherwise you have to modify the 3 environnement variable (JAVA_HOME, ANT_HOME,
JONAS_ROOT) to reflect your configuration.
# if [ -x # Tomcat export start() if stop() daemon case "$1" exit $RETVAL
|
STEP 7: Initialisation
of Jonas service
If you don't want that Jonas start automatically, you can skip this step.
# /sbin/chkconfig --add jonas3 # ln -s /etc/rc.d/init.d/jonas3 /etc/rc.d/rc7.d/S80jonas3 |
# service jonas3 start |