chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CMIS-682) Using Chemistry OpenCMIS in ServiceMix 4.5
Date Fri, 28 Jun 2013 22:01:20 GMT

    [ https://issues.apache.org/jira/browse/CMIS-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13695848#comment-13695848
] 

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

I have seen that before. It's probably some sort of classloading issue.
Try removing stax-api-1.0-2.jar from your classpath.
                
> Using Chemistry OpenCMIS in ServiceMix 4.5
> ------------------------------------------
>
>                 Key: CMIS-682
>                 URL: https://issues.apache.org/jira/browse/CMIS-682
>             Project: Chemistry
>          Issue Type: Bug
>    Affects Versions: OpenCMIS 0.9.0
>         Environment: Linux, ServiceMix 4.5
>            Reporter: Jason Carter
>            Priority: Critical
>
> Sorry if my acronyms are incorrect, newbie...
> We are using chemistry-opencmis-client-impl in a Module used by a Camel Route Bean. 
It is built using Maven.  And we are seeing an error when we try and call getRepositories
when running under ServiceMix 4.5:
> Caused by: javax.xml.stream.FactoryConfigurationError: Provider com.bea.xml.stream.MXParserFactory
not found
> 	at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:72)[:2.2.0]
> 	at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:176)[:2.2.0]
> 	at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)[:2.2.0]
> 	at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)[:2.2.0]
> 	at org.apache.chemistry.opencmis.commons.impl.XMLUtils.<clinit>(XMLUtils.java:47)
> 	at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AtomPubParser.parse(AtomPubParser.java:96)
> 	at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.parse(AbstractAtomPubService.java:576)
> 	at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getRepositoriesInternal(AbstractAtomPubService.java:765)
> 	at org.apache.chemistry.opencmis.client.bindings.spi.atompub.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:62)
> 	at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:85)
> 	at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:109)
> 	at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:96)
> 	at com.avid.gam.assetsystem.CmisSessionHolder.initSession(CmisSessionHolder.java:103)
> 	at com.avid.gam.assetsystem.AlfrescoAssetSystem.createSession(AlfrescoAssetSystem.java:39)
> 	at com.avid.gam.assetsystem.AssetSystemFactory.getByKey(AssetSystemFactory.java:64)
> 	at com.avid.gam.assetsystem.AssetSystemFactory.getAssetSystem(AssetSystemFactory.java:24)
> 	at com.avid.gam.route.GamRouteBean.saveOrder(GamRouteBean.java:83)
> As far as I can tell we are including all required dependencies in the POM.

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

Mime
View raw message