<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,<br><br>I was looking a bit more in details the tomcat6 log,<br>and I tested ma second tomcat6 container with other apps.<br>Actually the second container seems to work fine as a sample app run well.<br>After that I tested an original geoserver (a .war version from geoserver website) and it was running.<br><br>I wonder if the problem is on the custom geoserver that I copied from the directory /geonode/downloaded/geoserver.war<br>I tried even to run geoserver from geonode in the main tomcat6 container, It didn't work.<br><br>The error I have in the log on the second container is:<br><pre>22-set-2015 18.12.47 org.apache.tomcat.util.modeler.Registry registerComponent
GRAVE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/geoserver,J2EEApplication=none,J2EEServer=none
22-set-2015 18.12.47 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.check(HostConfig.java:1385)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:306)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1389)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1653)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1662)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1642)
at java.lang.Thread.run(Thread.java:701)
Exception in thread "Timer-0" java.lang.NullPointerException
at org.geoserver.security.auth.LRUAuthenticationCacheImpl$1.run(LRUAuthenticationCacheImpl.java:59)
at java.util.TimerThread.mainLoop(Timer.java:534)
at java.util.TimerThread.run(Timer.java:484)<br><br>Reading on the net I discover something regarding this error, I found that should be related to the different <br>version of java-jdk, tomcat and geoserver.<br><br>Can somebody give me an hints?<br><br>best<br><br>Eugenio<br></pre> <br><br><div><hr id="stopSpelling">From: simone.dalmasso@gmail.com<br>Date: Mon, 21 Sep 2015 20:31:22 +0200<br>Subject: Re: [GeoNode-users] unable to save maps<br>To: frippe12573@hotmail.com<br>CC: geonode-users@lists.osgeo.org<br><br><div dir="ltr">Hi Eugenio,<div><br></div><div>everything you said is right :)</div><div><br></div><div>Not sure if tomcat7 is a requirement instead of tomcat6 but shouldn't. Take a look at the tomcat logs.</div></div><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">2015-09-21 18:11 GMT+02:00 Eugenio Trumpy <span dir="ltr"><<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>></span>:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr">Dear all,<br><br>I'm testing <a href="http://geonode.org" target="_blank">GeoNode</a> <em>version 2.4.dev20150908094256.<br></em>I installed this version by following the steps described here:<br><br><a href="http://docs.geonode.org/en/latest/tutorials/admin/install/custom_install.html#custom-install" target="_blank">http://docs.geonode.org/en/latest/tutorials/admin/install/custom_install.html#custom-install</a><br><br>The application seems to work fine. I added 4 different wed map services (both geoservers and mapserver),<br>and I have several layers.<br>I tried to compose a map, and I was able to, but I got an error on saving the prepared maps as well as when <br>I click on create maps I had:<br><span>The server returned an error: 503 SERVICE UNAVAILABLE<br><br>I think this error is due to a geoserver that I'm using for geonode.<br>Is that right?<br>Actually the geoserver that I got from the geonode installation runs (or should run) in a second container of tomcat6<br>since I already have another geoserver instance on the first tomcat6 container. And I have to use them separate.<br>Am I right?<br><br></span>I would even use a running Geonetwork for metadata, if I understand well there are two ways:<br>one is to use my geonetwork as metadata repository. for this I should set it up in the local_setting.py file<br>or second insert it as external CSW service.<br>Am I correct?<br><br>Thanks for any kind hints you would give me.<br><br>Best<span class="ecxHOEnZb"><font color="#888888"><br><br>Eugenio<em><br></em> </font></span></div></div>
<br>_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="ecxgmail_signature">Simone </div>
</div></div> </div></body>
</html>