Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » ServiceHandler with RAP 2.3
ServiceHandler with RAP 2.3 [message #1403709] Fri, 25 July 2014 09:15 Go to next message
Eclipse UserFriend
Hi,

In my RAP there is a ServiceHandler registered via extensionPoint for file downloading.

It worked fine in RAP 2.2 and Eclipse Kepler but after updating to RAP 2.3 and Eclipse Luna the service() method of the handler is just not called anymore! As a consequence the browser shows a 404 Error.

I also tryed registering the handler dynamically using the ServiceManager and opening the URL either with UrlLauncher or IWorkbenchBrowserSupport, but in all cases the service() method is not called (The id of the handler in the URL is correct, of cause!).


Is there anything known about that?

Thanks for your help!
Julia
Re: ServiceHandler with RAP 2.3 [message #1403711 is a reply to message #1403709] Fri, 25 July 2014 09:36 Go to previous messageGo to next message
Eclipse UserFriend
Hi Julia,
in RAP 2.3 we changed the URL returned by
ServiceManager#getServiceHandlerUrl to be relative (without context and
servlet path). This works fine in case of working session cookies, but
has some problems with session rewrites (jsessionid in URL). See this bug:
437211: getServiceHandlerURL() missing entrypoint-path without cookie
suport (regression due to Bug#406428)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=437211
Please check if this is your problem too.
Best,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: ServiceHandler with RAP 2.3 [message #1403720 is a reply to message #1403711] Fri, 25 July 2014 10:28 Go to previous message
Eclipse UserFriend
That was exactly the problem! Thanks!
Previous Topic:RAP 2.3 - high CPU load with IE 10
Next Topic:Shell setMaximized issue
Goto Forum:
  


Current Time: Sun Aug 31 02:06:05 EDT 2025

Powered by FUDForum. Page generated in 0.03447 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top