<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Simone,<br><br>thank you for your hints.<br>On regard the first issue, you are right webapp-replica is a clone container of tomcat6, actually monitor does not exist,<br>it exists in the first tomcat6 container.<br>On regard the second problem I update the system installing openJDK-7, then I updated the java alternatives<br>and I restarted both tomcat6 and tomcat6-replica, however the same error still exist.<br><br>E.<br><br><br><br><div>> From: simone.giannecchini@geo-solutions.it<br>> Date: Thu, 24 Sep 2015 11:48:07 +0200<br>> Subject: Re: [GeoNode-users] Geoserver version and requirements<br>> To: frippe12573@hotmail.com<br>> CC: geonode-users@lists.osgeo.org<br>> <br>> Ciao Eugenio,<br>> I see two errors:<br>> <br>> -1- you probably using an existing tomcat installation or a clone of it.<br>> Which references this path that does not exists:<br>> /dati/webapps-replica/monitor<br>> <br>> This should not be a blocker.<br>> <br>> -2- you are probably deploying a 2.7.x (can you confirm) instance of<br>> GeoServer using java6:<br>> java.lang.UnsupportedClassVersionError:<br>> org/geoserver/GeoserverInitStartupListener : Unsupported major.minor<br>> version 51.0 (unable to load class<br>> org.geoserver.GeoserverInitStartupListener)<br>> <br>> You can have multiple java version on the same machine. You need to<br>> have this tomcat using java 7.<br>> <br>> <br>> Regards,<br>> Simone Giannecchini<br>> ==<br>> GeoServer Professional Services from the experts!<br>> Visit http://goo.gl/it488V for more information.<br>> ==<br>> Ing. Simone Giannecchini<br>> @simogeo<br>> Founder/Director<br>> <br>> GeoSolutions S.A.S.<br>> Via Poggio alle Viti 1187<br>> 55054 Massarosa (LU)<br>> Italy<br>> phone: +39 0584 962313<br>> fax: +39 0584 1660272<br>> mob: +39 333 8128928<br>> <br>> http://www.geo-solutions.it<br>> http://twitter.com/geosolutions_it<br>> <br>>> <br>> On Thu, Sep 24, 2015 at 11:20 AM, Eugenio Trumpy<br>> <frippe12573@hotmail.com> wrote:<br>> > Dear all,<br>> ><br>> > for many reasons I had to configure two tomcat6 containers since I have<br>> > to manage two different geoserver:<br>> ><br>> > first geoserver (G1) is an original version 2.3.2, which is running<br>> > correctly in the first container of tomcat6. This geoserver the one I use to<br>> > spread spatial dataset on behalf of my organization<br>> > second geoserver (G2) istance is the version I took from geonode<br>> > installation (from downloaded directory), and I put it on the second tomcat6<br>> > container.<br>> ><br>> ><br>> ><br>> > Unfortunately G2 is not running, although the second tomcat6 container runs<br>> > fine (I tested a sample application downloaded from the web and I tried<br>> > there a normal geoserver application (vs.2.3.2), the G2 took from the<br>> > geonode istallation give me the error here below:<br>> ><br>> ><br>> > 4-set-2015 11.15.40 org.apache.catalina.core.StandardService stop<br>> > INFO: Stopping service Catalina<br>> > 24-set-2015 11.15.40 org.apache.coyote.http11.Http11Protocol destroy<br>> > INFO: Stopping Coyote HTTP/1.1 on http-8081<br>> > CompilerOracle: unrecognized line<br>> > "exclude net/sf/saxon/event/ReceivingContentHandler startElement'"<br>> > Unrecognized text after command: '<br>> > 24-set-2015 11.15.48 org.apache.catalina.startup.ClassLoaderFactory<br>> > validateFile<br>> > AVVERTENZA: Problem with directory [/usr/share/tomcat6/server/classes],<br>> > exists: [false], isDirectory: [false], canRead: [false]<br>> > 24-set-2015 11.15.48 org.apache.catalina.startup.ClassLoaderFactory<br>> > validateFile<br>> > AVVERTENZA: Problem with directory [/usr/share/tomcat6/server], exists:<br>> > [false], isDirectory: [false], canRead: [false]<br>> > 24-set-2015 11.15.48 org.apache.catalina.startup.ClassLoaderFactory<br>> > validateFile<br>> > AVVERTENZA: Problem with directory [/usr/share/tomcat6/shared/classes],<br>> > exists: [false], isDirectory: [false], canRead: [false]<br>> > 24-set-2015 11.15.48 org.apache.catalina.startup.ClassLoaderFactory<br>> > validateFile<br>> > AVVERTENZA: Problem with directory [/usr/share/tomcat6/shared], exists:<br>> > [false], isDirectory: [false], canRead: [false]<br>> > 24-set-2015 11.15.49 org.apache.coyote.http11.Http11Protocol init<br>> > INFO: Initializing Coyote HTTP/1.1 on http-8081<br>> > 24-set-2015 11.15.49 org.apache.catalina.startup.Catalina load<br>> > INFO: Initialization processed in 785 ms<br>> > 24-set-2015 11.15.49 org.apache.catalina.core.StandardService start<br>> > INFO: Starting service Catalina<br>> > 24-set-2015 11.15.49 org.apache.catalina.core.StandardEngine start<br>> > INFO: Starting Servlet Engine: Apache Tomcat/6.0.35<br>> > 24-set-2015 11.15.49 org.apache.catalina.startup.HostConfig deployDescriptor<br>> > INFO: Deploying configuration descriptor monitor.xml<br>> > 24-set-2015 11.15.49 org.apache.catalina.core.StandardContext resourcesStart<br>> > GRAVE: Error starting static Resources<br>> > java.lang.IllegalArgumentException: Document base<br>> > /dati/webapps-replica/monitor does not exist or is not a readable directory<br>> > at<br>> > org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)<br>> > at<br>> > org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4320)<br>> > at<br>> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4489)<br>> > at<br>> > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)<br>> > at<br>> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)<br>> > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)<br>> > at<br>> > org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)<br>> > at<br>> > org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)<br>> > at<br>> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)<br>> > at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)<br>> > at<br>> > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)<br>> > at<br>> > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)<br>> > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)<br>> > at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)<br>> > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)<br>> > at<br>> > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)<br>> > at<br>> > org.apache.catalina.core.StandardService.start(StandardService.java:525)<br>> > at<br>> > org.apache.catalina.core.StandardServer.start(StandardServer.java:754)<br>> > at org.apache.catalina.startup.Catalina.start(Catalina.java:595)<br>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>> > at<br>> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>> > at<br>> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>> > at java.lang.reflect.Method.invoke(Method.java:622)<br>> > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)<br>> > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)<br>> > 24-set-2015 11.15.49 org.apache.catalina.core.StandardContext start<br>> > GRAVE: Error in resourceStart()<br>> > 24-set-2015 11.15.49 org.apache.catalina.core.StandardContext start<br>> > GRAVE: Error getConfigured<br>> > 24-set-2015 11.15.49 org.apache.catalina.core.StandardContext start<br>> > GRAVE: Context [/monitor] startup failed due to previous errors<br>> > 24-set-2015 11.15.49 org.apache.catalina.core.StandardContext stop<br>> > INFO: Container<br>> > org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/monitor] has<br>> > not been started<br>> > 24-set-2015 11.15.49 org.apache.catalina.startup.HostConfig deployWAR<br>> > INFO: Deploying web application archive sample.war<br>> > 24-set-2015 11.15.49 org.apache.catalina.startup.HostConfig deployWAR<br>> > INFO: Deploying web application archive geoserver.war<br>> > 24-set-2015 11.15.50 org.apache.catalina.loader.WebappClassLoader<br>> > validateJarFile<br>> > INFO:<br>> > validateJarFile(/dati/webapps-replica/geoserver/WEB-INF/lib/servlet-api-2.5.jar)<br>> > - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:<br>> > javax/servlet/Servlet.class<br>> > 24-set-2015 11.15.50 org.apache.tomcat.util.modeler.Registry<br>> > registerComponent<br>> > GRAVE: Null component<br>> > Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/geoserver,J2EEApplication=none,J2EEServer=none<br>> > 24-set-2015 11.15.50 org.apache.catalina.startup.HostConfig deployWAR<br>> > GRAVE: Error deploying web application archive geoserver.war<br>> > java.lang.UnsupportedClassVersionError:<br>> > org/geoserver/GeoserverInitStartupListener : Unsupported major.minor version<br>> > 51.0 (unable to load class org.geoserver.GeoserverInitStartupListener)<br>> > at<br>> > org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2822)<br>> > at<br>> > org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1159)<br>> > at<br>> > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647)<br>> > at<br>> > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)<br>> > at<br>> > org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:145)<br>> > at<br>> > org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:73)<br>> > at<br>> > org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:56)<br>> > at<br>> > org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:297)<br>> > at<br>> > org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1078)<br>> > at<br>> > org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)<br>> > at<br>> > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)<br>> > at<br>> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4612)<br>> > at<br>> > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)<br>> > at<br>> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)<br>> > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)<br>> > at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)<br>> > at<br>> > org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)<br>> > at<br>> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)<br>> > at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)<br>> > at<br>> > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)<br>> > at<br>> > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)<br>> > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)<br>> > at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)<br>> > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)<br>> > at<br>> > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)<br>> > at<br>> > org.apache.catalina.core.StandardService.start(StandardService.java:525)<br>> > at<br>> > org.apache.catalina.core.StandardServer.start(StandardServer.java:754)<br>> > at org.apache.catalina.startup.Catalina.start(Catalina.java:595)<br>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>> > at<br>> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>> > at<br>> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>> > at java.lang.reflect.Method.invoke(Method.java:622)<br>> > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)<br>> > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)<br>> > 24-set-2015 11.15.50 org.apache.coyote.http11.Http11Protocol start<br>> > INFO: Starting Coyote HTTP/1.1 on http-8081<br>> > 24-set-2015 11.15.50 org.apache.catalina.startup.Catalina start<br>> ><br>> ><br>> ><br>> > I searched something on the net and this problem should be related to<br>> > different version of tomcat/java JDK/geoserver<br>> > is that right?<br>> ><br>> ><br>> > My server is an Ubuntu 12.04, tomcat is at version 6, and java is<br>> > java-6-openjdk-amd64<br>> > Is that a right config?<br>> ><br><br></div> </div></body>
</html>