Hi,
I’ve got new virtual server with Ubuntu 14.04 Server, where I installed
oracle-java8
PostgreSql 9.4
Tomcat 8 (according to - https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-8-on-ubuntu-14-04 ).
Then I tried to install GeoNetwork - just copy/paste geonetwork.war to webapps folder in tomcat/webapps/ . After this Tomcat unpacs the war file, but nothing more happens. When I try the Start button in webapp manager, I get message saying
FAIL - Application at context path /geonetwork could not be started <<
I’ve searched solution for the error in catalina.log and according to comments tried downgrading Java8 → Java7 (java 1.7.0_80-b15), which didn’t help. Then I tried to downgrade tomcat from latest version 8.0.26 → 8.0.20 → 7.0.64 also without any luck… Last thing I tried was to run GeoNetwork 3.0.1 that is working for me on other server, also no luck…
The error in “catalina.2015-09-16.log” for Tomcat7.0.64/java1.7.0_80/GeoNetwork3.0.2 says
Sep 16, 2015 5:25:18 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/opt/tomcat/webapps/geonetwork/WEB-INF/lib/javax.servlet-3.0.0.v201112011016.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
Sep 16, 2015 5:25:26 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Sep 16, 2015 5:25:35 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
Sep 16, 2015 5:25:35 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/geonetwork] startup failed due to previous errors
Sep 16, 2015 5:25:35 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/geonetwork] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Sep 16, 2015 5:25:35 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/geonetwork] appears to have started a thread named [Timer-1] but has failed to stop it. This is very likely to create a memory leak.
Sep 16, 2015 5:25:35 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/geonetwork] appears to have started a thread named [ElementEventQueue.QProcessor-1] but has failed to stop it. This is very likely to create a memory leak.
<<<
Am I forgetting something?
Thank you for any help
Jaroslav Urik