How can I solve AttachmentSupported and javax.mail.internet.MimeMultipart problems?

How can I enable or ensure that I install compoenets that will solve the following errors on Tomcat Apache web server. This is happening when I
want to deploy a web service on my tomcat apache web services.

Jun 1, 2010 8:41:06 PM org.apache.axis.utils.JavaUtils isAttachmentSupported
WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.

Jun 1, 2010 8:41:06 PM org.apache.catalina.startup.HostConfig deployWAR

How can I solve AttachmentSupported and javax.mail.internet.MimeMultipart problems on a web servers?

I’m fairly sure that the file is in the mail.jar. Most likely due to license restrictions you must download that file directly from the sun/oracle website.

Then place the mail.jar into your applications lib directory (usually WEB-INF/lib) and restart your server.

You also might need to download the activation.jar file as well. activation.jar is a dependency of mail.jar.