You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nikola Milutinovic <Ni...@ev.co.yu> on 2005/03/01 20:06:43 UTC
JavaMail API ?
Hi all.
I'm running Tomcat 5.5.7 on Windows XP and Sun JDK 1.5.0_01 I notice
that JavaMail API is missing from BOTH Tomcat and JRE. There is no
"javax.mail.*" hierarchy in ${JAVA_HOME}/lib/rt.jar
As a consequence, I cannot use Mail API ("javax.mail.*") without adding
javamail-1.3.2.jar to ${CATALINA_HOME}/common/lib.
What is the story on this? Is JRE 1.5.0 supposed to have or not to have
"javax.mail.*"?
Nix.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: JavaMail API ?
Posted by Nikola Milutinovic <Ni...@ev.co.yu>.
Frank W. Zammetti wrote:
> I wouldn't have expected to see them in Tomcat frankly... Although
> sending eMails from a webapp is relatively common, it's not common
> enough to be included with an app server (well, except for Websphere,
> which generally includes everything under the sun!)
>
> I am kind of surprised it hasn't been incorporated into JDK1.5 though,
> that would have been a reasonable expectation. Is it perhaps rolled
> into J2EE instead? I don't know. Same for JAF.
Most of you responded that JavaMail and JAF are a part of J2EE, while
Tomcat provides only a subset of J2EE. I agree with that.
The reason for my post was the fact that:
1. TC 4.1 has JavaMail support, just as TC 5.0 (at least in JPackage
version)
2. TC docs for all versions list a JavaMail over JNDI example
Rolling JavaMail support into TC 5.5.7 wasa breeze, but you should warn
people of this. Or I wasn't paying enough attention to docs (which could
also be the case).
Nix.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: JavaMail API ?
Posted by "Frank W. Zammetti" <fz...@omnytex.com>.
I wouldn't have expected to see them in Tomcat frankly... Although
sending eMails from a webapp is relatively common, it's not common
enough to be included with an app server (well, except for Websphere,
which generally includes everything under the sun!)
I am kind of surprised it hasn't been incorporated into JDK1.5 though,
that would have been a reasonable expectation. Is it perhaps rolled
into J2EE instead? I don't know. Same for JAF.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
David Smith wrote:
> No mistake that I know about. JAF and JavaMail are both separate
> downloads from Sun's site and have been all along. Licensing issues
> probably prevent them from being included in the Tomcat dist.
>
> --David
>
> Nikola Milutinovic wrote:
>
>> Nikola Milutinovic wrote:
>>
>>> Hi all.
>>>
>>> I'm running Tomcat 5.5.7 on Windows XP and Sun JDK 1.5.0_01 I notice
>>> that JavaMail API is missing from BOTH Tomcat and JRE. There is no
>>> "javax.mail.*" hierarchy in ${JAVA_HOME}/lib/rt.jar
>>
>>
>>
>>
>> It is also missing JAF (Java Activation Framework).
>>
>> I mean, no problem, I CAN get a hold of those JARs, but really, what's
>> the story? A simple mistake on Sun's or TC team's part?
>>
>> Nix.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>
> .
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: JavaMail API ?
Posted by David Smith <dn...@cornell.edu>.
No mistake that I know about. JAF and JavaMail are both separate
downloads from Sun's site and have been all along. Licensing issues
probably prevent them from being included in the Tomcat dist.
--David
Nikola Milutinovic wrote:
> Nikola Milutinovic wrote:
>
>> Hi all.
>>
>> I'm running Tomcat 5.5.7 on Windows XP and Sun JDK 1.5.0_01 I notice
>> that JavaMail API is missing from BOTH Tomcat and JRE. There is no
>> "javax.mail.*" hierarchy in ${JAVA_HOME}/lib/rt.jar
>
>
>
> It is also missing JAF (Java Activation Framework).
>
> I mean, no problem, I CAN get a hold of those JARs, but really, what's
> the story? A simple mistake on Sun's or TC team's part?
>
> Nix.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: JavaMail API ?
Posted by Nikola Milutinovic <Ni...@ev.co.yu>.
Nikola Milutinovic wrote:
> Hi all.
>
> I'm running Tomcat 5.5.7 on Windows XP and Sun JDK 1.5.0_01 I notice
> that JavaMail API is missing from BOTH Tomcat and JRE. There is no
> "javax.mail.*" hierarchy in ${JAVA_HOME}/lib/rt.jar
It is also missing JAF (Java Activation Framework).
I mean, no problem, I CAN get a hold of those JARs, but really, what's
the story? A simple mistake on Sun's or TC team's part?
Nix.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org