[
https://issues.apache.org/jira/browse/CLEREZZA-656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169499#comment-13169499
]
Reto Bachmann-Gmür commented on CLEREZZA-656:
---------------------------------------------
I agree, but it might be better to remove havax.actiovation from the packages
exported by default from the system bundle. Both Stanbol and Sling don't export
activation. It seems good practice to be restrictive in what the system bundle
exports and to add needed system ressources via extension bundles.
> 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
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira