Changes between Version 41 and Version 42 of deploy-am

Show
Ignore:
Timestamp:
05/09/11 14:57:37 (8 years ago)
Author:
ibaldin (IP: 152.54.9.21)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • deploy-am

    v41 v42  
    115115 
    116116== Set up Tomcat == 
    117 We provide a customized version of Tomcat 5.5 with ORCA-specific start/stop scripts which should be customized to the specific site. Download and install our version of Tomcat 5.5: 
    118 {{{ 
    119 $ cd $ORCA_HOME 
    120 $ wget https://geni-orca.renci.org/svn/software/tomcat.tar.gz 
    121 $ tar zxvf tomcat.tar.gz 
    122 $ cd $ORCA_HOME/tomcat 
    123 }}} 
    124 Edit start.sh and stop.sh to point to correct paths for ORCA_HOME and CATALINA_HOME. Example start.sh 
    125 {{{ 
    126 #!/bin/bash 
    127117 
    128 # customize this to your setup 
    129 export ORCA_HOME=/opt/orca 
    130  
    131 # if you are using non-standard java, uncomment and change this 
    132 # export JAVA_HOME=/opt/java/jdk-1.6.20 
    133 export LD_LIBRARY_PATH=/usr/local/lib 
    134  
    135 # assuming tomcat is under $ORCA_HOME 
    136 export CATALINA_HOME=$ORCA_HOME/tomcat 
    137  
    138 # if you want to enable debugging, uncomment this line and comment out the following one. Default debug port is 11000 
    139 #declare -x CATALINA_OPTS="-ea -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=11000 -Xmx1024m" 
    140 declare -x CATALINA_OPTS="-Xmx1024m" 
    141  
    142 export ANT_HOME= 
    143 $CATALINA_HOME/bin/catalina.sh start 
    144 }}} 
    145  
    146 Example of stop.sh. 
    147 {{{ 
    148 #!/bin/bash 
    149  
    150 # customize this to your install 
    151 export ORCA_HOME=/opt/orca 
    152  
    153 # uncomment and customize this if you are using non-standard Java install 
    154 #export JAVA_HOME=/opt/java/jdk1.6.0_23 
    155  
    156 # assuming tomcat lives under $ORCA_HOME 
    157 export CATALINA_HOME=$ORCA_HOME/tomcat 
    158  
    159 $CATALINA_HOME/bin/shutdown.sh 
    160 }}} 
     118Folow instructions for [wiki:orca-tomcat setting up Tomcat] and deploying a binary webapp. 
    161119 
    162120== Final Deployment ==