Some Questions [message #114220] |
Tue, 02 December 2008 09:56  |
Eclipse User |
|
|
|
Originally posted by: admin.kabe-farben.ch
Hi all
i do have some questions regarding a new RAP-Project i am about to start and
an existing one
1. is there a recommended way on how to handle multiple languages on RAP
Pages? Is there any support in RAP for this?
2. How to pass parameters when a RAP-Page is called. Suppose you are on an
ordinary HTML-Page and have a Link to a RAP-Page and want to pass a
Parameter for the language.
3. on a running project, we do have a serious problem with sessions not
being terminated:
Environment: Linux-Server Suse Linux Enterprise Server 10.1 with Tomcat
6.0.14
After some hours of running, suddenly sessions that have timed out (timeout
is set to 15 minutes) are no more invalidated - and consequently not timed
out - in the tomcat server. Even Tomcat-Manager sessions are not terminated
anymore.
So at the moment the only possibility is to restart the server every day or
manually invalidate every single sessions in the tomcat-server (the expire
button does not work either).
we found the (rather unclear) issue below that is related to Tomcat 5 where
sessions are not properly timed out.
https://issues.apache.org/bugzilla/show_bug.cgi?id=37356
The problem seems to be threads compromising the session counter in tomcat.
Can anybody help me out of this?
Thanks
Andrej
|
|
|
Re: Some Questions [message #114245 is a reply to message #114220] |
Tue, 02 December 2008 10:24   |
Eclipse User |
|
|
|
Originally posted by: benjamin.wolff.web.de
Hi Andrej,
i also experienced the session issue on a tomcat 6.0.14 server! the sessions didn't time out,
this went so far that 300 concurrent sessions knocked out the oracle sql server since the connections are closed
when the session invalidates, which was not the case anymore. i updated the server to 6.0.18, until now the problem didn't reappear,
but i could never track down the reason. the old problem remains that tomcat manages the session timeout, there is not much
to do from inside the rap application which can be a real pain.
regarding your questions, RAP supports nationalization afaik. with RWT.getRequest().getParameter(...) you can get parameters
that have been passed with the url (...url?blabla=hello&blub=hi).
but i think the rap team can provide more infos on that.
greetings,
-ben
Andrej Dimic schrieb:
> Hi all
>
> i do have some questions regarding a new RAP-Project i am about to start and
> an existing one
>
> 1. is there a recommended way on how to handle multiple languages on RAP
> Pages? Is there any support in RAP for this?
>
> 2. How to pass parameters when a RAP-Page is called. Suppose you are on an
> ordinary HTML-Page and have a Link to a RAP-Page and want to pass a
> Parameter for the language.
>
> 3. on a running project, we do have a serious problem with sessions not
> being terminated:
>
> Environment: Linux-Server Suse Linux Enterprise Server 10.1 with Tomcat
> 6.0.14
>
> After some hours of running, suddenly sessions that have timed out (timeout
> is set to 15 minutes) are no more invalidated - and consequently not timed
> out - in the tomcat server. Even Tomcat-Manager sessions are not terminated
> anymore.
> So at the moment the only possibility is to restart the server every day or
> manually invalidate every single sessions in the tomcat-server (the expire
> button does not work either).
>
> we found the (rather unclear) issue below that is related to Tomcat 5 where
> sessions are not properly timed out.
> https://issues.apache.org/bugzilla/show_bug.cgi?id=37356
> The problem seems to be threads compromising the session counter in tomcat.
>
> Can anybody help me out of this?
>
>
> Thanks
> Andrej
>
|
|
|
|
|
Re: Some Questions [message #114589 is a reply to message #114577] |
Fri, 05 December 2008 10:03  |
Eclipse User |
|
|
|
Originally posted by: benjamin.wolff.web.de
Hi,
good to hear. i also checked the situation on my application today and the session are also correctly invalidated.
so let's hope that this really was a bug and that it will be gone for good now :).
Have a nice weekend and some cold beer! :))
-Ben
adiinfo schrieb:
> Hi Ben
>
> i switched today to Tomcat 6.0.18 an up to now, the sessions are
> invalidated (clsoed).
> It seems it is a bug in Tomcat 6.0.14.
>
> Cheers
> Andrej
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.31501 seconds