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 <bhaara...@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-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to