Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP Session / Dialog Problem
RAP Session / Dialog Problem [message #99899] Thu, 24 July 2008 14:22 Go to next message
Walter Mising name is currently offline Walter Mising nameFriend
Messages: 128
Registered: July 2009
Senior Member
To RAP Group:

I have been playing around with RAP for couple of months and have to solve
a problem before launching my webpage.
Steps to produce the problem:
Go to the web page http://www.propertymapz.com/index.html
On the lower right corner in the Search Box enter "Warangal" and click
on "Search"
Click on a "Home icon" a dialog box will appear. click Close.
Click on the icon again. The dialog box appears. click Close.
Wait for 5 minutes and then click icon again. Nothing happens. But
strangely, if the button "Sign Up" or "Login" or "Feedback" is pressed, the
dialog comes up.

More info. Map is shown using standard Browser widget. Not Custom Widgets.
Time out settings
org.eclipse.equinox.http.jetty.context.sessioninactiveinterv al=600
Servlet Bridge is NOT used. Using Equinox with Jetty is
used as both WebServer and AppServer.

Any help is highly appreciated.

On other note any pointers to redirect www.propertymapz.com to
www.propertymapz.com/index.html without having a extra web server layer
would be highly useful.

Please note that index.html is a servlet here.

Thanks,
Best Regards,
Walter Prabhakar.
Re: RAP Session / Dialog Problem [message #99958 is a reply to message #99899] Thu, 24 July 2008 15:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rsternberg.innoopract.com

Hi Walter,

I tried your application but I was not able to reproduce what you
describe. I assume that you mean the browser's "Home" button and the
exit confirmation dialog. This dialog is always shown here.

Do you use the attribute "exitConfirmation" in your plugin.xml or the
new attribute "exitConfirmationClass"?

Regards,
Ralf


Walter Prabhakar wrote:
> To RAP Group:
>
> I have been playing around with RAP for couple of months and have to solve
> a problem before launching my webpage.
> Steps to produce the problem:
> Go to the web page http://www.propertymapz.com/index.html
> On the lower right corner in the Search Box enter "Warangal" and
> click on "Search"
> Click on a "Home icon" a dialog box will appear. click Close.
> Click on the icon again. The dialog box appears. click Close.
> Wait for 5 minutes and then click icon again. Nothing happens. But
> strangely, if the button "Sign Up" or "Login" or "Feedback" is pressed,
> the dialog comes up.
>
> More info. Map is shown using standard Browser widget. Not Custom
> Widgets.
> Time out settings
> org.eclipse.equinox.http.jetty.context.sessioninactiveinterv al=600
> Servlet Bridge is NOT used. Using Equinox with Jetty
> is used as both WebServer and AppServer.
>
> Any help is highly appreciated.
>
> On other note any pointers to redirect www.propertymapz.com to
> www.propertymapz.com/index.html without having a extra web server layer
> would be highly useful.
>
> Please note that index.html is a servlet here.
>
> Thanks,
> Best Regards,
> Walter Prabhakar.
>
>
Re: RAP Session / Dialog Problem [message #100002 is a reply to message #99958] Fri, 25 July 2008 02:10 Go to previous messageGo to next message
Walter Mising name is currently offline Walter Mising nameFriend
Messages: 128
Registered: July 2009
Senior Member
Hi Ralf,
Actually, I meant the Home Icon that is displayed on the Map. Sorry for
not being clear.

Best Regards,
Walter Prabhakar.

"Ralf Sternberg" <rsternberg@innoopract.com> wrote in message
news:g6a6bb$i5n$1@build.eclipse.org...
> Hi Walter,
>
> I tried your application but I was not able to reproduce what you
> describe. I assume that you mean the browser's "Home" button and the exit
> confirmation dialog. This dialog is always shown here.
>
> Do you use the attribute "exitConfirmation" in your plugin.xml or the new
> attribute "exitConfirmationClass"?
>
> Regards,
> Ralf
>
>
> Walter Prabhakar wrote:
>> To RAP Group:
>>
>> I have been playing around with RAP for couple of months and have to
>> solve
>> a problem before launching my webpage.
>> Steps to produce the problem:
>> Go to the web page http://www.propertymapz.com/index.html
>> On the lower right corner in the Search Box enter "Warangal" and
>> click on "Search"
>> Click on a "Home icon" a dialog box will appear. click Close.
>> Click on the icon again. The dialog box appears. click Close.
>> Wait for 5 minutes and then click icon again. Nothing happens. But
>> strangely, if the button "Sign Up" or "Login" or "Feedback" is pressed,
>> the dialog comes up.
>>
>> More info. Map is shown using standard Browser widget. Not Custom
>> Widgets.
>> Time out settings
>> org.eclipse.equinox.http.jetty.context.sessioninactiveinterv al=600
>> Servlet Bridge is NOT used. Using Equinox with Jetty is
>> used as both WebServer and AppServer.
>>
>> Any help is highly appreciated.
>>
>> On other note any pointers to redirect www.propertymapz.com to
>> www.propertymapz.com/index.html without having a extra web server layer
>> would be highly useful.
>>
>> Please note that index.html is a servlet here.
>>
>> Thanks,
>> Best Regards,
>> Walter Prabhakar.
>>
Re: RAP Session / Dialog Problem [message #100071 is a reply to message #99958] Fri, 25 July 2008 07:13 Go to previous messageGo to next message
Stefan   is currently offline Stefan Friend
Messages: 316
Registered: July 2009
Senior Member
Hi Walter,

i can reproduce this when I open the app and wait for a long time (5
minutes were not enough...). I think this is a simple session time-out
problem. I'm not that familiar with Jetty: is the
sessioninactiveinterval specified in seconds? If so this would result in
a time-out of 10 minutes.

Are there some log messages when the home button stops working?

Regards,
Stefan.

Ralf Sternberg schrieb:
> Hi Walter,
>
> I tried your application but I was not able to reproduce what you
> describe. I assume that you mean the browser's "Home" button and the
> exit confirmation dialog. This dialog is always shown here.
>
> Do you use the attribute "exitConfirmation" in your plugin.xml or the
> new attribute "exitConfirmationClass"?
>
> Regards,
> Ralf
>
>
> Walter Prabhakar wrote:
>> To RAP Group:
>>
>> I have been playing around with RAP for couple of months and have to
>> solve
>> a problem before launching my webpage.
>> Steps to produce the problem:
>> Go to the web page http://www.propertymapz.com/index.html
>> On the lower right corner in the Search Box enter "Warangal" and
>> click on "Search"
>> Click on a "Home icon" a dialog box will appear. click Close.
>> Click on the icon again. The dialog box appears. click Close.
>> Wait for 5 minutes and then click icon again. Nothing happens.
>> But strangely, if the button "Sign Up" or "Login" or "Feedback" is
>> pressed, the dialog comes up.
>>
>> More info. Map is shown using standard Browser widget. Not Custom
>> Widgets.
>> Time out settings
>> org.eclipse.equinox.http.jetty.context.sessioninactiveinterv al=600
>> Servlet Bridge is NOT used. Using Equinox with Jetty
>> is used as both WebServer and AppServer.
>>
>> Any help is highly appreciated.
>>
>> On other note any pointers to redirect www.propertymapz.com to
>> www.propertymapz.com/index.html without having a extra web server
>> layer would be highly useful.
>>
>> Please note that index.html is a servlet here.
>>
>> Thanks,
>> Best Regards,
>> Walter Prabhakar.
>>
>>
Re: RAP Session / Dialog Problem [message #100259 is a reply to message #100071] Sat, 26 July 2008 11:00 Go to previous messageGo to next message
Walter Mising name is currently offline Walter Mising nameFriend
Messages: 128
Registered: July 2009
Senior Member
Hi Stefan,

But I am able to reproduce this problem after 5 minutes. There is
something that is preventing the Dialog Box to appear in the Browser. It is
certainly not due to session timeout as the dialog box appears after some
action on the coolbar. Moreover, if the "Home Icon" on the map is clicked
twice, it will come up with 2 dialog boxes later when any of the clickable
item is clicked from the Coolbar.
For the record, the time out is set in seconds ( which is 10 minutes as
you had guessed rightly ).

Best Regards,
Walter Prabhakar.

"Stefan Roeck" <stefan.roeck@cas.de> wrote in message
news:g6buf6$ih2$1@build.eclipse.org...
> Hi Walter,
>
> i can reproduce this when I open the app and wait for a long time (5
> minutes were not enough...). I think this is a simple session time-out
> problem. I'm not that familiar with Jetty: is the sessioninactiveinterval
> specified in seconds? If so this would result in a time-out of 10 minutes.
>
> Are there some log messages when the home button stops working?
>
> Regards,
> Stefan.
>
> Ralf Sternberg schrieb:
>> Hi Walter,
>>
>> I tried your application but I was not able to reproduce what you
>> describe. I assume that you mean the browser's "Home" button and the exit
>> confirmation dialog. This dialog is always shown here.
>>
>> Do you use the attribute "exitConfirmation" in your plugin.xml or the new
>> attribute "exitConfirmationClass"?
>>
>> Regards,
>> Ralf
>>
>>
>> Walter Prabhakar wrote:
>>> To RAP Group:
>>>
>>> I have been playing around with RAP for couple of months and have to
>>> solve
>>> a problem before launching my webpage.
>>> Steps to produce the problem:
>>> Go to the web page http://www.propertymapz.com/index.html
>>> On the lower right corner in the Search Box enter "Warangal" and
>>> click on "Search"
>>> Click on a "Home icon" a dialog box will appear. click Close.
>>> Click on the icon again. The dialog box appears. click Close.
>>> Wait for 5 minutes and then click icon again. Nothing happens. But
>>> strangely, if the button "Sign Up" or "Login" or "Feedback" is pressed,
>>> the dialog comes up.
>>>
>>> More info. Map is shown using standard Browser widget. Not Custom
>>> Widgets.
>>> Time out settings
>>> org.eclipse.equinox.http.jetty.context.sessioninactiveinterv al=600
>>> Servlet Bridge is NOT used. Using Equinox with Jetty
>>> is used as both WebServer and AppServer.
>>>
>>> Any help is highly appreciated.
>>>
>>> On other note any pointers to redirect www.propertymapz.com to
>>> www.propertymapz.com/index.html without having a extra web server layer
>>> would be highly useful.
>>>
>>> Please note that index.html is a servlet here.
>>>
>>> Thanks,
>>> Best Regards,
>>> Walter Prabhakar.
>>>
>>>
Re: RAP Session / Dialog Problem [message #100621 is a reply to message #100259] Tue, 29 July 2008 09:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

just a wild guess, but maybe this has something to do with proxies and
background processes. Maybe there is a display.asyncExec somewhere in
the code that should be executed by and UI-update request using the
UICallback mechanism. But if a proxy killed the blocked thread. This
could explain why there's no dialog first, but gets shown with the next
useraction.


Ciao
Frank

-----Ursprüngliche Nachricht-----
Von: Walter Prabhakar [mailto:kwchess@gmail.com]
Bereitgestellt: Samstag, 26. Juli 2008 13:01
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: RAP Session / Dialog Problem
Betreff: Re: RAP Session / Dialog Problem

Hi Stefan,

But I am able to reproduce this problem after 5 minutes. There is
something that is preventing the Dialog Box to appear in the Browser.
It is
certainly not due to session timeout as the dialog box appears after
some
action on the coolbar. Moreover, if the "Home Icon" on the map is
clicked
twice, it will come up with 2 dialog boxes later when any of the
clickable
item is clicked from the Coolbar.
For the record, the time out is set in seconds ( which is 10 minutes
as
you had guessed rightly ).

Best Regards,
Walter Prabhakar.

"Stefan Roeck" <stefan.roeck@cas.de> wrote in message
news:g6buf6$ih2$1@build.eclipse.org...
> Hi Walter,
>
> i can reproduce this when I open the app and wait for a long time (5
> minutes were not enough...). I think this is a simple session time-out

> problem. I'm not that familiar with Jetty: is the
sessioninactiveinterval
> specified in seconds? If so this would result in a time-out of 10
minutes.
>
> Are there some log messages when the home button stops working?
>
> Regards,
> Stefan.
>
> Ralf Sternberg schrieb:
>> Hi Walter,
>>
>> I tried your application but I was not able to reproduce what you
>> describe. I assume that you mean the browser's "Home" button and the
exit
>> confirmation dialog. This dialog is always shown here.
>>
>> Do you use the attribute "exitConfirmation" in your plugin.xml or the
new
>> attribute "exitConfirmationClass"?
>>
>> Regards,
>> Ralf
>>
>>
>> Walter Prabhakar wrote:
>>> To RAP Group:
>>>
>>> I have been playing around with RAP for couple of months and have
to
>>> solve
>>> a problem before launching my webpage.
>>> Steps to produce the problem:
>>> Go to the web page http://www.propertymapz.com/index.html
>>> On the lower right corner in the Search Box enter "Warangal" and

>>> click on "Search"
>>> Click on a "Home icon" a dialog box will appear. click Close.
>>> Click on the icon again. The dialog box appears. click Close.
>>> Wait for 5 minutes and then click icon again. Nothing happens.
But
>>> strangely, if the button "Sign Up" or "Login" or "Feedback" is
pressed,
>>> the dialog comes up.
>>>
>>> More info. Map is shown using standard Browser widget. Not Custom
>>> Widgets.
>>> Time out settings
>>> org.eclipse.equinox.http.jetty.context.sessioninactiveinterv al=600
>>> Servlet Bridge is NOT used. Using Equinox with
Jetty
>>> is used as both WebServer and AppServer.
>>>
>>> Any help is highly appreciated.
>>>
>>> On other note any pointers to redirect www.propertymapz.com to
>>> www.propertymapz.com/index.html without having a extra web server
layer
>>> would be highly useful.
>>>
>>> Please note that index.html is a servlet here.
>>>
>>> Thanks,
>>> Best Regards,
>>> Walter Prabhakar.
>>>
>>>
Re: RAP Session / Dialog Problem [message #100733 is a reply to message #100621] Tue, 29 July 2008 13:06 Go to previous messageGo to next message
Walter Mising name is currently offline Walter Mising nameFriend
Messages: 128
Registered: July 2009
Senior Member
Well Frank, this is exactly what I suspect. If the blocked thread is killed
by proxy then what would trigger it to execute again ?... that was just for
curiousness.
Do you suggest any resolution or should I raise it as defect.

Thanks,
Best Regards,
Walter G. Prabhakar.

"Frank Appel" <fappel@innoopract.com> wrote in message
news:002001c8f15b$02eeedf0$8606a8c0@Abulafila...
> Hi,
>
> just a wild guess, but maybe this has something to do with proxies and
> background processes. Maybe there is a display.asyncExec somewhere in
> the code that should be executed by and UI-update request using the
> UICallback mechanism. But if a proxy killed the blocked thread. This
> could explain why there's no dialog first, but gets shown with the next
> useraction.
>
>
> Ciao
> Frank
>
> -----Ursprüngliche Nachricht-----
> Von: Walter Prabhakar [mailto:kwchess@gmail.com]
> Bereitgestellt: Samstag, 26. Juli 2008 13:01
> Bereitgestellt in: eclipse.technology.rap
> Unterhaltung: RAP Session / Dialog Problem
> Betreff: Re: RAP Session / Dialog Problem
>
> Hi Stefan,
>
> But I am able to reproduce this problem after 5 minutes. There is
> something that is preventing the Dialog Box to appear in the Browser.
> It is
> certainly not due to session timeout as the dialog box appears after
> some
> action on the coolbar. Moreover, if the "Home Icon" on the map is
> clicked
> twice, it will come up with 2 dialog boxes later when any of the
> clickable
> item is clicked from the Coolbar.
> For the record, the time out is set in seconds ( which is 10 minutes
> as
> you had guessed rightly ).
>
> Best Regards,
> Walter Prabhakar.
>
> "Stefan Roeck" <stefan.roeck@cas.de> wrote in message
> news:g6buf6$ih2$1@build.eclipse.org...
>> Hi Walter,
>>
>> i can reproduce this when I open the app and wait for a long time (5
>> minutes were not enough...). I think this is a simple session time-out
>
>> problem. I'm not that familiar with Jetty: is the
> sessioninactiveinterval
>> specified in seconds? If so this would result in a time-out of 10
> minutes.
>>
>> Are there some log messages when the home button stops working?
>>
>> Regards,
>> Stefan.
>>
>> Ralf Sternberg schrieb:
>>> Hi Walter,
>>>
>>> I tried your application but I was not able to reproduce what you
>>> describe. I assume that you mean the browser's "Home" button and the
> exit
>>> confirmation dialog. This dialog is always shown here.
>>>
>>> Do you use the attribute "exitConfirmation" in your plugin.xml or the
> new
>>> attribute "exitConfirmationClass"?
>>>
>>> Regards,
>>> Ralf
>>>
>>>
>>> Walter Prabhakar wrote:
>>>> To RAP Group:
>>>>
>>>> I have been playing around with RAP for couple of months and have
> to
>>>> solve
>>>> a problem before launching my webpage.
>>>> Steps to produce the problem:
>>>> Go to the web page http://www.propertymapz.com/index.html
>>>> On the lower right corner in the Search Box enter "Warangal" and
>
>>>> click on "Search"
>>>> Click on a "Home icon" a dialog box will appear. click Close.
>>>> Click on the icon again. The dialog box appears. click Close.
>>>> Wait for 5 minutes and then click icon again. Nothing happens.
> But
>>>> strangely, if the button "Sign Up" or "Login" or "Feedback" is
> pressed,
>>>> the dialog comes up.
>>>>
>>>> More info. Map is shown using standard Browser widget. Not Custom
>>>> Widgets.
>>>> Time out settings
>>>> org.eclipse.equinox.http.jetty.context.sessioninactiveinterv al=600
>>>> Servlet Bridge is NOT used. Using Equinox with
> Jetty
>>>> is used as both WebServer and AppServer.
>>>>
>>>> Any help is highly appreciated.
>>>>
>>>> On other note any pointers to redirect www.propertymapz.com to
>>>> www.propertymapz.com/index.html without having a extra web server
> layer
>>>> would be highly useful.
>>>>
>>>> Please note that index.html is a servlet here.
>>>>
>>>> Thanks,
>>>> Best Regards,
>>>> Walter Prabhakar.
>>>>
>>>>
>
Re: RAP Session / Dialog Problem [message #100759 is a reply to message #100733] Tue, 29 July 2008 13:59 Go to previous message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hm,

I think this is worth to have a bugzilla entry for it. If the request
gets terminated by a proxy, the server thread used to process this
request probably still is blocked, which is not good since this among
others could prevent a proper session cleanup. At least we have to have
a proper look at this.

One workaround for the moment could be to trigger an UI update from time
to time (Calling display#syncExec() by a background thread in a minute
interval for example). But that's a quite ugly thing to do...


Ciao
Frank

-----Ursprüngliche Nachricht-----
Von: Walter Prabhakar [mailto:kwchess@gmail.com]
Bereitgestellt: Dienstag, 29. Juli 2008 15:07
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: RAP Session / Dialog Problem
Betreff: Re: RAP Session / Dialog Problem

Well Frank, this is exactly what I suspect. If the blocked thread is
killed
by proxy then what would trigger it to execute again ?... that was just
for
curiousness.
Do you suggest any resolution or should I raise it as defect.

Thanks,
Best Regards,
Walter G. Prabhakar.

"Frank Appel" <fappel@innoopract.com> wrote in message
news:002001c8f15b$02eeedf0$8606a8c0@Abulafila...
> Hi,
>
> just a wild guess, but maybe this has something to do with proxies and
> background processes. Maybe there is a display.asyncExec somewhere in
> the code that should be executed by and UI-update request using the
> UICallback mechanism. But if a proxy killed the blocked thread. This
> could explain why there's no dialog first, but gets shown with the
next
> useraction.
>
>
> Ciao
> Frank
>
> -----Ursprüngliche Nachricht-----
> Von: Walter Prabhakar [mailto:kwchess@gmail.com]
> Bereitgestellt: Samstag, 26. Juli 2008 13:01
> Bereitgestellt in: eclipse.technology.rap
> Unterhaltung: RAP Session / Dialog Problem
> Betreff: Re: RAP Session / Dialog Problem
>
> Hi Stefan,
>
> But I am able to reproduce this problem after 5 minutes. There is
> something that is preventing the Dialog Box to appear in the Browser.
> It is
> certainly not due to session timeout as the dialog box appears after
> some
> action on the coolbar. Moreover, if the "Home Icon" on the map is
> clicked
> twice, it will come up with 2 dialog boxes later when any of the
> clickable
> item is clicked from the Coolbar.
> For the record, the time out is set in seconds ( which is 10 minutes
> as
> you had guessed rightly ).
>
> Best Regards,
> Walter Prabhakar.
>
> "Stefan Roeck" <stefan.roeck@cas.de> wrote in message
> news:g6buf6$ih2$1@build.eclipse.org...
>> Hi Walter,
>>
>> i can reproduce this when I open the app and wait for a long time (5
>> minutes were not enough...). I think this is a simple session
time-out
>
>> problem. I'm not that familiar with Jetty: is the
> sessioninactiveinterval
>> specified in seconds? If so this would result in a time-out of 10
> minutes.
>>
>> Are there some log messages when the home button stops working?
>>
>> Regards,
>> Stefan.
>>
>> Ralf Sternberg schrieb:
>>> Hi Walter,
>>>
>>> I tried your application but I was not able to reproduce what you
>>> describe. I assume that you mean the browser's "Home" button and the
> exit
>>> confirmation dialog. This dialog is always shown here.
>>>
>>> Do you use the attribute "exitConfirmation" in your plugin.xml or
the
> new
>>> attribute "exitConfirmationClass"?
>>>
>>> Regards,
>>> Ralf
>>>
>>>
>>> Walter Prabhakar wrote:
>>>> To RAP Group:
>>>>
>>>> I have been playing around with RAP for couple of months and have
> to
>>>> solve
>>>> a problem before launching my webpage.
>>>> Steps to produce the problem:
>>>> Go to the web page http://www.propertymapz.com/index.html
>>>> On the lower right corner in the Search Box enter "Warangal"
and
>
>>>> click on "Search"
>>>> Click on a "Home icon" a dialog box will appear. click Close.
>>>> Click on the icon again. The dialog box appears. click Close.
>>>> Wait for 5 minutes and then click icon again. Nothing happens.
> But
>>>> strangely, if the button "Sign Up" or "Login" or "Feedback" is
> pressed,
>>>> the dialog comes up.
>>>>
>>>> More info. Map is shown using standard Browser widget. Not Custom
>>>> Widgets.
>>>> Time out settings
>>>> org.eclipse.equinox.http.jetty.context.sessioninactiveinterv al=600
>>>> Servlet Bridge is NOT used. Using Equinox with
> Jetty
>>>> is used as both WebServer and AppServer.
>>>>
>>>> Any help is highly appreciated.
>>>>
>>>> On other note any pointers to redirect www.propertymapz.com to
>>>> www.propertymapz.com/index.html without having a extra web server
> layer
>>>> would be highly useful.
>>>>
>>>> Please note that index.html is a servlet here.
>>>>
>>>> Thanks,
>>>> Best Regards,
>>>> Walter Prabhakar.
>>>>
>>>>
>
Previous Topic:JMeter Testplan Example
Next Topic:Font style STROKE
Goto Forum:
  


Current Time: Thu Apr 25 12:35:40 GMT 2024

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

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

Back to the top