Hi list,
I am having trouble getting Geonetwork 2.8.0 to work. I am developing and building within Eclipse and running Geonetwork through Jetty for local testing works fine. The problems start, when I deploy it to tomcat on the server or locally:
a) When I set a custom data directory and leave it empty Geonetwork fills it with the basic folder-structure. No schemas are available therefore in the administration-interface.
b) Copying the datadir-content from WEB-INF/data to the custom datadirectory results in getting a TransformerConfigurationException with “Failed to compile stylesheet. 2 errors detected.” (this error didn´t occur before, therefore I think it has to do with the datadirectory-change)
The respective entry from the logfile:
2013-03-08 16:17:06,144 ERROR [jeeves.service] - → exception during transformation for : main.home
2013-03-08 16:17:06,145 ERROR [jeeves.service] - → (C) stylesheet : /var/lib/tomcat6/webapps/geonetwork_test/xsl/main-page.xsl
2013-03-08 16:17:06,145 ERROR [jeeves.service] - → (C) message : Failed to compile stylesheet. 2 errors detected.
2013-03-08 16:17:06,145 ERROR [jeeves.service] - → (C) exception : TransformerConfigurationException
c) When I test Geonetwork from within Eclipse in my local tomcat I get even more stylesheet-compilation-errors (66). This time with tons of error-entries like this one:
Error at xsl:template on line 7 column 48 of metadata-csw-record-fop.xsl:
XTSE0660: Duplicate named template (see line 7 of
file:/C:/Geonetwork-GIT-Sources/core-geonetwork/web/target/geonetwork/WEB-INF/data/config/schema_plugins/csw-record/present/metadata-csw-record-fop.xsl)
Does someone have an idea what the reason for this behavior could be and how I could fix it.
Best regards and thanks in advance,
Max Stephan