DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11588>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11588 org.apache.avalon.excalibur.i18n.Resources Deploy/Undeploy Problem Summary: org.apache.avalon.excalibur.i18n.Resources Deploy/Undeploy Problem Product: Avalon Version: 4.0a4 Platform: Sun OS/Version: Solaris Status: NEW Severity: Major Priority: Other Component: Excalibur AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hi, you all know this: ------------------ import org.apache.avalon.excalibur.i18n.ResourceManager; import org.apache.avalon.excalibur.i18n.Resources; public static final Resources REZ = ResourceManager.getPackageResources(...); [..] String a = REZ.getString("..."); the problem: ------------ It's a very powerful feature, to have the possibility to deploy and/or undeploy applications. Unfortunately the property-file is not going to rebuild again from new sources. The old one remains in memory until whole avalon is started new. In my case, I dump the loaded keys and values into a log-file to check the content. Even after I change my properties-File and put it into my new sar-File and deployed it (after I undeployed it), there was still the old content there. After I restarted the whole avalon, using my same sar-File, the content was loaded correctly. Not nice ;-( Best Regards. Holger -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
