dev@glassfish.java.net

Re: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain with JavaMail and Prelude

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Mon, 10 Nov 2008 16:07:12 -0800

Lance J. Andersen wrote:
> Has anyone seen the following exception using JavaMail and Prelude?
> This is from a JavaBean invoked from a JSP.
...
> INFO: javax.activation.UnsupportedDataTypeException: no object DCH for
> MIME type text/plain

Probably the JavaMail implementation in Prelude is broken and doesn't include
the mailcap file that provides the mapping from MIME type to DataContentHandler.