[GraphHopper] MyGZIPHook error
Peter K
peathal at yahoo.de
Mon Apr 14 08:37:09 UTC 2014
Hey Diego,
no double posting here :) - maybe you were not subscribed when posting?
Regarding your problem: this looks strange but not as a critical error
or something, still you should let gzipFilter enabled as the response
will be not compressed otherwise.
The message has something to do with asyncronous support from gzip, but
we are currently do only sync requests.
https://wiki.eclipse.org/Jetty/Feature/Continuations#Gzip_Filter
This question here indicates
http://stackoverflow.com/questions/5123888/how-to-use-jetty-continuations-with-a-filter-and-forward-dispatching
that you should try
servHandler.addFilter(guiceFilter, "*",
EnumSet.allOf(DispatcherType.class));
instead
servHandler.addFilter(guiceFilter, "/*",
EnumSet.allOf(DispatcherType.class));
in GHServer. And let us know if this fixes your problem.
Regards,
Peter.
> Hi mailing list.
> First of all, sorry for a (maybe) doubled post, I've sent this message
> some days ago but I'm not sure was actually sent.
>
> I'm experiencing with graphopper (windows7, jdk 1.6 64bit) and I've
> successfully configured the app via this
> guide:https://github.com/graphhopper/graphhopper/wiki/Windows
> I'm also successfully prepared an eclipse environment, but with only a
> small error... I've commented from GuiceServletConfig the gzip filter,
> that throws a bunch of exceptions like this:
> WARN:org.eclipse.jetty.continuation.Jetty6Continuation:!ContinuationFilter
> installed
> WARN::/
> java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> at org.eclipse.jetty.continuation.ContinuationSupport.getContinuation(ContinuationSupport.java:145)
> at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:299)
>
> All looks ok commenting this code:
> // filter("/*").through(MyGZIPHook.class, params);
> so basically skipping the gzip filter...
>
> any suggestions?
> thanks anyway
>
> Diego Guidi
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
>
--
GraphHopper.com - Fast & Flexible Road Routing
More information about the GraphHopper
mailing list