avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11588] New: - org.apache.avalon.excalibur.i18n.Resources Deploy/Undeploy Problem
Date Fri, 09 Aug 2002 11:43:19 GMT
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: avalon-dev@jakarta.apache.org
        ReportedBy: faltinsky@denic.de


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:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message