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

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

This exception is thrown because the javax.activation(JAF) and 
javax.mail(JavaMail) libraries are in different bundles and, in an OSGI 
environment, the the JAF cannot load a static resource mailcap file from the 
JavaMail library because they are being handled in different classloaders.  The 
fix is to create a bundle that has both libraries in it.

See http://thecarlhall.wordpress.com/2009/10/27/javamail-in-osgi/.

Carl built a combined bundle for the Sakai OAE Nakamura project.  As we 
discussed on the dev list we could either:
1) Put a Sakai repository into our list of maven repositories in the 
base/pom.xml and load the bundle from there.
2) Take that bundle and install it in a Matterhorn maven repository 
3) Build our own bundle and thereby have it installed in our repositoy.

The attached patch takes option #1 for ease of access to the bundle.  
Since the consensus on list was to do option 2, after installing that in a 
localhost repository, it would be simple to install it in the Matterhorn 
repository after the first fetch by maven.  We could then remove the Sakai 
repository from our list of repositories,

As I was concerned about licensing issues, I exchanged emails with the Sakai 
OAE project manager, Anthony White.  See the email copy in the following 
comment.  He sees almost no licensing issue with any of the above approaches 
but does recommend that we build our own bundle as the cleanest solution.  As I 
am grievously behind on local work, I am not going to do this at this time.  

He does state that we might need to add "This product includes software 
developed by the Sakai Foundation (http://sakaiproject.org), licensed under the 
terms of the Apache Software License 2.0." to our licenses.txt if we don't 
build our own bundle.  Since there bundle is basically a copy of work that 
Felix folks had already done, there doesn't appear to be any prior art issues 
if we make our own copy.  But, again, I don't really have time to do that work 
now.




 
                
> 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: John King
>             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