[GeoNode-users] HTTP Status 404 for GeoServer when trying to install 2.4b25

Corey Carpenter fruitwerks at gmail.com
Thu Jul 9 03:09:57 PDT 2015


Tukang,

What does your java environment look like?

- Corey

On Thu, Jul 9, 2015 at 4:03 AM, Tukang Sampah <tkgsmph at gmail.com> wrote:

> Hi all,
>
> I'm trying to install GeoNode 2.4b25 from source. But getting the
> following error when opening http://mydomain:8080/geoserver:
>
> HTTP Status 404 - /geoserver
>
> type Status report
>
> message /geoserver
>
> description The requested resource is not available.
> Apache Tomcat/7.0.52 (Ubuntu)
>
>
> I used the same steps when installing 2.4b22. Here is the output when
> running "sudo paver start":
>
> user at ubuntu:/var/www/geonode$ sudo paver start
> ---> pavement.start
> ---> pavement.start_geoserver
> cd /var/www/geonode/geoserver/data
> java -version
> java version "1.6.0_35"
> OpenJDK Runtime Environment (IcedTea6 1.13.7)
> (6b35-1.13.7-1ubuntu0.14.04.1)
> OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)
> java -Xmx512m -XX:MaxPermSize=256m
> -DGEOSERVER_DATA_DIR=/var/www/geonode/geoserver/data
> -Dorg.eclipse.jetty.server.webapp.parentLoaderPriority=true -jar
> /var/www/geonode/downloaded/jetty-runner-8.1.8.v20121106.jar --log
> /var/www/geonode/geoserver/jetty.log
> /var/www/geonode/scripts/misc/jetty-runner.xml > /dev/null &
> cd /var/www/geonode
> Starting GeoServer on http://localhost:8080/geoserver/
> 2015-07-09 15:50:11.280:INFO:omjr.Runner:Runner
> 2015-07-09 15:50:11.281:WARN:omjr.Runner:No tx manager found
> 2015-07-09 15:50:11.521:INFO:oejs.Server:jetty-8.y.z-SNAPSHOT
> 2015-07-09 15:50:12.175:WARN:oejw.WebAppContext:Failed startup of context
> o.e.j.w.WebAppContext{/geoserver,file:/var/www/geonode/geoserver/geoserver/},../geoserver
> java.lang.reflect.InvocationTargetException
>         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.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:85)
>         at
> org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:72)
>         at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:367)
>         at
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1248)
>         at
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:706)
>         at
> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>         at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>         at
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>         at
> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>         at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>         at
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>         at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>         at
> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>         at org.eclipse.jetty.server.Server.doStart(Server.java:277)
>         at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>         at org.mortbay.jetty.runner.Runner.run(Runner.java:504)
>         at org.mortbay.jetty.runner.Runner.main(Runner.java:625)
> Caused by:
> java.lang.UnsupportedClassVersionError:
> org/geoserver/GeoserverInitStartupListener : Unsupported major.minor
> version 51.0
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
>         at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
>         at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
>         at
> org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:421)
>         at
> org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:383)
>         at
> org.eclipse.jetty.server.handler.ContextHandler.loadClass(ContextHandler.java:1514)
>         at
> org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitListener(StandardDescriptorProcessor.java:1864)
>         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.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:85)
>         at
> org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:72)
>         at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:367)
>         at
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1248)
>         at
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:706)
>         at
> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>         at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>         at
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>         at
> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>         at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>         at
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>         at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>         at
> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>         at org.eclipse.jetty.server.Server.doStart(Server.java:277)
>         at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>         at org.mortbay.jetty.runner.Runner.run(Runner.java:504)
>         at org.mortbay.jetty.runner.Runner.main(Runner.java:625)
> 2015-07-09 15:50:12.191:INFO:oejs.NCSARequestLog:Opened
> /var/www/geonode/geoserver/jetty.log
> 2015-07-09 15:50:12.244:INFO:oejs.AbstractConnector:Started
> SelectChannelConnector at 0.0.0.0:8080
> The logs are available at /var/www/geonode/geoserver/jetty.log
> GeoServer never started properly or timed out.It may still be running in
> the background.
>
> Perhaps this is due to the new GeoServer version 2.7? Anyone know how to
> get this to work?
>
>
> Thanks,
>
> Tukang Sampah
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
>
>


-- 
_______________________________________________________________________________
Any use, dissemination, distribution, posting on Internet bulletin boards,
disclosure or copying of this e-mail or any information contained herein by
or to anyone other than the intended recipient(s) is strictly prohibited.
Use of this content for any other purpose is a violation of International
Copyright Laws.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150709/caac3a3b/attachment-0001.html>


More information about the geonode-users mailing list