Bug 274866 - Shows "Please click here to restart the session." page message (like inactive timeout) in second after open and shows RAP Application workbench window.
Summary: Shows "Please click here to restart the session." page message (like inactive...
Status: RESOLVED INVALID
Alias: None
Product: RAP
Classification: RT
Component: Workbench (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2009-05-04 13:57 EDT by Sergey N. Yashin CLA
Modified: 2009-06-15 06:51 EDT (History)
3 users (show)

See Also:


Attachments
video (1.62 MB, video/mpeg)
2009-05-10 11:10 EDT, Sergey N. Yashin CLA
no flags Details
eclipse plugin (67.10 KB, application/x-zip-compressed)
2009-05-10 11:10 EDT, Sergey N. Yashin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey N. Yashin CLA 2009-05-04 13:57:28 EDT
On Tomcat 5.5.26-5ubuntu1.

When i registering the servlet by extension org.eclipse.equinox.http.registry.servlets then if i open the RAP Application several times (two or three) in a while - then when RAP Application is being loaded and workplace is show then in the second the page is disappear and shows message the "Please click {0}here{1} to restart the session." but if i not registering the servlet then RAP application opens fine.

My servlet wich extends the org.eclipse.equinox.http.registry.servlets extension is just redirecting to the "start" RAP application. But it doesnt matter i use this servlet or not (and type in the browser directly on the "start" RAP application) the page with opened RAP workplace is disappear and showing the "Please click {0}here{1} to restart the session." message in second as if my application is got timeout but my maxInactiveInterval is setting to three hours programmatically.
Comment 1 Ivan Furnadjiev CLA 2009-05-06 04:19:40 EDT
Sergey, please provide a simple self running snippet/project that demonstrate the problem.
Comment 2 Sergey N. Yashin CLA 2009-05-08 07:43:16 EDT
Seems that on the RAP M7 this bug is not appears.
Comment 3 Sergey N. Yashin CLA 2009-05-10 11:08:52 EDT
I was wrong the problem is sill persist.
I attached:
1. VIDEO to watch on the problem
2. eclipse plugin

Steps to reproduce:
You can follow by "RAP Developer Guide\Advanced Topics\WAR Deployment". At the last step you need to add to the deploy attached eclipse plugin and after deploy open the page at the root of the servlet is mapped.
I think this problem is happens around graphical system of the Firefox when it is render or destroy somethig, so in any case this promblems of the browser should not affect on the whole RAP.
Comment 4 Sergey N. Yashin CLA 2009-05-10 11:10:27 EDT
Created attachment 135071 [details]
video
Comment 5 Sergey N. Yashin CLA 2009-05-10 11:10:57 EDT
Created attachment 135072 [details]
eclipse plugin
Comment 6 Sergey N. Yashin CLA 2009-05-10 11:13:08 EDT
My system environment:
Firefox 3.0.10
Ubuntu 9.04
Tomcat 6.0.18 ("official")
RAP M7
Comment 7 Rüdiger Herrmann CLA 2009-06-12 14:12:00 EDT
I cannot play the video. QuickTime crashes and Windows Media Player doesn't recognize the format.
Comment 8 Cole Markham CLA 2009-06-12 15:37:51 EDT
I think the problem is with your servlet registration with alias "/". Does it work if you remove the servlet registration?

If you are trying to not force the user to enter the entry point, there are some other ways to make that work. In our installation we use Apache HTTP Server as a front-end to Tomcat. Then we can use mod_rewrite to redirect the user to the appropriate url. There is probably a way to do something using only Tomcat as well.
Comment 9 Sergey N. Yashin CLA 2009-06-13 05:30:28 EDT
2  R�diger Herrmann:

You need the FFmpeg MPEG-4 codec, try to find in the google.

Thanks.
Comment 10 Sergey N. Yashin CLA 2009-06-13 05:35:35 EDT
2  Cole Markham,

Yes, if i remove the servlet registration then all works prefectly.
But i need to have this redirection servlet as a part of the RAP.
This servlet registered as the "/" alias.

I think this might to be resolved on the RAP/OSGI level, because it happens in tomcat and in jetty also.
Comment 11 Rüdiger Herrmann CLA 2009-06-15 06:34:06 EDT
(In reply to comment #9)
> 2  R�diger Herrmann:
> You need the FFmpeg MPEG-4 codec, try to find in the google.
I am not willing to install software just to view a video. With all due respect, I think it is the bug reporters responsibility to make the bug report as easy to reproduce or "consume" as possible.
Comment 12 Rüdiger Herrmann CLA 2009-06-15 06:36:35 EDT
(In reply to comment #10)
> 2  Cole Markham,
> Yes, if i remove the servlet registration then all works prefectly.
> But i need to have this redirection servlet as a part of the RAP.
> This servlet registered as the "/" alias.
> 
> I think this might to be resolved on the RAP/OSGI level, because it happens in
> tomcat and in jetty also.
I am afraid we cannot fix this short term. You will probably have to resort to something like suggested in comment #8.
Comment 13 Sergey N. Yashin CLA 2009-06-15 06:51:53 EDT
(In reply to comment #12)
> (In reply to comment #10)
> > 2  Cole Markham,
> > Yes, if i remove the servlet registration then all works prefectly.
> > But i need to have this redirection servlet as a part of the RAP.
> > This servlet registered as the "/" alias.
> > 
> > I think this might to be resolved on the RAP/OSGI level, because it happens in
> > tomcat and in jetty also.
> I am afraid we cannot fix this short term. You will probably have to resort to
> something like suggested in comment #8.
> 

Thanks, i closing i bug.