Bugs item #640195, was opened at 2002-11-18 18:24 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=640195&group_id=22866
Category: JBossServer Group: v3.0 Rabbit Hole Status: Open Resolution: None Priority: 5 Submitted By: Marcin Gryszkalis (dagoon) Assigned to: Nobody/Anonymous (nobody) Summary: bug in optionDRefreshRate default Initial Comment: Bug in default setting of optionDRefreshRate in org.jboss.metadata.ConfigurationMetaData Specs says that default value for optionDRefreshRate is 30 seconds. In ConfigurationMetaData there's private long optionDRefreshRate = 30000; (vaue in miliseconds because it's used as parameter to Thread.sleep()) But it's read this way: String refresh = getElementContent(getOptionalChild(element, "optiond-refresh-rate"), Long.toString(optionDRefreshRate)); optionDRefreshRate = stringToRefreshRate(refresh); and in stringToRefreshRate there's convesrion from seconds to miliseconds (becasue jboss.xml value is expected to be in seconds). So, by default optionDRefreshRate is set to 30000*1000 It can be fixed in two ways: change declaration initialization to "optionDRefreshRate = 30" (which seems a bit inconsistent because the value is of ptionDRefreshRate is expected to be in miliseconds) or change reading to String refresh = etElementContent(getOptionalChild(element, "optiond-refresh-rate"), Long.toString(optionDRefreshRate/1000)); either should be commented. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=640195&group_id=22866 ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
