[GraphHopper] GraphHopper API offline error
Peter
graphhopper at gmx.de
Sat Jan 10 19:43:00 UTC 2015
Our normal deployment method is just via starting GHServer instead of
building a war file. Although building the war file should work too -
maybe you create an issue?
Regards,
Peter
On 10.01.2015 18:08, Denis Rykov wrote:
> Hello list!
>
> I've built WAR-file from current master and trying to deploy it using
> Jetty8 in Ubuntu.
> When I try to open URL in browser I get message 'GraphHopper API
> offline?' and errors in log file:
>
> 2015-01-10 20:00:23.706:WARN:oejd.WebAppDeployer:WebAppDeployer is
> deprecated. Use WebAppProvider
> 2015-01-10 20:00:23.707:INFO:oejs.Server:jetty-8.1.3.v20120416
> 2015-01-10 20:00:23.750:INFO:oejw.WebInfConfiguration:Extract
> jar:file:/var/lib/jetty8/webapps/root.war!/ to
> /var/cache/jetty8/data/jetty-0.0.0.0-8080-root.war--any-/webapp
> 2015-01-10 20:00:24.350:INFO:oejw.StandardDescriptorProcessor:NO
> JSP Support for , did not find org.apache.jasper.servlet.JspServlet
> 2015-01-10
> 20:00:24.367:WARN:oejw.StandardDescriptorProcessor:Could not
> instantiate listener com.graphhopper.http.GuiceServletConfig
> java.lang.ClassNotFoundException:
> com.graphhopper.http.GuiceServletConfig
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> at
> org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:424)
> at
> org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:377)
> at
> org.eclipse.jetty.server.handler.ContextHandler.loadClass(ContextHandler.java:1471)
> at
> org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitListener(StandardDescriptorProcessor.java:1839)
> 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:606)
> at
> org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:80)
> at
> org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:67)
> at
> org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:332)
> at
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1219)
> at
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699)
> at
> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
> at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
> at
> org.eclipse.jetty.deploy.WebAppDeployer.scan(WebAppDeployer.java:309)
> at
> org.eclipse.jetty.deploy.WebAppDeployer.doStart(WebAppDeployer.java:189)
> at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
> at
> org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:63)
> at
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:53)
> at
> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:91)
> at org.eclipse.jetty.server.Server.doStart(Server.java:262)
> at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
> at
> org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138)
> 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:606)
> at org.eclipse.jetty.start.Main.invokeMain(Main.java:457)
> at org.eclipse.jetty.start.Main.start(Main.java:602)
> at org.eclipse.jetty.start.Main.main(Main.java:82)
> 2015-01-10 20:00:24.372:INFO:oejsh.ContextHandler:started
> o.e.j.w.WebAppContext{,file:/var/cache/jetty8/data/jetty-0.0.0.0-8080-root.war--any-/webapp/},file:/var/lib/jetty8/webapps/root.war
> 2015-01-10 20:00:24.372:INFO:oejsh.ContextHandler:started
> o.e.j.w.WebAppContext{,file:/var/cache/jetty8/data/jetty-0.0.0.0-8080-root.war--any-/webapp/},file:/var/lib/jetty8/webapps/root.war
> 2015-01-10 20:00:24.396:INFO:oejw.StandardDescriptorProcessor:NO
> JSP Support for /unroot, did not find
> org.apache.jasper.servlet.JspServlet
> 2015-01-10 20:00:24.399:INFO:oejsh.ContextHandler:started
> o.e.j.w.WebAppContext{/unroot,file:/var/lib/jetty8/webapps/unroot/},file:/var/lib/jetty8/webapps/unroot/
> 2015-01-10 20:00:24.399:INFO:oejsh.ContextHandler:started
> o.e.j.w.WebAppContext{/unroot,file:/var/lib/jetty8/webapps/unroot/},file:/var/lib/jetty8/webapps/unroot/
> 2015-01-10 20:00:24.414:INFO:oejs.AbstractConnector:Started
> SelectChannelConnector at 0.0.0.0:8080
> <http://SelectChannelConnector@0.0.0.0:8080>
>
>
> As you can see I've changed WAR-file name to root.war but no effect.
> Please help me with this issue.
>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20150110/baa4f270/attachment.html>
More information about the GraphHopper
mailing list