Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 31915 invoked from network); 2 Oct 2004 23:25:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Oct 2004 23:25:08 -0000 Received: (qmail 84369 invoked by uid 500); 2 Oct 2004 23:24:59 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 84326 invoked by uid 500); 2 Oct 2004 23:24:58 -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 Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 84313 invoked by uid 99); 2 Oct 2004 23:24:58 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [216.136.174.114] (HELO smtp017.mail.yahoo.com) (216.136.174.114) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 02 Oct 2004 16:24:58 -0700 Received: from unknown (HELO ?192.168.1.105?) (david?jencks@66.93.38.137 with plain) by smtp017.mail.yahoo.com with SMTP; 2 Oct 2004 23:24:56 -0000 Mime-Version: 1.0 (Apple Message framework v613) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <41D592F3-14CA-11D9-B7E9-000D93361CAA@gluecode.com> Content-Transfer-Encoding: 7bit From: David Jencks Subject: Re: J2CA ActivationSpec Data Types Date: Sat, 2 Oct 2004 16:24:50 -0700 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.613) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I wondered.... as far as I can tell the spec says nothing about the types for an ActivationSpec. Do you have any quotes from the connector list? Basically I think this is a good idea if it is spec compliant. It certainly makes the ActivationSpec more useful. I concluded that it probably wasn't spec compliant from reading the spec, but since I couldn't find a discussion I'd be very happy to be wrong. Apparently, looking at the list of allowed types, primitives are explicitly not allowed for ResourceAdapter or ManagedConnectionFactory config-properties, so I'd be a bit reluctant to allow them for ActivationSpecs without a clear statement from the spec committee. thanks david jencks On Oct 2, 2004, at 4:14 PM, Aaron Mulder wrote: > So part of my previous problem deploying a J2EE connector was that > my ActivationSpec class had a property of type Integer. There's no > setting in the DD for the data type, and Geronimo was blowing up during > deployment with a ClassCastException. I think this was recently > discussed > on the connector mailing list, with the implication that other data > types > should be supported. I'm thinking we should try to convert the String > to > the appropriate data type for the ActivationSpec property if it has a > constructor that takes a String (Integer, etc.) or perhaps if it's a > primitive. Any thoughts on this? > > Aaron >