Re: ClassCastException trying to show WOStats

2008-12-10 Thread Anjo Krank
Am 10.12.2008 um 22:14 schrieb Andrew Lindesay: "unfortunate", my *ss. Idiotic would be more like it? Why is this a HashMap of all things and not a Map? Also WOApplication.getFrameworkVersions() is HashMap and not Map Because JMX support for WO app was written by the same intern who "fixe

Re: ClassCastException trying to show WOStats

2008-12-10 Thread Andrew Lindesay
Well... that's me out of ideas to explain it. cheers. "unfortunate", my *ss. Idiotic would be more like it? Why is this a HashMap of all things and not a Map? ... Also WOApplication.getFrameworkVersions() is HashMap and not Map -- I think I have pointed this out. I wonder if the rationale

Re: ClassCastException trying to show WOStats

2008-12-10 Thread Chuck Hill
On Dec 10, 2008, at 1:14 PM, Andrew Lindesay wrote: Hello Anjo; "unfortunate", my *ss. Idiotic would be more like it? Why is this a HashMap of all things and not a Map? Also WOApplication.getFrameworkVersions() is HashMap and not Map -- I think I have pointed this out. I wonder if the r

Re: ClassCastException trying to show WOStats

2008-12-10 Thread Andrew Lindesay
Hello Anjo; "unfortunate", my *ss. Idiotic would be more like it? Why is this a HashMap of all things and not a Map? Also WOApplication.getFrameworkVersions() is HashMap and not Map -- I think I have pointed this out. I wonder if the rationale for this is so that JMX can access it? ses

Re: ClassCastException trying to show WOStats

2008-12-10 Thread Chuck Hill
On Dec 10, 2008, at 11:36 AM, Anjo Krank wrote: Am 10.12.2008 um 20:19 schrieb Chuck Hill: There were some (IMO) unfortunate and inconsistent API changes in 5.4.x: sessionsStats.setObjectForKey(getAverageSessionMemory(), "Avg. Memory Per Session"); public HashMap getAverageSessionMemo

Re: ClassCastException trying to show WOStats

2008-12-10 Thread Anjo Krank
Am 10.12.2008 um 20:19 schrieb Chuck Hill: There were some (IMO) unfortunate and inconsistent API changes in 5.4.x: sessionsStats.setObjectForKey(getAverageSessionMemory(), "Avg. Memory Per Session"); public HashMap getAverageSessionMemory() return avg.hashMap(); "unfortunate", my

Re: ClassCastException trying to show WOStats

2008-12-10 Thread Chuck Hill
There were some (IMO) unfortunate and inconsistent API changes in 5.4.x: sessionsStats.setObjectForKey(getAverageSessionMemory(), "Avg. Memory Per Session"); public HashMap getAverageSessionMemory() return avg.hashMap(); So the exception is correct, "Avg. Memory Per Session" _is_ a Ha

ClassCastException trying to show WOStats

2008-12-10 Thread Paul Hoadley
Hello, I'm using WO 5.4.3, and some Wonder frameworks, though this particular app does not extend ERXApplication. The following happens in development (OS X) and deployment (CentOS, JavaMonitor). I've got -WOStatisticsPassword set. When I hit wa/WOStats, I get this: Application.handleExc