Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » [404 ProxyServlet] registered resource not found in /rwt-resources/org.eclipse.swt.browser/
[404 ProxyServlet] registered resource not found in /rwt-resources/org.eclipse.swt.browser/ [message #826893] Thu, 22 March 2012 12:18 Go to next message
Eclipse UserFriend
I'm trying to use a SWF player to embed flash movies. The player is
located in a directory registered as resource via
org.eclipse.equinox.http.registry.resources extension point, and I'm
accessing it from within a browser widget. When the browser content is
loaded, I get a 404 error displayed in Firebug (see screenshot).

It seems it is searched for the .swf file in
/rwt-resources/org.eclipse.swt.browser/ where the .html file contained
in the browser is located. Nevertheless, the URLs in this .html file
point to the location where the resources where registered, and if I
directly visit those URLs in firefox (or any other browser) the SWF
player is found, and even plays the video if I pass the flashvars as URL
params.

After manually copying the .swf player to
/rwt-resources/org.eclipse.swt.browser/ everything works fine for the
rest of the session.

So why is it expected at this location? Anything I'm doing wrong?
Please let me know if you need more information.

Thanks and Regards,
Werner
Re: [404 ProxyServlet] registered resource not found in /rwt-resources/org.eclipse.swt.browser/ [message #826934 is a reply to message #826893] Thu, 22 March 2012 12:24 Go to previous messageGo to next message
Eclipse UserFriend
Am 22.03.2012 17:18, schrieb Werner Hihn:

btw, I'm working with RAP 1.5.0.20120131-1110


> I'm trying to use a SWF player to embed flash movies. The player is
> located in a directory registered as resource via
> org.eclipse.equinox.http.registry.resources extension point, and I'm
> accessing it from within a browser widget. When the browser content is
> loaded, I get a 404 error displayed in Firebug (see screenshot).
>
> It seems it is searched for the .swf file in
> /rwt-resources/org.eclipse.swt.browser/ where the .html file contained
> in the browser is located. Nevertheless, the URLs in this .html file
> point to the location where the resources where registered, and if I
> directly visit those URLs in firefox (or any other browser) the SWF
> player is found, and even plays the video if I pass the flashvars as URL
> params.
>
> After manually copying the .swf player to
> /rwt-resources/org.eclipse.swt.browser/ everything works fine for the
> rest of the session.
>
> So why is it expected at this location? Anything I'm doing wrong?
> Please let me know if you need more information.
>
> Thanks and Regards,
> Werner
Re: [404 ProxyServlet] registered resource not found in /rwt-resources/org.eclipse.swt.browser/ [message #830381 is a reply to message #826934] Tue, 27 March 2012 10:53 Go to previous message
Eclipse UserFriend
Am 22.03.2012 17:24, schrieb Werner Hihn:

Update: I just installed RAP 1.5 M6 (1.5.0.20120320-1638) and the
problem did no longer persist for FF 11.0 & Chrome 13.0.782.215.

It STILL persisted for IE9 & Opera 11.61.

As a workaround I'm now also registering the .swf file as a resource
(not only the root folder it is contained in). This somehow fixed the
problem for all browsers. Not sure why, but at least it works..


> Am 22.03.2012 17:18, schrieb Werner Hihn:
>
> btw, I'm working with RAP 1.5.0.20120131-1110
>
>
Previous Topic:TextSize weirdness
Next Topic:[404 ProxyServlet] registered resource not found in /rwt-resources/org.eclipse.swt.browser/
Goto Forum:
  


Current Time: Thu Jun 12 18:48:53 EDT 2025

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

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

Back to the top