You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Hasan Hasan (Jira)" <ji...@apache.org> on 2022/05/12 06:49:00 UTC

[jira] [Closed] (CLEREZZA-656) Correct handling of javax.mail and javax.activation in OSGI environnement

     [ https://issues.apache.org/jira/browse/CLEREZZA-656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hasan Hasan closed CLEREZZA-656.
--------------------------------
    Resolution: Fixed

> Correct handling of javax.mail and javax.activation in OSGI environnement
> -------------------------------------------------------------------------
>
>                 Key: CLEREZZA-656
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-656
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Florent ANDRE
>            Priority: Major
>              Labels: ext-javax-mail
>             Fix For: 0.2-incubating
>
>         Attachments: export-activation-for-datahandler.patch, ext-javax-mail-osgi.patch
>
>
> In OSGI environnement, mail sending [1] or parsing [2] don't work well.
> This problems are due to Classloader issue in javax.activation (that try to get resources in javax.mail with ClassLoader.getRessource ([3])
> [1] : http://thecarlhall.wordpress.com/2009/10/27/javamail-in-osgi/
> [2] : http://old.nabble.com/JavaMail-and-Felix-td32000484.html, http://nostacktrace.com/dev/2010/6/24/sending-multipart-mail-in-an-osgi-container.html
> [3] : http://kenai.com/projects/javamail/forums/forum/topics/13123-multipart-alternative#p27947



--
This message was sent by Atlassian Jira
(v8.20.7#820007)