Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Multiple RAP applications within <iframe>
Multiple RAP applications within <iframe> [message #851949] Sat, 21 April 2012 13:51 Go to next message
Michael Ihde is currently offline Michael IhdeFriend
Messages: 10
Registered: July 2009
Junior Member
I have a handful of simple RAP applications (i.e. uses IEntryPoint without a Workbench) that I am trying to integrate with a existing web-application container that uses iframes to render a variety of other web-pages together (i.e. similar to Google Gadgets).

Everything works fine as long as only one RAP application is displayed. If I display two RAP applications, either from the same server or different servers, I start running into issues.

One of two error messages occur:
a) "Multiple browser-instances or browser-tabs per session are not supported..."
b) "The server session timed out..."

My questions are:
1) Is this a known/expected behavior or do I have some misconfiguration?
2) I have some ability to patch the existing web-application; is there a patch that can be made such that RAP works in this configuration?
3) If this is a fundamental limitation of RAP I would be happy to try and resolve it and provide a patch back to the community; it would help if I could be pointed in the right direction to start working on this.

Thanks,
~Michael
Re: Multiple RAP applications within &lt;iframe&gt; [message #851978 is a reply to message #851949] Sat, 21 April 2012 14:34 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 335
Registered: July 2009
Senior Member
Michael,

the error messages might occur because the browser sends the same
session-cookie for all iframes.
You could try to force the browser and server to url-encode the
session-id into the request URL [1].

HTH
Rüdiger

[1]
http://wiki.eclipse.org/RAP/FAQ#How_to_run_a_RAP_application_in_multiple_browser_tabs.2Fwindows.3F

On 21.04.2012 15:51, Michael Ihde wrote:
> I have a handful of simple RAP applications (i.e. uses IEntryPoint
> without a Workbench) that I am trying to integrate with a existing
> web-application container that uses iframes to render a variety of other
> web-pages together (i.e. similar to Google Gadgets).
>
> Everything works fine as long as only one RAP application is displayed.
> If I display two RAP applications, either from the same server or
> different servers, I start running into issues.
>
> One of two error messages occur:
> a) "Multiple browser-instances or browser-tabs per session are not
> supported..."
> b) "The server session timed out..."
>
> My questions are:
> 1) Is this a known/expected behavior or do I have some misconfiguration?
> 2) I have some ability to patch the existing web-application; is there a
> patch that can be made such that RAP works in this configuration?
> 3) If this is a fundamental limitation of RAP I would be happy to try
> and resolve it and provide a patch back to the community; it would help
> if I could be pointed in the right direction to start working on this.
>
> Thanks,
> ~Michael
--
Rüdiger Herrmann
http://codeaffine.com
Re: Multiple RAP applications within &lt;iframe&gt; [message #851990 is a reply to message #851978] Sat, 21 April 2012 14:49 Go to previous message
Michael Ihde is currently offline Michael IhdeFriend
Messages: 10
Registered: July 2009
Junior Member
Rüdiger,

Thanks for the help, the jettycustomizer worked perfectly! I feel kinda silly for not checking the RAP/FAQ first.

~Michael
Previous Topic:Configuration parameters
Next Topic:about browse.evaluate()
Goto Forum:
  


Current Time: Thu Apr 25 13:10:03 GMT 2024

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

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

Back to the top