You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Patrick Li (JIRA)" <ji...@apache.org> on 2010/07/10 15:05:50 UTC

[jira] Created: (CMIS-227) OpenCMIS to be able to work in an OSGi based environment

OpenCMIS to be able to work in an OSGi based environment
--------------------------------------------------------

                 Key: CMIS-227
                 URL: https://issues.apache.org/jira/browse/CMIS-227
             Project: Chemistry
          Issue Type: Wish
          Components: opencmis-client-bindings
    Affects Versions: 0.2.0-incubating
            Reporter: Patrick Li


Hi,

I have recently built and tested out the trunk version of OpenCMIS.  I had a requirement to deploy this in an OSGi environment and got an error 

java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory

I digged around a bit and this problem seems to be caused by OSGi's class loading behaviour.

Regards

Patrick

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CMIS-227) OpenCMIS to be able to work in an OSGi based environment

Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891196#action_12891196 ] 

Florian Müller commented on CMIS-227:
-------------------------------------

Could you please provide more information?!
What have you tried to do? Can you provide a stack trace?


Thanks,

Florian

> OpenCMIS to be able to work in an OSGi based environment
> --------------------------------------------------------
>
>                 Key: CMIS-227
>                 URL: https://issues.apache.org/jira/browse/CMIS-227
>             Project: Chemistry
>          Issue Type: Wish
>          Components: opencmis-client-bindings
>    Affects Versions: 0.2.0-incubating
>            Reporter: Patrick Li
>
> Hi,
> I have recently built and tested out the trunk version of OpenCMIS.  I had a requirement to deploy this in an OSGi environment and got an error 
> java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory
> I digged around a bit and this problem seems to be caused by OSGi's class loading behaviour.
> Regards
> Patrick

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.