geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "solprovider (JIRA)" <>
Subject [jira] Created: (GERONIMO-3243) ActiveMQ violates System Properties
Date Wed, 13 Jun 2007 17:36:26 GMT
ActiveMQ violates System Properties

                 Key: GERONIMO-3243
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: ActiveMQ
    Affects Versions: 2.0-M3, 1.2, 2.0-M4
            Reporter: solprovider

The latest Geronimo 1.2 and 2.0 use ActiveMQ.  (Would someone familiar with Geronimo development
please add all affected versions?)
ActiveMQ adds a HashMap as a global Property named "".
Properties must use Strings for keys and values per
This causes any code reading all the Properties and expecting Strings to error.

The error can be produced with Cocoon's SitemapVariableHolder for XMAP constants:
<myConstant>Hello World</myConstant>
"{global:myConstant}" errors

The permanent fix is 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:

David Jencks suggested that Geronimo can set the
property in a Geronimo SystemProperties gbean, there's one called ServerSystemProperties in

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message