Changes between Version 18 and Version 19 of HowToRunUnderTomcat
- Timestamp:
- 09/08/09 23:46:09 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowToRunUnderTomcat
v18 v19 45 45 a. In `/...path_to_GeoNetwork_installation_goes_here.../web/geoserver/WEB-INF/web.xml` set the value of the parameter 'GEOSERVER_DATA_DIR' to '/...path_to_GeoNetwork_installation_goes_here.../data/geoserver_data'. 46 46 1. Turn off Tomcat security: 47 a. In `/etc/init.d/tomcatXXX` set 'TOMCATXXX_SECURITY' (XXX = Tomcat version) parameter to 'no'. 47 a. In `/etc/default/tomcatXXX` set 'TOMCATXXX_SECURITY' (XXX = Tomcat version) parameter to 'no'. 48 1. Make sure you allocated enough Java heap space: 49 a. In `/etc/default/tomcatXXX` set 'JAVA_OPTS="-Xmx768M"' if you get an error like this: java.lang.!OutOfMemoryError: Java heap space 48 50 1. Edit Tomcat's `server.xml` to set parameters as you wish. 49 51 1. If you can't find your log files, make sure you edit `/...path_to_GeoNetwork_installation_goes_here.../web/geonetwork/WEB-INF/log4j.cfg`: