Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 2793 invoked from network); 7 Jun 2007 17:55:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jun 2007 17:55:15 -0000 Received: (qmail 96197 invoked by uid 500); 7 Jun 2007 17:55:15 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 96161 invoked by uid 500); 7 Jun 2007 17:55:15 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 96150 invoked by uid 99); 7 Jun 2007 17:55:15 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jun 2007 10:55:15 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=NO_REAL_NAME,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of solprovider@gmail.com designates 64.233.162.234 as permitted sender) Received: from [64.233.162.234] (HELO nz-out-0506.google.com) (64.233.162.234) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jun 2007 10:55:09 -0700 Received: by nz-out-0506.google.com with SMTP id i11so522588nzh for ; Thu, 07 Jun 2007 10:54:49 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=f0hcDWzh3Io4MOZp+50HGOQxqyZWz+Hi6oUyskkbwm2U1RUIW9RJoQvNRSWOb+wjjQTDz7/98sltSJoK00RHPWIVPaKF/TTSCRBrWfeMucevEHRcc9FEUBOJ8hMWBN99vZoTJTvaRxlHmriUQHOlKexIPBuwFKURpETXCj8s6KU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=lHOel18DHLRGuSAn+9nEzn9XAHHQeylYG+TfnRd0iTcPQbANHTqSwJE/5WokQWxEGmJBKUBmOsktXsW2pi9+IsXPiqIu6jowvqXFZBLl6epo50fFCofU4OTfLjB9zf2Hd6w0o9lGsVyb2imSAPwniNde3YOEstH+MW1GIlNcy1c= Received: by 10.115.16.1 with SMTP id t1mr1697575wai.1181238888011; Thu, 07 Jun 2007 10:54:48 -0700 (PDT) Received: by 10.114.197.17 with HTTP; Thu, 7 Jun 2007 10:54:47 -0700 (PDT) Message-ID: Date: Thu, 7 Jun 2007 13:54:47 -0400 From: solprovider@apache.org Sender: solprovider@gmail.com To: user@geronimo.apache.org Subject: 1.2 Bug ClassCastException with Properties MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 1ca2bc950254d507 X-Virus-Checked: Checked by ClamAV on apache.org 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 "org.apache.activeio.journal.active.lockMap". 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: Hello World "{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: SET GERONIMO_OPTS=-Dorg.apache.activeio.journal.active.DisableLocking=true %GERONIMO_OPTS% solprovider