OTP Server getting HTTP404 Error

244 views
Skip to first unread message

David K.

unread,
Jul 7, 2014, 10:27:29 AM7/7/14
to opentripp...@googlegroups.com
Hi,

I am starting opt with the following parameter:
--verbose
--build G:\bitbucket_git\OSMExports\a
--graphs G:\bitbucket_git\OSMExports\a
--inMemory
--noTransit
--server
--visualize


BUT I get java errors:

16:22:52.100 INFO (MavenVersion.java:53) Parsed Maven artifact version: 1.0.0-SNAPSHOT => MavenVersion(1, 0, 0, SNAPSHOT, 69bd661a3de948e1e87a76873e586f0517820382) UID=-1000000
16:22:52.108 INFO (OTPConfigurator.java:125) Searching for graph builder input files in G:\bitbucket_git\OSMExports\a
16:22:52.109 INFO (OTPConfigurator.java:138) Found OSM file G:\bitbucket_git\OSMExports\a\z14x8595y5330.osm
...
16:22:52.140 INFO (OpenStreetMapGraphBuilderImpl.java:264) Gathering OSM from provider: AnyFileBasedOpenStreetMapProviderImpl(G:\bitbucket_git\OSMExports\a\z14x8595y5330.osm)
16:22:52.709 INFO (OpenStreetMapGraphBuilderImpl.java:267) Building street graph from OSM
...
16:22:53.342 INFO (Graph.java:847)     Graphwide - 1
16:22:53.342 INFO (Graph.java:847)     GraphConnectivity - 12
16:22:53.343 INFO (GraphBuilderTask.java:151) Not saving graph to disk, as requested.
...
16:22:53.750 INFO (GrizzlyServer.java:48) Starting OTP Grizzly server on ports 8080 (HTTP) and 8081 (HTTPS) of interface 0.0.0.0
16:22:53.750 INFO (GrizzlyServer.java:50) Base path is X, graphs are at G:\bitbucket_git\OSMExports\a
16:22:54.100 INFO (ApplicationHandler.java:353) Initiating Jersey application, version Jersey: 2.8 2014-04-29 01:25:26...
16:22:54.787 WARN (PropertiesHelper.java:321) There is no way how to transform value "true" [java.lang.Boolean] to type [java.lang.String].
16:22:54.863 INFO (NetworkListener.java:721) Started listener bound to [0.0.0.0:8080]
16:22:54.866 INFO (NetworkListener.java:721) Started listener bound to [0.0.0.0:8081]
16:22:54.869 INFO (HttpServer.java:298) [HttpServer] Started.
16:22:54.869 INFO (GrizzlyServer.java:108) Grizzly server running.
javax.ws.rs.NotFoundException: HTTP 404 Not Found
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:266)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:297)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:252)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1023)
at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:364)
at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:217)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
at java.lang.Thread.run(Unknown Source)
javax.ws.rs.NotFoundException: HTTP 404 Not Found
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:266)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:297)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:252)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1023)
at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:364)
at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:217)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
at java.lang.Thread.run(Unknown Source)
javax.ws.rs.NotFoundException: HTTP 404 Not Found
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:266)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:297)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:252)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1023)
at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:364)
at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:217)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
at java.lang.Thread.run(Unknown Source)

btw. GraphVisually works perfekt with all exspected interactions.




Andrew Byrd

unread,
Jul 7, 2014, 10:32:19 AM7/7/14
to opentripp...@googlegroups.com
It looks like you are just getting HTTP 404 errors because the client is
making some API calls to endpoints that don't exist anymore. It should
be harmless and disappear when then transit index is fully reimplemented.

-Andrew
> --
> You received this message because you are subscribed to the Google
> Groups "OpenTripPlanner Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to opentripplanner...@googlegroups.com
> <mailto:opentripplanner...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages