dev@glassfish.java.net

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

From: Peter Williams <Pete.Williams_at_Sun.COM>
Date: Tue, 11 Nov 2008 13:22:59 -0800

Bill Shannon wrote:
> 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.
Ah, I understand. I can see how fixing the above issue would sort of
sidestep a real issue with the mailcap file.
> The reason for that is almost
> always because the mailcap file that configures the use of the
> DataContentHandler can't be found.
I can attest that default javamail mailcap file is included with
javax.mail.jar for V3 Prelude FCS. This was covered by the packaging
problems I discovered and fixed in September.

So there may be a problem with the runtime actually locating the default
mailcap file. I'll look into it.

Thanks!

-Peter
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>