It's a bug in the JDK. I reported this in May 2005 (bugtraq CR
6274920). It has been fixed
in JDK 7, but I don't think the fix has been backported to JDK 6, even
though I requested it.
Bobby Bissett - Javasoft wrote:
Hello,
When I make changes to the i18n properties file in my web app and
redeploy, the new text doesn't show up unless I restart the server. Am
seeing this in 9.1. Because the changes show up after a restart, I know
the right data is being deployed. But since it doesn't show up upon
deployment, it looks like the Logger object is still in memory even
after I've undeployed the app.
Can someone tell me if this is a bug or is by design? Maybe there's a
setting I'm forgetting. I've attached a small web app that shows this
behavior. Just deploy it and the index.jsp gets a message from a bean
that consists of a string in the bean and a string from a props file.
Change "A" to "B" in the bean and the props file and redeploy, and
you'll still see "A" from the resource bundle. Restart the server and
then you get two "B"s.
Thanks,
Bobby
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: dev-help@glassfish.dev.java.net
--
Open ESB Community (http://open-esb.org)
Check out my blog (http://blogs.sun.com/mwhite)