[GeoNode-users] unable to save maps
Eugenio Trumpy
frippe12573 at hotmail.com
Tue Sep 22 09:30:58 PDT 2015
Hi,
I was looking a bit more in details the tomcat6 log,
and I tested ma second tomcat6 container with other apps.
Actually the second container seems to work fine as a sample app run well.
After that I tested an original geoserver (a .war version from geoserver website) and it was running.
I wonder if the problem is on the custom geoserver that I copied from the directory /geonode/downloaded/geoserver.war
I tried even to run geoserver from geonode in the main tomcat6 container, It didn't work.
The error I have in the log on the second container is:
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)
Reading on the net I discover something regarding this error, I found that should be related to the different
version of java-jdk, tomcat and geoserver.
Can somebody give me an hints?
best
Eugenio
From: simone.dalmasso at gmail.com
Date: Mon, 21 Sep 2015 20:31:22 +0200
Subject: Re: [GeoNode-users] unable to save maps
To: frippe12573 at hotmail.com
CC: geonode-users at lists.osgeo.org
Hi Eugenio,
everything you said is right :)
Not sure if tomcat7 is a requirement instead of tomcat6 but shouldn't. Take a look at the tomcat logs.
2015-09-21 18:11 GMT+02:00 Eugenio Trumpy <frippe12573 at hotmail.com>:
Dear all,
I'm testing GeoNode version 2.4.dev20150908094256.
I installed this version by following the steps described here:
http://docs.geonode.org/en/latest/tutorials/admin/install/custom_install.html#custom-install
The application seems to work fine. I added 4 different wed map services (both geoservers and mapserver),
and I have several layers.
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
I click on create maps I had:
The server returned an error: 503 SERVICE UNAVAILABLE
I think this error is due to a geoserver that I'm using for geonode.
Is that right?
Actually the geoserver that I got from the geonode installation runs (or should run) in a second container of tomcat6
since I already have another geoserver instance on the first tomcat6 container. And I have to use them separate.
Am I right?
I would even use a running Geonetwork for metadata, if I understand well there are two ways:
one is to use my geonetwork as metadata repository. for this I should set it up in the local_setting.py file
or second insert it as external CSW service.
Am I correct?
Thanks for any kind hints you would give me.
Best
Eugenio
_______________________________________________
geonode-users mailing list
geonode-users at lists.osgeo.org
http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
--
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150922/a3667a85/attachment.html>
More information about the geonode-users
mailing list