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=23329>. 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=23329 resourceBundle property within XML configuration file does not work Summary: resourceBundle property within XML configuration file does not work Product: Log4j Version: 1.2 Platform: PC OS/Version: Windows XP Status: NEW Severity: Major Priority: Other Component: Configurator AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Attempting to initialize resource bundle property of root logger via XML configuration file. Configurator recognizes "resourceBundle" to be a valid property name but throws a WARN message saying "Failed to set property [resourceBundle]". Traced problem to setProperty() method of PropertySetter class. Call to convertArg() does not return a valid 'arg' (i.e. null) since there is no processing within convertArg() to convert the 'val' parameter (which is the name of the resource bundle) to an object of the specified type (which is a java.util.ResourceBundle) which results in a PropertySetterException being thrown. Only way to get resource bundles to work is to set them explicitly within source code via the setResourceBundle() method. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]