|
|
|
Re: Load balancing with Apache mod_proxy [message #546158 is a reply to message #546109] |
Sun, 11 July 2010 17:29  |
Eclipse User |
|
|
|
Hi,
about your problem with 404 error, there is already an opened bug for it:
317685: Images loaded from ext. points don't work behind session based
load balancers
https://bugs.eclipse.org/bugs/show_bug.cgi?id=317685
Best,
Ivan
On 07/11/2010 9:33 AM, KK wrote:
> Sorry for my late reply. I think we know what the problem is.
>
> In our application, we turned coolies off so that multi-tabs browsing
> is supported. According to the RAP's FAQ, the application will append
> the session id into the url, rather than storing it in the cookies.
>
> We have set the Apache load-balancer to direct the requests to the
> corresponding Tomcat server based on the session id in url. However,
> the application does not run correctly. After some investigation in
> the log file, we discovered that there are quite a lot 404 not found
> error, all of them are image/icon files. I am not sure if it is a
> problem of RAP.
>
> Here is a RAP HTTP request for getting an icon:
> GET rwt-resources/48.fwk1249086728/icons/icon.gif
>
> The part "48.fwk1249086728" is dynamically generated, but the request
> URL does not contains the session id. So this request will be randomly
> dispatched by the load balancer even sticky session is set. This
> results a 404 error when the request is handled by a wrong server.
>
> Due to this problem we have to enable cookies to make the load
> balancer works.
|
|
|
Powered by
FUDForum. Page generated in 0.06548 seconds