[GeoNode-users] Geoserver version and requirements

Eugenio Trumpy frippe12573 at hotmail.com
Thu Sep 24 02:20:28 PDT 2015


Dear all,

for many reasons I had to configure two tomcat6 containers since I have 
to manage two different geoserver:
first geoserver (G1) is an original version 2.3.2, which is running correctly in the first container of tomcat6. This geoserver the one I use to spread spatial dataset on behalf of my organizationsecond geoserver (G2) istance is the version I took from geonode installation (from downloaded directory), and I put it on the second tomcat6 container.


Unfortunately G2 is not running, although the second tomcat6 container runs fine (I tested a sample application downloaded from the web and I tried there a normal geoserver application (vs.2.3.2), the G2 took from the geonode istallation give me the error here below:


4-set-2015 11.15.40 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
24-set-2015 11.15.40 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8081
CompilerOracle: unrecognized line
  "exclude net/sf/saxon/event/ReceivingContentHandler startElement'"
  Unrecognized text after command: '
24-set-2015 11.15.48 org.apache.catalina.startup.ClassLoaderFactory validateFile
AVVERTENZA: Problem with directory [/usr/share/tomcat6/server/classes], exists: [false], isDirectory: [false], canRead: [false]
24-set-2015 11.15.48 org.apache.catalina.startup.ClassLoaderFactory validateFile
AVVERTENZA: Problem with directory [/usr/share/tomcat6/server], exists: [false], isDirectory: [false], canRead: [false]
24-set-2015 11.15.48 org.apache.catalina.startup.ClassLoaderFactory validateFile
AVVERTENZA: Problem with directory [/usr/share/tomcat6/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
24-set-2015 11.15.48 org.apache.catalina.startup.ClassLoaderFactory validateFile
AVVERTENZA: Problem with directory [/usr/share/tomcat6/shared], exists: [false], isDirectory: [false], canRead: [false]
24-set-2015 11.15.49 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8081
24-set-2015 11.15.49 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 785 ms
24-set-2015 11.15.49 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
24-set-2015 11.15.49 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
24-set-2015 11.15.49 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor monitor.xml
24-set-2015 11.15.49 org.apache.catalina.core.StandardContext resourcesStart
GRAVE: Error starting static Resources
java.lang.IllegalArgumentException: Document base /dati/webapps-replica/monitor does not exist or is not a readable directory
    at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)
    at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4320)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4489)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
    at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:622)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
24-set-2015 11.15.49 org.apache.catalina.core.StandardContext start
GRAVE: Error in resourceStart()
24-set-2015 11.15.49 org.apache.catalina.core.StandardContext start
GRAVE: Error getConfigured
24-set-2015 11.15.49 org.apache.catalina.core.StandardContext start
GRAVE: Context [/monitor] startup failed due to previous errors
24-set-2015 11.15.49 org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/monitor] has not been started
24-set-2015 11.15.49 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive sample.war
24-set-2015 11.15.49 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive geoserver.war
24-set-2015 11.15.50 org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/dati/webapps-replica/geoserver/WEB-INF/lib/servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
24-set-2015 11.15.50 org.apache.tomcat.util.modeler.Registry registerComponent
GRAVE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/geoserver,J2EEApplication=none,J2EEServer=none
24-set-2015 11.15.50 org.apache.catalina.startup.HostConfig deployWAR
GRAVE: Error deploying web application archive geoserver.war
java.lang.UnsupportedClassVersionError: org/geoserver/GeoserverInitStartupListener : Unsupported major.minor version 51.0 (unable to load class org.geoserver.GeoserverInitStartupListener)
    at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2822)
    at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1159)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
    at org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:145)
    at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:73)
    at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:56)
    at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:297)
    at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1078)
    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4612)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
    at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:622)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
24-set-2015 11.15.50 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8081
24-set-2015 11.15.50 org.apache.catalina.startup.Catalina start



I searched something on the net and this problem should be related to different version of tomcat/java JDK/geoserver
is that right?


My server is an Ubuntu 12.04, tomcat is at version 6, and java is java-6-openjdk-amd64
Is that a right config?


Thank you for any hints


Regrads


Eugenio



 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150924/3a81db42/attachment.html>


More information about the geonode-users mailing list