jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Raible" <mrai...@gmail.com>
Subject Cactus 1.7.2 setting the wrong locale?
Date Wed, 16 Aug 2006 00:18:18 GMT
I'm testing a Spring MVC 2.0 (RC1) application with Cactus.  When I
run my cactified WAR in Tomcat, everything works fine.  However, when
I run it in Cactus, I get:

   [cactus] No message found under code 'user.saved' for locale 'en_US'.
   [cactus] org.springframework.context.NoSuchMessageException: No
message found under code 'user.saved' for locale 'en_US'.
   [cactus]     at
   [cactus]     at
   [cactus]     at
   [cactus]     at

It seems like Cactus is setting my default locale and for some reason,
my ResourceBundle isn't working like normal.  It seems to be looking
for a messages_en_US.properties in my WEB-INF/classes directory and
not reverting to messages.properties.  If I duplicate
messages.properties and rename it to messages_en_US.properties (in
WEB-INF/classes), it still fails to work.  When I do "jar -tvf
my.war", both files are in WEB-INF/classes.

Any ideas?



View raw message