It has already been changed to a warn level a while ago - just not in the current release ;)
regards, Martin On 11/9/05, Bruno Aranda <[EMAIL PROTECTED]> wrote: > BTW, don't worry about that message, as far as I remember if the > locale config is missing the application uses the default locale. I > think that this message could be deleted or changed to a lower > level... > > Regards, > > Bruno > > 2005/11/9, Bobby Rosenberger <[EMAIL PROTECTED]>: > > Thanks Kim, > > > > That helped. The error is no longer displaying on start up. > > > > > > Bobby > > > > On 11/9/05, Kim <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Ok, here is a copy with more than you need, but it should make things > > clear. > > > > > > > > > > > > <? xml version = '1.0' encoding = 'UTF-8' ?> > > > > > > > > > > > > < faces-config xmlns = "http://java.sun.com/xml/ns/j2ee" > > > > > > xmlns:xsi = > > "http://www.w3.org/2001/XMLSchema-instance" > > > > > > xsi:schemaLocation = "http://java.sun.com/xml/ns/j2ee > > http://java.sun.com/xml/ns/j2ee/web-facesconfig_1_2.xsd" > > > > > > version = "1.2" > > > > > > > > > > > > > < application > > > > > > > < message-bundle > com.hrsi.rms.web.app </ message-bundle > > > > > > > < locale-config > > > > > > > < default-locale > en_US </ default-locale > > > > > > > < supported-locale > en </ supported-locale > > > > > > > </ locale-config > > > > > > > < view-handler > > > org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl > > </ view-handler > > > > > > > </ application > > > > > > > > > > > > > < navigation-rule > > > > > > > < from-view-id > /launch.jsp </ from-view-id > > > > > > > < navigation-case > > > > > > > < from-outcome > SUCCESS </ from-outcome > > > > > > > < to-view-id > /createClient.jsp </ to-view-id > > > > > > > </ navigation-case > > > > > > > </ navigation-rule > > > > > > > > > > > > > < navigation-rule > > > > > > > < from-view-id > /createClient.jsp </ from-view-id > > > > > > > < navigation-case > > > > > > > < from-outcome > SUCCESS </ from-outcome > > > > > > > < to-view-id > /clientInfo.jsp </ to-view-id > > > > > > > </ navigation-case > > > > > > > </ navigation-rule > > > > > > > > > > > > > < managed-bean > > > > > > > < managed-bean-name > user </ managed-bean-name > > > > > > > < managed-bean-class > com.hrsi.rms.web.bean.User </ > > managed-bean-class > > > > > > > < managed-bean-scope > session </ managed-bean-scope > > > > > > > </ managed-bean > > > > > > > > > > > > > < managed-bean > > > > > > > < managed-bean-name > client </ managed-bean-name > > > > > > > < managed-bean-class > com.hrsi.rms.web.bean.Client </ > > managed-bean-class > > > > > > > < managed-bean-scope > session </ managed-bean-scope > > > > > > > </ managed-bean > > > > > > > > > > > > > </ faces-config > > > > > > > > > > > > > > > > > > > ________________________________ > > > > > > > > From: Bobby Rosenberger [mailto:[EMAIL PROTECTED] > > > Sent: Wednesday, November 09, 2005 4:32 PM > > > To: MyFaces Discussion > > > Subject: Re: SEVERE:Locale name null... tomcat > > > > > > > > > > > > > > > Hey Kim, > > > > > > Thanks for the response. I'm not sure I know what you are referring to. My > > current faces-config file (which is largely based on the examples) only has > > 'navigation-rule' and 'managed-bean' tags... what is the 'application node' > > you refer to? Can you paste an example of your config? > > > > > > Thanks again. > > > Bobby > > > > > > > > > On 11/9/05, Kim <[EMAIL PROTECTED]> wrote: > > > > > > > > > Bobby, > > > > > > > > > > > > I had the error message until I put a <locale-config> entry in the > > application node of the faces-config.xml file. It really doesn't seem to be > > a severe error, but it is easy to eliminate. > > > > > > > > > > > > Kim > > > > > > > > > > > > ________________________________ > > > > > > > > From: Bobby Rosenberger [mailto: [EMAIL PROTECTED] > > > Sent: Wednesday, November 09, 2005 4:09 PM > > > To: MyFaces Discussion > > > Subject: SEVERE:Locale name null... tomcat > > > > > > > > > > > > > > > Hello All, > > > > > > I get the following error when starting tomcat after moving from the RI to > > MyFaces: > > > > > > ... > > > INFO: Reading config /WEB-INF/faces-config.xml > > > Nov 9, 2005 2:53:59 PM > > org.apache.myfaces.util.LocaleUtils toLocale > > > SEVERE: Locale name null or empty, ignoring > > > ... > > > > > > > > > Am I neglecting to do something that I should be doing? Or is this not > > really a 'severe' error... after all, it does say it is 'ignoring' the > > error. And it doesn't seem to be affecting my app... as far as I can tell. > > So what gives? > > > > > > Thanks, > > > Bobby > > > > > > > > > > > -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

