Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F1FAB1906 for ; Tue, 26 Apr 2011 12:56:41 +0000 (UTC) Received: (qmail 51622 invoked by uid 500); 26 Apr 2011 12:56:41 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 51586 invoked by uid 500); 26 Apr 2011 12:56:41 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 51578 invoked by uid 99); 26 Apr 2011 12:56:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2011 12:56:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2011 12:56:40 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4F948B40E7 for ; Tue, 26 Apr 2011 12:56:03 +0000 (UTC) Date: Tue, 26 Apr 2011 12:56:03 +0000 (UTC) From: =?utf-8?Q?Florian_M=C3=BCller_=28JIRA=29?= To: dev@chemistry.apache.org Message-ID: <152629461.2320.1303822563322.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1563164478.2257.1303821063131.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CMIS-360) OpenCMIS Local Binding - Factory cannot be created MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-360?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D130252= 02#comment-13025202 ]=20 Florian M=C3=BCller commented on CMIS-360: ------------------------------------- The repository.properties file isn't read if the local binding is configure= d. Add all entries to the session parameters. > OpenCMIS Local Binding - Factory cannot be created > -------------------------------------------------- > > Key: CMIS-360 > URL: https://issues.apache.org/jira/browse/CMIS-360 > 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 repository.properties file to include "jcr.org.apac= he.jackrabbir.repository.home=3DD:/javaprograms/jackrabbit/repository". I h= ave compiled and referenced the opencmis-sever-jcr jar but l still get "Fac= tory cannot be created" from the cmisLocalSPI.jar. I have also set the para= meter "params.put(SessionParameter.LOCAL_FACTORY, 'org.apache.chemistry.ope= ncmis.jcr.JcrServiceFactory')". What am l not doing? > org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException:= Factory cannot be created! > =09at org.apache.chemistry.opencmis.client.bindings.spi.local.CmisLocalSp= i.getSpiInstance(CmisLocalSpi.java:96) > =09at org.apache.chemistry.opencmis.client.bindings.impl.CmisBindingsHelp= er.getSPI(CmisBindingsHelper.java:81) > =09at org.apache.chemistry.opencmis.client.bindings.impl.CmisBindingImpl.= clearAllCaches(CmisBindingImpl.java:172) > =09at org.apache.chemistry.opencmis.client.bindings.impl.CmisBindingImpl.= (CmisBindingImpl.java:95) > =09at org.apache.chemistry.opencmis.client.bindings.CmisBindingFactory.cr= eateCmisLocalBinding(CmisBindingFactory.java:154) > =09at org.apache.chemistry.opencmis.client.runtime.CmisBindingHelper.crea= teLocalBinding(CmisBindingHelper.java:96) > =09at org.apache.chemistry.opencmis.client.runtime.CmisBindingHelper.crea= teBinding(CmisBindingHelper.java:53) > =09at org.apache.chemistry.opencmis.client.runtime.SessionImpl.connect(Se= ssionImpl.java:573) > =09at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.cre= ateSession(SessionFactoryImpl.java:61) > =09at com.roecastle.dms.test.documentServiceTest.testjcrCreateFolder(docu= mentServiceTest.java:125) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira