You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kenny Louveaux <k....@alinto.com> on 2004/02/12 15:12:51 UTC

Problem with mail.jar and activation.jar.

Hello,

I made a class to send a mail (only smtp) with jbuilder and it works
perfectly. Now, I put my class in my tomcat webapp and I can't get it work.
I have that message:
"Sending failed; nested exception is: class javax.mail.MessagingException:
IOException while sending message; nested exception is:
javax.activation.UnsupportedDataTypeException: no object DCH for MIME type
text/plain"

I put mail.jar and activation.jar in the 'common/lib' dir of Tomcat.
It seems that several peoples have the same problem, and the answers talk
about a problem in the mailcap file in the mail.jar. They say the mail.jar
must be loaded before the activation.jar because of that.
I don't know if it will correct my problem (I want to try because I'm
getting mad), but how can I know the order in wich Tomcat load the .jar
files, and thus choose myself?

If someone knows an other way to solve that, I'll be happy to know his
thoughts. :-)

Kenny Louveaux

PS: I use: j2sdk1.4.2_03, Tomcat 5.0.18, jaf-1_0_2, javamail-1_3_1




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org