"Asleson, Ryan" <[EMAIL PROTECTED]> writes:

>------_=_NextPart_001_01C5B313.D15644AC
>Content-Type: text/plain;
>       charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable


>Hello,

>I just tried using Commons-Email RC5 on WebLogic 8.1. When
>using the Email.addTo method, I receive a NoSuchMethodError.

> It appears that the Email class is attempting to use
> InternetAddress.validate() , which is part of J2EE 1.4, not 1.3.
> Since I'm using WebLogic 8.1, which is only J2EE 1.3, it looks like
> I'm stuck.

> Is there any way around this?

Is it possible for you to deploy the javamail-1.3.x with your
application? The method call that you've mentioned is part of the 
1.2 -> 1.3 enhancements listed on
http://java.sun.com/products/javamail/JavaMail-1.3-changes.txt

I've used commons-email in its development stages (and before as part
of Turbine) on a number of JDKs in the 1.3-1.4.2 range and it worked
everywhere. I'd think that if you deploy the javamail jar together
with your application, this should work.

        Regards
                Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
[EMAIL PROTECTED]        +49 9131 50 654 0   http://www.intermeta.de/

RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
   Linux, Java, perl, Solaris -- Consulting, Training, Development

                      4 - 8 - 15 - 16 - 23 - 42

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to