I just found a strange behavior for JSF message resource configuration. My app runs fine on Windows, but fails in Unix box with this:
java.util.MissingResourceException: Can’t find bundle for base name Messages, locale en.
Checking my face-config.xml, it has
My classpath has message.properties file. It works on Windows because for Windows is not case sensitive, but Unix is. Thus, after changing it to:
All works fine now.
The moral of the story is – mind your cases. I don’t Shakespeare would disagree either.