Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
0.1.0-incubating
-
None
-
Java(TM) SE Runtime Environment(build 1.6.0_18-b07)
Apache Felix Day CQ 5.3 distribution
Apache Felix System Framework 2.0.2
Description
When running within the Apache Felix environment sessionFactory.createSession(parameter) fails. Same code runs fine in plan Java VM with the provided jaxb and stax libraries.
Probably an issue in my OSGI environment setup, is there a guide about which bundles to include when using OSGi environments?
INFO* [pool-5-thread-32] org.apache.chemistry.opencmis.client.runtime.PersistentSessionImpl Session Parameters:
{org.apache.chemistry.opencmis.locale.iso3166=, org.apache.chemistry.opencmis.binding.spi.type=atompub, org.apache.chemistry.opencmis.locale.variant=US, org.apache.chemistry.opencmis.user=admin, org.apache.chemistry.opencmis.locale.iso639=en, org.apache.chemistry.opencmis.binding.atompub.url=http://16.23.86.138:7402/cmis/repository, org.apache.chemistry.opencmis.session.repository.id=CRX, org.apache.chemistry.opencmis.password=admin}INFO [pool-5-thread-32] org.apache.chemistry.opencmis.client.runtime.PersistentSessionImpl Session Locale: en__US
INFO [pool-5-thread-32] org.apache.chemistry.opencmis.client.runtime.PersistentSessionImpl Session Cache Size: 1000
ERROR [pool-5-thread-32] java.lang.Class The server url http://16.23.86.138:7402/cmis/repository is unreachable. org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException: Parsing exception!
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.parse(AbstractAtomPubService.java:460)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getRepositoriesInternal(AbstractAtomPubService.java:636)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.RepositoryServiceImpl.getRepositoryInfo(RepositoryServiceImpl.java:79)
at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getRepositoryInfo(RepositoryServiceImpl.java:69)
at org.apache.chemistry.opencmis.client.runtime.PersistentSessionImpl.connect(PersistentSessionImpl.java:525)
at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.createSession(SessionFactoryImpl.java:86)
at com.hp.extream.document.cmis.CMISRepositoryImpl.getRepository(CMISRepositoryImpl.java:127)
at com.hp.extream.document.cmis.CMISRepositoryImpl.getRepository(CMISRepositoryImpl.java:151)
at com.hp.dls.workflow.activity.gaic.CMISArchiveStep.execute(CMISArchiveStep.java:267)
at com.day.cq.workflow.impl.job.HandlerBase.executeProcess(HandlerBase.java:184)
at com.day.cq.workflow.impl.job.JobHandler.process(JobHandler.java:131)
at org.apache.sling.event.EventUtil$1.run(EventUtil.java:368)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at org.apache.chemistry.opencmis.commons.impl.JaxBHelper.createUnmarshaller(JaxBHelper.java:91)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AtomPubParser.unmarshalElement(AtomPubParser.java:347)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AtomPubParser.parseWorkspaceElement(AtomPubParser.java:399)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AtomPubParser.parseWorkspace(AtomPubParser.java:172)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AtomPubParser.parseServiceDoc(AtomPubParser.java:142)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AtomPubParser.parse(AtomPubParser.java:106)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.parse(AbstractAtomPubService.java:458)
... 14 more