Version 5 (modified by 17 years ago) ( diff ) | ,
---|
Running GeoNetwork under Tomcat
GeoNetwork can be run under Tomcat.
- Install Tomcat.
- Get a copy of GeoNetwork from SVN (or use an installed version)
- Build GeoNetwork. (See HowToCompile for instructions.)
- Configure Tomcat:
- option 1: From your GeoNetwork build, copy the subdirectories of the
web
directory to thewebapps
directory of Tomcat. (So you will havewebapps/geonetwork
, etc., in your Tomcat installation.) - option 2: Put a file called geonetwork.xml in {$CATALINA_HOME}/conf/Catalina/localhost with the following contents (adjust the path as necessary):
<Context docBase="C:\Path To\devtree\sourceforge\geonetwork\trunk\web\geonetwork" privileged="true" antiResourceLocking="false" antiJARLocking="false"> </Context>
- Edit Tomcat's
server.xml
to set parameters as you wish. - Start Tomcat.
Unfortunately . . . at present stopping Tomcat does not shut down GeoNetwork cleanly. This is documented at http://www.nabble.com/Tomcat-5.5-hangs-when-hosting-GN-2.2.0--SEC%3DUNCLASSIFIED--td17660763.html. You need to make either of the modifications suggested there before you build.
Note:
See TracWiki
for help on using the wiki.