<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">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?<br>
<br>
Regards,<br>
Peter<br>
<br>
On 10.01.2015 18:08, Denis Rykov wrote:<br>
</div>
<blockquote
cite="mid:CAJbvKNpRVsByb-vne+2_4LDsULR8etWgSO5ykXmh0_t+KP+dxA@mail.gmail.com"
type="cite">
<div dir="ltr">Hello list!
<div><br>
</div>
<div>I've built WAR-file from current master and trying to
deploy it using Jetty8 in Ubuntu.</div>
<div>When I try to open URL in browser I get
message 'GraphHopper API offline?' and errors in log file:</div>
<div><br>
</div>
<div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">2015-01-10
20:00:23.706:WARN:oejd.WebAppDeployer:WebAppDeployer is
deprecated. Use WebAppProvider<br>
2015-01-10
20:00:23.707:<a class="moz-txt-link-freetext" href="INFO:oejs.Server:jetty-8.1.3.v20120416">INFO:oejs.Server:jetty-8.1.3.v20120416</a><br>
2015-01-10
20:00:23.750:<a class="moz-txt-link-freetext" href="INFO:oejw.WebInfConfiguration:Extract">INFO:oejw.WebInfConfiguration:Extract</a>
<a class="moz-txt-link-freetext" href="jar:file:/var/lib/jetty8/webapps/root.war!/">jar:file:/var/lib/jetty8/webapps/root.war!/</a> to
/var/cache/jetty8/data/jetty-0.0.0.0-8080-root.war--any-/webapp<br>
2015-01-10
20:00:24.350:<a class="moz-txt-link-freetext" href="INFO:oejw.StandardDescriptorProcessor:NO">INFO:oejw.StandardDescriptorProcessor:NO</a> JSP
Support for , did not find
org.apache.jasper.servlet.JspServlet<br>
2015-01-10
20:00:24.367:WARN:oejw.StandardDescriptorProcessor:Could not
instantiate listener com.graphhopper.http.GuiceServletConfig<br>
java.lang.ClassNotFoundException:
com.graphhopper.http.GuiceServletConfig<br>
at
java.net.URLClassLoader$1.run(URLClassLoader.java:366)<br>
at
java.net.URLClassLoader$1.run(URLClassLoader.java:355)<br>
at
java.security.AccessController.doPrivileged(Native Method)<br>
at
java.net.URLClassLoader.findClass(URLClassLoader.java:354)<br>
at
java.lang.ClassLoader.loadClass(ClassLoader.java:425)<br>
at
java.lang.ClassLoader.loadClass(ClassLoader.java:358)<br>
at
org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:424)<br>
at
org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:377)<br>
at
org.eclipse.jetty.server.handler.ContextHandler.loadClass(ContextHandler.java:1471)<br>
at
org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitListener(StandardDescriptorProcessor.java:1839)<br>
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
at java.lang.reflect.Method.invoke(Method.java:606)<br>
at
org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:80)<br>
at
org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:67)<br>
at
org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:332)<br>
at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1219)<br>
at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699)<br>
at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)<br>
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)<br>
at
org.eclipse.jetty.deploy.WebAppDeployer.scan(WebAppDeployer.java:309)<br>
at
org.eclipse.jetty.deploy.WebAppDeployer.doStart(WebAppDeployer.java:189)<br>
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)<br>
at
org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:63)<br>
at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:53)<br>
at
org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:91)<br>
at
org.eclipse.jetty.server.Server.doStart(Server.java:262)<br>
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)<br>
at
org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215)<br>
at
java.security.AccessController.doPrivileged(Native Method)<br>
at
org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138)<br>
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
at java.lang.reflect.Method.invoke(Method.java:606)<br>
at
org.eclipse.jetty.start.Main.invokeMain(Main.java:457)<br>
at org.eclipse.jetty.start.Main.start(Main.java:602)<br>
at org.eclipse.jetty.start.Main.main(Main.java:82)<br>
2015-01-10 20:00:24.372:<a class="moz-txt-link-freetext" href="INFO:oejsh.ContextHandler:started">INFO:oejsh.ContextHandler:started</a>
o.e.j.w.WebAppContext{,<a class="moz-txt-link-freetext" href="file:/var/cache/jetty8/data/jetty-0.0.0.0-8080-root.war--any-/webapp/">file:/var/cache/jetty8/data/jetty-0.0.0.0-8080-root.war--any-/webapp/</a>},<a class="moz-txt-link-freetext" href="file:/var/lib/jetty8/webapps/root.war">file:/var/lib/jetty8/webapps/root.war</a><br>
2015-01-10 20:00:24.372:<a class="moz-txt-link-freetext" href="INFO:oejsh.ContextHandler:started">INFO:oejsh.ContextHandler:started</a>
o.e.j.w.WebAppContext{,<a class="moz-txt-link-freetext" href="file:/var/cache/jetty8/data/jetty-0.0.0.0-8080-root.war--any-/webapp/">file:/var/cache/jetty8/data/jetty-0.0.0.0-8080-root.war--any-/webapp/</a>},<a class="moz-txt-link-freetext" href="file:/var/lib/jetty8/webapps/root.war">file:/var/lib/jetty8/webapps/root.war</a><br>
2015-01-10
20:00:24.396:<a class="moz-txt-link-freetext" href="INFO:oejw.StandardDescriptorProcessor:NO">INFO:oejw.StandardDescriptorProcessor:NO</a> JSP
Support for /unroot, did not find
org.apache.jasper.servlet.JspServlet<br>
2015-01-10 20:00:24.399:<a class="moz-txt-link-freetext" href="INFO:oejsh.ContextHandler:started">INFO:oejsh.ContextHandler:started</a>
o.e.j.w.WebAppContext{/unroot,<a class="moz-txt-link-freetext" href="file:/var/lib/jetty8/webapps/unroot/">file:/var/lib/jetty8/webapps/unroot/</a>},<a class="moz-txt-link-freetext" href="file:/var/lib/jetty8/webapps/unroot/">file:/var/lib/jetty8/webapps/unroot/</a><br>
2015-01-10 20:00:24.399:<a class="moz-txt-link-freetext" href="INFO:oejsh.ContextHandler:started">INFO:oejsh.ContextHandler:started</a>
o.e.j.w.WebAppContext{/unroot,<a class="moz-txt-link-freetext" href="file:/var/lib/jetty8/webapps/unroot/">file:/var/lib/jetty8/webapps/unroot/</a>},<a class="moz-txt-link-freetext" href="file:/var/lib/jetty8/webapps/unroot/">file:/var/lib/jetty8/webapps/unroot/</a><br>
2015-01-10 20:00:24.414:<a class="moz-txt-link-freetext" href="INFO:oejs.AbstractConnector:Started">INFO:oejs.AbstractConnector:Started</a>
<a moz-do-not-send="true"
href="http://SelectChannelConnector@0.0.0.0:8080">SelectChannelConnector@0.0.0.0:8080</a></blockquote>
<div><br>
</div>
<div>As you can see I've changed WAR-file name to root.war but
no effect.</div>
<div>Please help me with this issue. </div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
GraphHopper mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/graphhopper">https://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
</blockquote>
<br>
</body>
</html>