Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 85002 invoked from network); 7 Dec 2006 09:48:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Dec 2006 09:48:32 -0000 Received: (qmail 95724 invoked by uid 500); 7 Dec 2006 09:48:37 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 95707 invoked by uid 500); 7 Dec 2006 09:48:37 -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 95696 invoked by uid 99); 7 Dec 2006 09:48:37 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Dec 2006 01:48:37 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of rickmcg@gmail.com designates 66.249.82.226 as permitted sender) Received: from [66.249.82.226] (HELO wx-out-0506.google.com) (66.249.82.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Dec 2006 01:48:25 -0800 Received: by wx-out-0506.google.com with SMTP id s18so441743wxc for ; Thu, 07 Dec 2006 01:48:04 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=cy8wPfN5YlSW+D7pzotaZn6n5wZ5wKCSB7Ku91OQJJDwatpdlgNmG67tvJvO0dspG/DUUKYkMAjcLWhCDlAm9wVmYQcyBVpROj+YpbxjzD2ZweFvLLc13cnwGFs2N4otuE5tkD0CsmQeE7ITg2xrc/7hsSGZnaaaRmqfhwS+hPE= Received: by 10.90.90.3 with SMTP id n3mr2064535agb.1165484884555; Thu, 07 Dec 2006 01:48:04 -0800 (PST) Received: from ?192.168.1.100? ( [68.191.49.248]) by mx.google.com with ESMTP id 32sm478833agc.2006.12.07.01.48.03; Thu, 07 Dec 2006 01:48:03 -0800 (PST) Message-ID: <4577E356.8050406@gmail.com> Date: Thu, 07 Dec 2006 04:48:06 -0500 From: Rick McGuire Reply-To: rickmcg@gmail.com User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: user@geronimo.apache.org Subject: Re: sending email in geronimo References: <9eafe0640612060157w5610e55av463dbbd7c1da5647@mail.gmail.com> In-Reply-To: <9eafe0640612060157w5610e55av463dbbd7c1da5647@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org You must be using Geronimo 1.0. The newer 1.1 version has a more fully implemented version of javamail 1.3.1 level. Upgrading to 1.1 should fix your problem unless you are dependent upon new features in the 1.4 version. Unfortunately, because the javamail api code is used by other server services such as axis, the Geronimo resident version gets picked up first in the classloading sequence over your WEB_INF/lib directory. I believe there might be some means to override that, but I've never done this myself, so I'm not sure how it would be done. One simple way to override this is to drop the Sun javamail 1.4 jars into the ext directory. Rick Melvin Dave Vivas wrote: > Hi, > > I have a problem with sending email using javamail 1.4 in Geronimo. > Here is the error I am getting. > > java.lang.UnsupportedOperationException: Method not yet implemented > at > javax.mail.internet.MimeMessage.addRecipients(MimeMessage.java:287) > > I suspect that there is a classloading problem with my jars. Any ideas > on what workaround I can implement? > > By the way, can we force the application to load classes first from > the web application's WEB-INF/lib directory? This is where I place my > javamail libraries. > > Thanks! > > Melvin >