dev@glassfish.java.net

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

From: Lance J. Andersen <Lance.Andersen_at_Sun.COM>
Date: Mon, 10 Nov 2008 19:38:38 -0500

I am using Java SE U7.

I have started the download of U10 and will give it a go and report back.

-lance

Peter Williams wrote:
> Which build of JDK 6 is this?
>
> Try JDK6u10 (release version, not anything prior) and tell me if it
> works. Alternatively, you can run Prelude on JDK 5 and see what
> happens then.
>
> I'm 99% certain that is one of the activation bugs that is fixed in
> 1.1.1 and also fixed in B25 of JDK 6u10 (but not prior distributions
> of JDK 6).
>
> Which means that V3 is giving priority to the JAF implementation in
> the JDK rather than the one included.
>
> -Peter
>
> Bill Shannon wrote:
>> 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.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>