Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 18430 invoked from network); 2 Mar 2005 21:04:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Mar 2005 21:04:08 -0000 Received: (qmail 59772 invoked by uid 500); 2 Mar 2005 21:04:04 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 59724 invoked by uid 500); 2 Mar 2005 21:04:03 -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 59710 invoked by uid 99); 2 Mar 2005 21:04:03 -0000 X-ASF-Spam-Status: No, hits=1.7 required=10.0 tests=DNS_FROM_RFC_POST,FROM_HAS_ULINE_NUMS,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of delafran_j2ee@hotmail.com designates 65.54.233.187 as permitted sender) Received: from bay21-dav7.bay21.hotmail.com (HELO hotmail.com) (65.54.233.187) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 02 Mar 2005 13:04:02 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 2 Mar 2005 13:04:00 -0800 Message-ID: Received: from 130.214.17.20 by BAY21-DAV7.phx.gbl with DAV; Wed, 02 Mar 2005 21:03:33 +0000 X-Originating-IP: [130.214.17.20] X-Originating-Email: [delafran_j2ee@hotmail.com] X-Sender: delafran_j2ee@hotmail.com Message-ID: <42262A1B.707@hotmail.com> Date: Wed, 02 Mar 2005 16:03:23 -0500 From: Mark User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: Deployment EJB with Mail Resource References References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 02 Mar 2005 21:04:00.0120 (UTC) FILETIME=[5B276F80:01C51F6B] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N David, I've got the resource ref to work - thanks. However, I have a few observations: 1. During deployment resource references appear to be resolved by looking for a gbean with a matching "namePart" as the needed resource reference. 2. Instead of changing the j2ee-server-plan.xml , it would probably be better to have an example on the wiki of a plan with definitions for resource references and then the ejb's definition. This way a user can deploy a single plan 3. It appears that there are no transport implementations provided by Geronimo. Sending an SMTP messages does nothing. I believe the JavaMail Reference Implementation contains a reference transport implementation that would probably work with Geronimo. I assume that for certification Geronimo only requries the implementation of the JavaMail APIs and not the actual transports. Thanks Mark > David Jencks wrote: > >> It looks like despite all the work on mail lately no one remembered >> to put a mail gbean in the j2ee-server-plan.xml or anywhere else. >> >> Adding something like this to your app plan or j2ee-server-plan.xml >> should help: >> >> > class="org.apache.geronimo.mail.MailGBean"> >> >> mail.smtp.host=mail.apache.com >> >> >> >> thanks >> david jencks >> >> On Mar 1, 2005, at 11:39 AM, Mark wrote: >>