Personal tools
You are here: Home Documentation FAQs I try to run GeoNetwork opensource but it fails to start
Document Actions

I try to run GeoNetwork opensource but it fails to start

Up to Table of Contents

This FAQ applies to: 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1

I try to run GeoNetwork opensource but it fails to start. I get the following error in the log file: FATAL ERROR: 'Could not compile stylesheet'

Your computer is using an unsupported version of Java. Make sure you use the recommended version of Java as written in the installation notes. For version 2.0 use Java 1.4, for version 2.1 use Java 1.5.

Change the start and stop files for GeoNetwork opensource. Open the start-geonetwork.bat and stop-geonetwork.bat files in a text editor.

For the start file, change line 3:

java -Xmx512m -DSTOP.PORT=8079 -jar start.jar ..\bin\jetty.xml > log\jetty.log

to use a correct path for your Java installation, for example:

C:\Progra~1\Java\j2re1.4.2_03\bin\java -Xmx512m -DSTOP.PORT=8079 -jar start.jar ..\bin\jetty.xml > log\jetty.log

For the stop file, change line 2:

java -DSTOP.PORT=8079 -jar stop.jar

with (again your own path):

C:\Progra~1\Java\j2re1.4.2_03\bin\java -DSTOP.PORT=8079 -jar stop.jar

by Jeroen Ticheler last modified 2007-08-21 01:41 Creative Commons - http://creativecommons.org/licenses/by/2.5/

Creative Commons License
This work is licensed under a Creative Commons Attribution-No Derivative Works 3.0 Unported License.

Powered by Plone CMS, the Open Source Content Management System