Hello,

In my logs, I have this message :
Unable to find text for key 'xxx' in ResourceBundles for locale 'fr'

So I add some logs into org.apache.struts2.components.i18n and 
com.opensymphony.xwork2.util.LocalizedTextUtil to have more details.
It seems that the ValueStack of a thread 'A' is changed by an other thread 
'B'... is it possible?

This is my test :
2 JSP pages (A & B) with a s:i18n tag one to use the property file PFA and one 
to use the property file PFB. These files are into two different packages.
If I display only the page A, the i18n component pushes the right bundle (bPFA) 
on the stack and this bundle is used to internationalize text tags.

My problem append in this case :
1 - The page A is loaded and the i18n component pushes the right bundle (bPFA) 
on the stack.
2 - Some Text tags are computed and they use the bundle bPFA.
3 - The page B is loaded and the i18n component pushes the right bundle (bPFB) 
on the stack.
4 - Text Tags of the page B are computed with the right bundle bPFB
5 - Text Tags of the page A are computed with the wrong bundle bPFB


Struts version : 2.0.14


Has Anybody encountered this kind of problem? Is it possible this problem comes 
from Tomcat configuration?

Regards,
Eric


-----Message d'origine-----
De : Leleu Eric
Envoyé : lundi 20 avril 2009 11:06
À : 'user@struts.apache.org'
Objet : Display problems when tomcat is busy

Hello,

I currently have a problem using Struts 2.0.12 with Tomcat 5.5.
If the tomcat server isn't busy (1 to 10 connections) my pages display well.
However if tomcat becomes just a little busy, the name attribut of "s:text" 
tags isn't internationalized, sometimes some tags aren't displayed at all and 
sometimes they are no problems.

I read the documentation page about the performance tuning 
(http://struts.apache.org/2.1.6/docs/performance-tuning.html) and I searched 
some similar problems without success.

Has Anybody encountered this kind of problem?

Regards,
Eric


Ce message et les pièces jointes sont confidentiels et réservés à l'usage 
exclusif de ses destinataires. Il peut également être protégé par le secret 
professionnel. Si vous recevez ce message par erreur, merci d'en avertir 
immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant 
être assurée sur Internet, la responsabilité du groupe Atos Origin ne pourra 
être recherchée quant au contenu de ce message. Bien que les meilleurs efforts 
soient faits pour maintenir cette transmission exempte de tout virus, 
l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne 
saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for 
the addressee; it may also be privileged. If you receive this e-mail in error, 
please notify the sender immediately and destroy it. As its integrity cannot be 
secured on the Internet, the Atos Origin group liability cannot be triggered 
for the message content. Although the sender endeavours to maintain a computer 
virus-free network, the sender does not warrant that this transmission is 
virus-free and will not be liable for any damages resulting from any virus 
transmitted.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to