Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Some Questions
Some Questions [message #114220] Tue, 02 December 2008 14:56 Go to next message
Eclipse UserFriend
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 15:24 Go to previous messageGo to next message
Eclipse UserFriend
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 #114271 is a reply to message #114220] Tue, 02 December 2008 21:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Hi Andrej,

most of your questions have been answered already on this newsgroup.
Please see my comments below.

HTH
RĂ¼diger

Andrej Dimic wrote:
> 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?
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.rap.help/help/html/advanced/internationalization.html


>
> 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.
http://dev.eclipse.org/newslists/news.eclipse.technology.rap /msg00635.html

>
> 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?
From reading your post this seems to be a Tomcat issue that was
marked as RESOLVED some time ago. To me it is not clear what the
point is...

>
>
> Thanks
> Andrej
>
Re: Some Questions [message #114577 is a reply to message #114245] Fri, 05 December 2008 14:53 Go to previous messageGo to next message
Andrej Dimic is currently offline Andrej DimicFriend
Messages: 77
Registered: July 2009
Member
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
Re: Some Questions [message #114589 is a reply to message #114577] Fri, 05 December 2008 15:03 Go to previous message
Eclipse UserFriend
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
>
>
Previous Topic:Reading contents of Text widgets using Selenium?
Next Topic:strange behavior with transparent png-file
Goto Forum:
  


Current Time: Tue Jan 31 13:35:11 GMT 2023

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

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

Back to the top