Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Customer getting 404
Customer getting 404 [message #1063199] Wed, 12 June 2013 11:23 Go to next message
Scott Helsby is currently offline Scott Helsby
Messages: 9
Registered: July 2009
Junior Member
Hi,

One of our customers is getting a 404 message when using our product. None of our other customers are experiencing this.

Our product is using RAP with a RWT version of 1.5.0 and Tomcat 6.0.33 as the server.
Our client is using Internet Explorer 8.

One of our UI elements uses a Browser control and we use setText(String) to set the content to some generated HTML source.

The error message is:
HTTP Status 404 - ProxyServlet: /rwt-resources/org.eclipse.swt.browser/rwt-resources/org.eclipse.swt.browser/text-1806890582.html

I looked at the RWT source code and can not figure out how the extra "/rwt-resources/org.eclipse.swt.browser" is being inserted, and given that our other customers have not encountered this leads me to believe that it is an issue with the customer's browser, e.g., settings or add-ons.

Does anyone have any suggestions on what we should look for to resolve this issue?

Thanks in advance,

Scott Helsby
Agnovi Corporation
Re: Customer getting 404 [message #1063468 is a reply to message #1063199] Thu, 13 June 2013 05:10 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf Sternberg
Messages: 1290
Registered: July 2009
Senior Member

Hi Scott,

is this customer accessing a shared SaaS server or do they run their own
server? In the latter case, could this issue be caused by a proxy or
reverse proxy?

The URL in the 404 of course doesn't look right. The code that registers
the resource is in BrowserLCA.registerHtml(). It uses the same mechanics
as other static resources (js files, images), so chances are that those
will have the same problem.

Regards,
Ralf

--
Ralf Sternberg

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Customer getting 404 [message #1063665 is a reply to message #1063468] Thu, 13 June 2013 12:22 Go to previous messageGo to next message
Scott Helsby is currently offline Scott Helsby
Messages: 9
Registered: July 2009
Junior Member
Hi Ralf,

They are running their own server.

They are able to use our application except for that browser control that we use setText with dynamically created HTML.

I looked at the Java and JavaScript code for the Browser control to see where the URL is created and where the request is made back to the server with that URL and didn't see anything that would cause the issue since the URL would simply be "rwt-resources/org.eclipse.swt.browser/text-1806890582.html" at that point.
I also inspected the HTTP messages in a working configuration and the requested URL was "/rwt-resources/org.eclipse.swt.browser/text-1283803877.html".

Since it is a relative URL, is there some way for the base-path in our customer's browser to be set to "/rwt-resources/org.eclipse.swt.browser" instead of just "/"?

This is really confusing me as we did not see this in our environment and none of our other customers have reported this.

Regards,

Scott

Scott Helsby
Agnovi Corporation
Re: Customer getting 404 [message #1063817 is a reply to message #1063665] Fri, 14 June 2013 07:15 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf Sternberg
Messages: 1290
Registered: July 2009
Senior Member

Hi Scott,

at the moment I also don't have any explanation.

If you find the cause for this problem and there is something we can do
in RAP to avoid it, please let us know.

Best regards,
Ralf

--
Ralf Sternberg

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Customer getting 404 [message #1063863 is a reply to message #1063817] Fri, 14 June 2013 10:59 Go to previous messageGo to next message
Scott Helsby is currently offline Scott Helsby
Messages: 9
Registered: July 2009
Junior Member
Hi Ralf,

Thank-you for your time.

Our customer installed and tried Firefox and did not have the issue.

Firefox also eliminated another issue they had with IE 8, intermittent "Server temporarily unavailable" (due to Windows Internet code 12029, could not connect).

We do not understand why they have the 404 issue or the intermittent could not connect issue since none of our other customers or internal teams have reported these.

They must have something in their environment that combined with IE 8 causes these two issues, but since they don't see either issue with Firefox, we are recommending to them that they use Firefox.

Scott

Scott Helsby
Agnovi Corporation
Re: Customer getting 404 [message #1063865 is a reply to message #1063863] Fri, 14 June 2013 11:07 Go to previous messageGo to next message
Scott Helsby is currently offline Scott Helsby
Messages: 9
Registered: July 2009
Junior Member
Hi Ralf,

The customer also e-mailed me saying that they also do not see the issues on IE 9 on Windows 7.

They have only seen the issues on IE 8 on their Windows XP SP3 computers--which is what we used up to this spring to develop and demo our product (and one of our test environments) and we did not see the issues.

Scott

Scott Helsby
Agnovi Corporation
Re: Customer getting 404 [message #1063907 is a reply to message #1063865] Fri, 14 June 2013 18:11 Go to previous message
Ralf Sternberg is currently offline Ralf Sternberg
Messages: 1290
Registered: July 2009
Senior Member

Thanks Scott, good to know that it's only happening on old IEs.

Your customers will be better off with a newer browser anyway. Even
though IE7 and IE8 are still supported, these browsers cause us a lot of
trouble and their performance is poor compared to all others.

Regards,
Ralf

--
Ralf Sternberg

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:SettingsStore and tomcat 6
Next Topic:Calling RAP Code From The Outside
Goto Forum:
  


Current Time: Fri Aug 22 19:52:46 EDT 2014

Powered by FUDForum. Page generated in 0.01780 seconds