struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cimballi <cimba...@cimballi.net>
Subject Re: Disappearing Labels
Date Fri, 21 May 2010 02:44:44 GMT
Did you try putting the xworks jar in each project ? I am not sure but
I don't think you can share it.

Cimballi


On Thu, May 20, 2010 at 9:18 PM, Bhaarat Sharma <bhaarat.s@gmail.com> wrote:
> We have a weird problem with multiple Struts2 wars deployed on same
> GlassFish server.  These wars share the Xworks.jar file and have their own
> copy of struts2-core jar files in WEB-INF/lib
>
> Problem we are experiencing is that once the server is restarted everything
> is ok but after couple of hours of people going into their own applications
> and doing regular work we notice that one application starts seeing lables
> issues.
>
> In this applications struts.properties the following is defined:
> struts.custom.i18n.resources=labelsfile1,labelsfile2
>
> They use labels in their jsps like so:
> <s:text name="somelabelin.labelsfile1"/>
>
> When the error happens...instead of seeing the actual text corresponding to
> that value...we start seeing the label name. So in this case we see
> "somelabelin.labelsfile1" on the front end.
>
> This issue again goes away after the server is restarted.
>
> Anyone has any hint on what could be causing this?  could other war's be
> overwriting this war's labels configuration? could devMode being true in
> some war's struts.properties file be causing this issue?
>
> I'd appreciate any hints.
>



-- 
Cimballi
JAVA J2EE Freelance
http://cimballi.elance.com/

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


Mime
View raw message