geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject 1.2 Bug ClassCastException with Properties
Date Thu, 07 Jun 2007 17:54:47 GMT
I could not locate a definitive answer on Geronimo's website so could
somebody please post this information where people will see it.
People will be frustrated with Geronimo even though the problem was
not created by the Geronimo team.  The certification news will attract
attention, but people will go away and not come back if their favorite
applications error.

The latest Geronimo 1.2 and 2.0 use ActiveMQ.
ActiveMQ adds a HashMap as a global Property named
Global Properties must be Strings.
This causes any code reading all the Properties and expecting Strings to error.

I found the error with Cocoon's SitemapVariableHolder for XMAP constants:
<myConstant>Hello World</myConstant>
"{global:myConstant}" errors

The permanent fix if for Geronimo to update to a better version of
ActiveMQ, either downgrading to before the bug was programmed or wait
for the ActiveMQ team to follow the standards.  That is unlikely to be
tested and released quickly.

The quick fix  is to disable the offensive code.  For Geronimo 1.2 on
Windows, add this line at the beginning of STARTUP.BAT:


View raw message