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: Tue, 11 Nov 2008 12:56:44 -0800

Peter Williams wrote:
> Hi Lance,
>
> You encountered CR 6456395 which is patched in JAF 1.1.1 and in JDK 6U10
> (for JAF integrated into the JDK).

No, I don't think that's it.

The problem is that it's not finding the DataContentHandler that it should
find. Fixing the above bug (well, RFE really) might allow it to operate
reasonably without the DataContentHandler, but the core problem here is that
the DataContentHandler is not being found. The reason for that is almost
always because the mailcap file that configures the use of the
DataContentHandler can't be found.