Return-Path: X-Original-To: apmail-manifoldcf-user-archive@www.apache.org Delivered-To: apmail-manifoldcf-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 78351176F0 for ; Tue, 7 Apr 2015 17:12:33 +0000 (UTC) Received: (qmail 73691 invoked by uid 500); 7 Apr 2015 17:12:33 -0000 Delivered-To: apmail-manifoldcf-user-archive@manifoldcf.apache.org Received: (qmail 73639 invoked by uid 500); 7 Apr 2015 17:12:33 -0000 Mailing-List: contact user-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@manifoldcf.apache.org Delivered-To: mailing list user@manifoldcf.apache.org Received: (qmail 73625 invoked by uid 99); 7 Apr 2015 17:12:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Apr 2015 17:12:33 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of daddywri@gmail.com designates 209.85.212.169 as permitted sender) Received: from [209.85.212.169] (HELO mail-wi0-f169.google.com) (209.85.212.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Apr 2015 17:12:06 +0000 Received: by wizk4 with SMTP id k4so25473564wiz.1 for ; Tue, 07 Apr 2015 10:09:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=1o6sbrJyOJReV1Z1gWMxy1G/Q9oRhisJlSc/icdlQm4=; b=uBTSiLsY752bAqqs3ZcSgl0ZZhzp4xlL83bdN9faEA4Kb49wulgvcLiUKhoZ9CHk8u +NdOR94sK7Yy+CX9dDbA0fUT3WPTivck/0XuBDUqA4FAhtHyTBbcF2kzwkaQqbHkfOwm ljlNkDg6CO2o4xqRnyk9YgQMTtpV70oKc1WK9fuvXgs44MbmKa8maAZO0P8S5qZ91nZ7 bj8DW4v2hNm2u0YmBS01SEfYLkDaYd2V2UDekpGyod6hIRmadf/iP7Ag3fdf9pJxrHGZ 4gjEXjU6q5O+afCRoMh+PN8eEARL+nx5N6xZFD87c0WyW3SXxU/GKHLlDHzaxUzCui4N IxQA== MIME-Version: 1.0 X-Received: by 10.180.23.106 with SMTP id l10mr6633006wif.54.1428426590587; Tue, 07 Apr 2015 10:09:50 -0700 (PDT) Received: by 10.27.33.78 with HTTP; Tue, 7 Apr 2015 10:09:50 -0700 (PDT) In-Reply-To: <2BADF5B3-FECF-44AF-AB11-964EE1EF6375@gmail.com> References: <2BADF5B3-FECF-44AF-AB11-964EE1EF6375@gmail.com> Date: Tue, 7 Apr 2015 13:09:50 -0400 Message-ID: Subject: Re: Error with CMIS connector for Alfresco From: Karl Wright To: "user@manifoldcf.apache.org" Content-Type: multipart/alternative; boundary=001a1130ceae85110e0513257b7d X-Virus-Checked: Checked by ClamAV on apache.org --001a1130ceae85110e0513257b7d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Timo, The key message is: >>>>>> org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: 03073325596 Request failed 500 /solr/alfresco/cmis?wt=3Djson& amp;fl=3DDBID%2Cscore&rows=3D1000000000&df=3DTEXT& start=3D0&locale=3Den_US&fq=3D%7B%21afts%7DAUTHORITY_ FILTER_FROM_JSON&fq=3D%7B%21afts%7DTENANT_FILTER_FROM_JSON <<<<<< The exception is occurring in the Chemistry client. The apparent reason for the exception is an HTTP 500 error. This would be the result of an exception occurring on the Alfresco side. Are there Alfresco logs you can look at? Karl On Tue, Apr 7, 2015 at 12:54 PM, Timo Selvaraj wrote: > Hi, > > We successfully connected to Alfresco using AtomPub through CMIS connecto= r > but when the job us setup it is throwing the following error. We are usi= ng > the SearchBlox output connector and the Tika transformer. Other repositor= y > connectors like web and file system work fine. We want to use the CMIS > connector instead of Alfresco Web script connector. > > FATAL 2015-04-07 11:21:24,379 (Startup thread) - Error tossed: 0307332559= 6 > Request failed 500 > /solr/alfresco/cmis?wt=3Djson&fl=3DDBID%2Cscore&rows=3D1000000000= &df=3DTEXT&start=3D0&locale=3Den_US&fq=3D%7B%21afts%7DAUTHO= RITY_FILTER_FROM_JSON&fq=3D%7B%21afts%7DTENANT_FILTER_FROM_JSON > org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: > 03073325596 Request failed 500 > /solr/alfresco/cmis?wt=3Djson&fl=3DDBID%2Cscore&rows=3D1000000000= &df=3DTEXT&start=3D0&locale=3Den_US&fq=3D%7B%21afts%7DAUTHO= RITY_FILTER_FROM_JSON&fq=3D%7B%21afts%7DTENANT_FILTER_FROM_JSON > at > org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPub= Service.convertStatusCode(AbstractAtomPubService.java:493) > at > org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPub= Service.post(AbstractAtomPubService.java:635) > at > org.apache.chemistry.opencmis.client.bindings.spi.atompub.DiscoveryServic= eImpl.query(DiscoveryServiceImpl.java:179) > at > org.apache.chemistry.opencmis.client.runtime.SessionImpl$5.fetchPage(Sess= ionImpl.java:872) > at > org.apache.chemistry.opencmis.client.runtime.util.AbstractIterator.getCur= rentPage(AbstractIterator.java:132) > at > org.apache.chemistry.opencmis.client.runtime.util.CollectionPageIterator.= hasNext(CollectionPageIterator.java:48) > at > org.apache.manifoldcf.crawler.connectors.cmis.CmisRepositoryConnector.add= SeedDocuments(CmisRepositoryConnector.java:684) > at > org.apache.manifoldcf.crawler.system.StartupThread.run(StartupThread.java= :154) > > Any configuration or setup we are missing here? Why does the path default > to a /solr/alfresco/cmis/? We don=E2=80=99t need any security/permissions= for the > documents that are indexed. > > Thanks. > --001a1130ceae85110e0513257b7d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Timo,

The key message is:
=
>>>>>>
org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: 03073325596 Request failed 500= /solr/alfresco/cmis?wt=3Djson&amp;fl=3DDBID%2Cscore&amp;rows=3D1000000000&amp;df=3DTEXT&amp;start=3D0&amp;locale=3Den_US&am= p;amp;fq=3D%7B%21afts%7= DAUTHORITY_FILTER_FROM_= JSON&amp;fq=3D%7B%2= 1afts%7DTENANT_FILTER_FROM_JSON
= <<<<<<

The exception is occurring in the Chemistry client.=C2=A0 The apparent = reason for the exception is an HTTP 500 error.=C2=A0 This would be the resu= lt of an exception occurring on the Alfresco side.=C2=A0 Are there Alfresco= logs you can look at?

Karl


= On Tue, Apr 7, 2015 at 12:54 PM, Timo Selvaraj <timo.selvaraj@gmail.= com> wrote:
Hi,

We successfully connected to Alfresco using AtomPub through CMIS connector = but when the job us setup it is throwing the following error.=C2=A0 We are = using the SearchBlox output connector and the Tika transformer. Other repos= itory connectors like web and file system work fine. We want to use the CMI= S connector instead of Alfresco Web script connector.

FATAL 2015-04-07 11:21:24,379 (Startup thread) - Error tossed: 03073325596 = Request failed 500 /solr/alfresco/cmis?wt=3Djson&amp;fl=3DDBID%2Cscore&= amp;amp;rows=3D1000000000&amp;df=3DTEXT&amp;start=3D0&amp;local= e=3Den_US&amp;fq=3D%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&amp;fq= =3D%7B%21afts%7DTENANT_FILTER_FROM_JSON
org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: 0307= 3325596 Request failed 500 /solr/alfresco/cmis?wt=3Djson&amp;fl=3DDBID%= 2Cscore&amp;rows=3D1000000000&amp;df=3DTEXT&amp;start=3D0&a= mp;locale=3Den_US&amp;fq=3D%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&= amp;fq=3D%7B%21afts%7DTENANT_FILTER_FROM_JSON
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.chemistry.opencmis.client.binding= s.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubServi= ce.java:493)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.chemistry.opencmis.client.binding= s.spi.atompub.AbstractAtomPubService.post(AbstractAtomPubService.java:635)<= br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.chemistry.opencmis.client.binding= s.spi.atompub.DiscoveryServiceImpl.query(DiscoveryServiceImpl.java:179)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.chemistry.opencmis.client.runtime= .SessionImpl$5.fetchPage(SessionImpl.java:872)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.chemistry.opencmis.client.runtime= .util.AbstractIterator.getCurrentPage(AbstractIterator.java:132)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.chemistry.opencmis.client.runtime= .util.CollectionPageIterator.hasNext(CollectionPageIterator.java:48)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.manifoldcf.crawler.connectors.cmi= s.CmisRepositoryConnector.addSeedDocuments(CmisRepositoryConnector.java:684= )
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.manifoldcf.crawler.system.Startup= Thread.run(StartupThread.java:154)

Any configuration or setup we are missing here? Why does the pa= th default to a /solr/alfresco/cmis/? We don=E2=80=99t need any security/pe= rmissions for the documents that are indexed.

Thanks.

--001a1130ceae85110e0513257b7d--