[ 
http://opencast.jira.com/browse/MH-8950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31995#comment-31995
 ] 

John King commented on MH-8950:
-------------------------------

I now have a fix for this issue, was working off a local to UC Berkeley JIRA, 
but will put the info here and assign it to myself.  I will also post an email 
to the dev list describing the fix and asking for feedback on how to proceed.

The basic principle of the fix is to build a bundle with both the javax.mail 
and javax.activation jars in the bundle  This fixes the ClassLoader caused 
exception due to JAF (javax.activation framework) in a separate bundle not 
being able to load mailcap files from the mail jar as, in an OSGI environment, 
the JAF classloader can't see the mailcap resources and thus can't load them.

I found the fix by posting to the Felix mailing list and getting the solution 
from Felix Meschberger.  Ironically and fortuitously, I found a combined bundle 
already built three years ago by Carl Hall for the Sakai OAE nakamura project, 
which I just came off of to work on Matterhorn.  Took a lot of googling to find 
it though.

Some references:
Carl Hall's blog
http://thecarlhall.wordpress.com/2009/10/27/javamail-in-osgi/

Discussion thread from the Sakai Nakamura Google Group
https://groups.google.com/forum/?fromgroups=#!topicsearchin/sakai-kernel/group:sakai-kernel$20AND$20subject:email$20AND$20Carl$20AND$20Hall/sakai-kernel/dG7kUdkP5Ec
                
> Youtube distribution service does not work anymore 
> ---------------------------------------------------
>
>                 Key: MH-8950
>                 URL: http://opencast.jira.com/browse/MH-8950
>             Project: Matterhorn Project
>          Issue Type: Bug
>          Components: Distribution
>    Affects Versions: 1.4
>            Reporter: Xavier Butty
>            Assignee: Xavier Butty
>             Fix For: 1.4
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
http://opencast.jira.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to