chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Okri (JIRA)" <>
Subject [jira] [Issue Comment Edited] (CMIS-360) OpenCMIS Local Binding - Factory cannot be created
Date Tue, 26 Apr 2011 13:16:03 GMT


Andrew Okri edited comment on CMIS-360 at 4/26/11 1:14 PM:

I also did add all entries to the session parameters.i.e. "params.put('','D:/javaprograms/jackrabbit/repository')"
and for binding type (set to LOCAL). I also set the username and password parameters. I am
reusing a test unit that has worked perfectly for basic CMIS integrations over Atompub and
Webservice. It just not working for local integration to JackRabbit.

      was (Author: aokri):
    I also did add all entries to the session parameters.i.e. "params.put('','D:/javaprograms/jackrabbit/repository')"
and for binding type (set to LOCAL).
> OpenCMIS Local Binding - Factory cannot be created
> --------------------------------------------------
>                 Key: CMIS-360
>                 URL:
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-server-jcr
>    Affects Versions: OpenCMIS 0.3.0
>         Environment: Windows7 jdk 1.6, Maven 3.0.3
>            Reporter: Andrew Okri
> I have configured the file to include "".
I have compiled and referenced the opencmis-sever-jcr jar but l still get "Factory cannot
be created" from the cmisLocalSPI.jar. I have also set the parameter "params.put(SessionParameter.LOCAL_FACTORY,
'org.apache.chemistry.opencmis.jcr.JcrServiceFactory')". What am l not doing?
> org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException: Factory cannot
be created!
> 	at org.apache.chemistry.opencmis.client.bindings.spi.local.CmisLocalSpi.getSpiInstance(
> 	at org.apache.chemistry.opencmis.client.bindings.impl.CmisBindingsHelper.getSPI(
> 	at org.apache.chemistry.opencmis.client.bindings.impl.CmisBindingImpl.clearAllCaches(
> 	at org.apache.chemistry.opencmis.client.bindings.impl.CmisBindingImpl.<init>(
> 	at org.apache.chemistry.opencmis.client.bindings.CmisBindingFactory.createCmisLocalBinding(
> 	at org.apache.chemistry.opencmis.client.runtime.CmisBindingHelper.createLocalBinding(
> 	at org.apache.chemistry.opencmis.client.runtime.CmisBindingHelper.createBinding(
> 	at org.apache.chemistry.opencmis.client.runtime.SessionImpl.connect(
> 	at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.createSession(
> 	at com.roecastle.dms.test.documentServiceTest.testjcrCreateFolder(

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message