Changes between Version 10 and Version 11 of HowToRunUnderTomcat
- Timestamp:
- 05/12/09 02:32:35 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowToRunUnderTomcat
v10 v11 1 = Running GeoNetwork under Tomcat =1 = Running !GeoNetwork under Tomcat = 2 2 3 GeoNetwork can be run under Tomcat.3 !GeoNetwork can be run under Tomcat. 4 4 5 There are three web applications (webapps) in GeoNetwork; you will find5 There are three web applications (webapps) in !GeoNetwork; you will find 6 6 them in the `web` directory of the installation: `geonetwork`, `intermap`, and `geoserver`. 7 For GeoNetwork to function correctly in Tomcat (or in any servlet7 For !GeoNetwork to function correctly in Tomcat (or in any servlet 8 8 container, for that matter), you must publish at least `geonetwork` and `intermap`; 9 9 the following instructions publish all three webapps. 10 10 11 11 1. Install Tomcat. 12 1. Prepare GeoNetwork. You can either:12 1. Prepare !GeoNetwork. You can either: 13 13 a. Use the installer. 14 14 a. Download and build from source. See HowToWorkWithSubversion … … 17 17 to use GAST to initialize the database. 18 18 1. Copy or link to the webapps. Either: 19 a. From your GeoNetwork build (or installation), copy all of the19 a. From your !GeoNetwork build (or installation), copy all of the 20 20 subdirectories of the `web` directory to the `webapps` directory 21 21 of Tomcat. (So you will have `webapps/geonetwork`, `webapps/intermap`, … … 42 42 1. Start Tomcat. 43 43 44 '''''Unfortunately''''' . . . at present stopping Tomcat does not shut down GeoNetwork cleanly. This is44 '''''Unfortunately''''' . . . at present stopping Tomcat does not shut down !GeoNetwork cleanly. This is 45 45 documented at [http://www.nabble.com/Tomcat-5.5-hangs-when-hosting-GN-2.2.0--SEC%3DUNCLASSIFIED--td17660763.html]. 46 46 You need to make either of the modifications suggested there before you build. … … 50 50 You'll encounter problems if you enable the Z39.50 server, 51 51 because Tomcat is missing a JAR file that is included 52 with the Jetty installation bundled with GeoNetwork.52 with the Jetty installation bundled with !GeoNetwork. 53 53 54 54 In short, you'll need this additional step: 55 1. From your GeoNetwork build, locate the file55 1. From your !GeoNetwork build, locate the file 56 56 `jetty/ext/xercesImpl.jar`, and copy it into 57 57 your Tomcat's `webapps/geonetwork/WEB-INF/lib`.