Community
Participate
Working Groups
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.
Sergey, please provide a simple self running snippet/project that demonstrate the problem.
Seems that on the RAP M7 this bug is not appears.
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.
Created attachment 135071 [details] video
Created attachment 135072 [details] eclipse plugin
My system environment: Firefox 3.0.10 Ubuntu 9.04 Tomcat 6.0.18 ("official") RAP M7
I cannot play the video. QuickTime crashes and Windows Media Player doesn't recognize the format.
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.
2 R�diger Herrmann: You need the FFmpeg MPEG-4 codec, try to find in the google. Thanks.
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.
(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.
(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.
(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.