Changes between Version 1 and Version 2 of HowToRunUnderTomcat


Ignore:
Timestamp:
Jun 11, 2008, 7:10:36 AM (16 years ago)
Author:
madair
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToRunUnderTomcat

    v1 v2  
    33GeoNetwork can be run under Tomcat.
    44
     5== Method 1 ==
     6
    57 1. Install Tomcat.
    6  2. Build GeoNetwork.  (See HowToCompile for instructions.)
    7  3. From your GeoNetwork build, copy the subdirectories of the `web` directory to the `webapps` directory of Tomcat. (So you will have `webapps/geonetwork`, etc., in your Tomcat installation.)
    8  4. Edit Tomcat's `server.xml` to set parameters as you wish.
    9  5. Start Tomcat.
     8 2. Get a copy of GeoNetwork from SVN (or use an installed version)
     9 3. Build GeoNetwork.  (See HowToCompile for instructions.)
     10 4.
     11 * option 1: From your GeoNetwork build, copy the subdirectories of the `web` directory to the `webapps` directory of Tomcat. (So you will have `webapps/geonetwork`, etc., in your Tomcat installation.)
     12 * option 2: Put a file called geonetwork.xml in {$CATALINA_HOME}/conf/Catalina/localhost with the following contents (adjust the path as necessary):
     13{{{
     14<Context docBase="C:\Path To\devtree\sourceforge\geonetwork\trunk\web\geonetwork"
     15         privileged="true" antiResourceLocking="false" antiJARLocking="false">
     16</Context>
     17}}}
     18 5. Edit Tomcat's `server.xml` to set parameters as you wish.
     19 6. Start Tomcat.
    1020
    1121'''''Unfortunately''''' . . . at present stopping Tomcat does not shut down GeoNetwork cleanly.  This is