Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 51254 invoked from network); 13 Jun 2007 17:36:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Jun 2007 17:36:53 -0000 Received: (qmail 31142 invoked by uid 500); 13 Jun 2007 17:36:54 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 30305 invoked by uid 500); 13 Jun 2007 17:36:51 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 30294 invoked by uid 99); 13 Jun 2007 17:36:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2007 10:36:51 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2007 10:36:47 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E906671413F for ; Wed, 13 Jun 2007 10:36:26 -0700 (PDT) Message-ID: <22303596.1181756186950.JavaMail.jira@brutus> Date: Wed, 13 Jun 2007 10:36:26 -0700 (PDT) From: "solprovider (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Created: (GERONIMO-3243) ActiveMQ violates System Properties MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org ActiveMQ violates System Properties ----------------------------------- Key: GERONIMO-3243 URL: https://issues.apache.org/jira/browse/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 "org.apache.activeio.journal.active.lockMap". Properties must use Strings for keys and values per http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html 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: Hello World "{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: SET GERONIMO_OPTS=-Dorg.apache.activeio.journal.active.DisableLocking=true %GERONIMO_OPTS% David Jencks suggested that Geronimo can set the org.apache.activeio.journal.active.DisableLocking property in a Geronimo SystemProperties gbean, there's one called ServerSystemProperties in j2ee-server. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.