[GeoNode-users] Geoserver version and requirements

Eugenio Trumpy frippe12573 at hotmail.com
Tue Sep 29 00:15:30 PDT 2015


Hi Simone,

thank you very much for your hint,
once I sort out JDK on my tomcat6 
geoserver started to works fine!

Eugenio

> From: simone.giannecchini at geo-solutions.it
> Date: Thu, 24 Sep 2015 14:09:41 +0200
> Subject: Re: [GeoNode-users] Geoserver version and requirements
> To: frippe12573 at hotmail.com
> CC: simone.giannecchini at geo-solutions.it; geonode-users at lists.osgeo.org
> 
> Ciao Eugenio,
> I would suggest to explicitly set the JDK in the env var for tomcat so
> you are sure which one you calling.
> 
> Regards,
> Simone Giannecchini
> ==
> GeoServer Professional Services from the experts!
> Visit http://goo.gl/it488V for more information.
> ==
> Ing. Simone Giannecchini
> @simogeo
> Founder/Director
> 
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:     +39 0584 1660272
> mob:   +39  333 8128928
> 
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
> 
> -------------------------------------------------------
> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate.
> Il loro utilizzo è consentito esclusivamente al destinatario del
> messaggio, per le finalità indicate nel messaggio stesso. Qualora
> riceviate questo messaggio senza esserne il destinatario, Vi preghiamo
> cortesemente di darcene notizia via e-mail e di procedere alla
> distruzione del messaggio stesso, cancellandolo dal Vostro sistema.
> Conservare il messaggio stesso, divulgarlo anche in parte,
> distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità
> diverse, costituisce comportamento contrario ai principi dettati dal
> D.Lgs. 196/2003.
> 
> The information in this message and/or attachments, is intended solely
> for the attention and use of the named addressee(s) and may be
> confidential or proprietary in nature or covered by the provisions of
> privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New
> Data Protection Code).Any use not in accord with its purpose, any
> disclosure, reproduction, copying, distribution, or either
> dissemination, either whole or partial, is strictly forbidden except
> previous formal approval of the named addressee(s). If you are not the
> intended recipient, please contact immediately the sender by
> telephone, fax or e-mail and delete the information in this message
> that has been received in error. The sender does not give any warranty
> or accept liability as the content, accuracy or completeness of sent
> messages and accepts no responsibility  for changes made after they
> were sent or for other risks which arise as a result of e-mail
> transmission, viruses, etc.
> 
> 
> On Thu, Sep 24, 2015 at 12:46 PM, Eugenio Trumpy
> <frippe12573 at hotmail.com> wrote:
> > Hi Simone,
> >
> > thank you for your hints.
> > On regard the first issue, you are right webapp-replica is a clone container
> > of tomcat6, actually monitor does not exist,
> > it exists in the first tomcat6 container.
> > On regard the second problem I update the system installing openJDK-7, then
> > I updated the java alternatives
> > and I restarted both tomcat6 and tomcat6-replica, however the same error
> > still exist.
> >
> > E.
> >
> >
> >
> >> From: simone.giannecchini at geo-solutions.it
> >> Date: Thu, 24 Sep 2015 11:48:07 +0200
> >> Subject: Re: [GeoNode-users] Geoserver version and requirements
> >> To: frippe12573 at hotmail.com
> >> CC: geonode-users at lists.osgeo.org
> >
> >>
> >> Ciao Eugenio,
> >> I see two errors:
> >>
> >> -1- you probably using an existing tomcat installation or a clone of it.
> >> Which references this path that does not exists:
> >> /dati/webapps-replica/monitor
> >>
> >> This should not be a blocker.
> >>
> >> -2- you are probably deploying a 2.7.x (can you confirm) instance of
> >> GeoServer using java6:
> >> java.lang.UnsupportedClassVersionError:
> >> org/geoserver/GeoserverInitStartupListener : Unsupported major.minor
> >> version 51.0 (unable to load class
> >> org.geoserver.GeoserverInitStartupListener)
> >>
> >> You can have multiple java version on the same machine. You need to
> >> have this tomcat using java 7.
> >>
> >>
> >> Regards,
> >> Simone Giannecchini
> >> ==
> >> GeoServer Professional Services from the experts!
> >> Visit http://goo.gl/it488V for more information.
> >> ==
> >> Ing. Simone Giannecchini
> >> @simogeo
> >> Founder/Director
> >>
> >> GeoSolutions S.A.S.
> >> Via Poggio alle Viti 1187
> >> 55054 Massarosa (LU)
> >> Italy
> >> phone: +39 0584 962313
> >> fax: +39 0584 1660272
> >> mob: +39 333 8128928
> >>
> >> http://www.geo-solutions.it
> >> http://twitter.com/geosolutions_it
> >>
> >>>
> >> On Thu, Sep 24, 2015 at 11:20 AM, Eugenio Trumpy
> >> <frippe12573 at hotmail.com> wrote:
> >> > 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 organization
> >> > second 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?
> >> >
> >
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150929/06178ffc/attachment-0001.html>


More information about the geonode-users mailing list