I am a bit confused now: - It seems when the app starts in the course of Tomcat starting up, there is no warning - When the app starts in the course of stopping/starting or reloading in Tomcat Manager, the warning still appears - However my the locale I set as constant in struts.xml seems to apply now (en_GB vs. platform setting de_DE)
So, as long as the setting actually applies (first after Tomcat restart?) I can of course live with the warning :-) Torsten Gabriel Belingueres wrote: > I'm getting the same warning setting the constant in the struts.xml > file. Didn't test using struts.properties. > > Upgrading to v2.0.8 didn't solve the problem either. > > 2007/6/13, Danny Hurlburt <[EMAIL PROTECTED]>: >> I was getting the same warning. I was able to remove the warning by >> creating a >> /WEB-INF/classes/struts.properties file with struts.locale=en_GB >> >> I am however not able to set the locale via the constant element in >> struts.xml >> althought the documentation at >> http://struts.apache.org/2.0.6/docs/constant-configuration.html >> states that you can. >> >> Torsten Römer wrote: >> > Everytime my app starts, I see this in the log: >> > >> > 13.06.2007 23:50:27 org.apache.struts2.config.Settings getLocale >> > WARNUNG: Settings: Could not parse struts.locale setting, substituting >> > default VM locale >> > >> > I put >> > >> > <constant name="struts.locale" value="en_GB" /> >> > >> > in my struts.xml, but I still get the error (and the default VM locale >> > is used, which I don't want) >> > >> > Torsten >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > >> > >> > >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]