struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bhaarat Sharma <bhaara...@gmail.com>
Subject Disappearing Labels
Date Fri, 21 May 2010 02:18:38 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message