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 146E617555 for ; Wed, 8 Apr 2015 10:08:20 +0000 (UTC) Received: (qmail 79360 invoked by uid 500); 8 Apr 2015 10:08:19 -0000 Delivered-To: apmail-manifoldcf-user-archive@manifoldcf.apache.org Received: (qmail 79309 invoked by uid 500); 8 Apr 2015 10:08:19 -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 79299 invoked by uid 99); 8 Apr 2015 10:08:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Apr 2015 10:08:19 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of timo.selvaraj@gmail.com designates 209.85.192.50 as permitted sender) Received: from [209.85.192.50] (HELO mail-qg0-f50.google.com) (209.85.192.50) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Apr 2015 10:08:13 +0000 Received: by qgeb100 with SMTP id b100so27838456qge.3 for ; Wed, 08 Apr 2015 03:06:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:message-id :references:to; bh=OAgAJt3FxfUlXCzNaBaMi8jnOpQkEPV97t1z3F08FiY=; b=ApKP2EgA+/X6vbl73E5L7yEvjeij4uu4uTUZljT+GU5ZIhJ0AsqgQB+dXClJeGD4zb zvIZHdOHttuY0KjgnF5/enJxgL+ICAyKHLj6E7E2at1CGniXX4PslAv5WByrbI2csbbQ tUa0hqpMusv7+C33aOn/h/+Q/oSNHXBgUmtHHc2CfypAj02O92Y8WX1OeHhICcPdr9CW JgC4qvEDp0Y4H75YB6yPsrEp9bpUrDpFOvBl6rj0pIaCzKTitOinjBCwLx3itUPF61uI dX8onpJAKY6kp8klsmshBrVXMkof4iimWa3OARrFqRLQ53bpy30yylWR80CRfhOiiCl/ qKTg== X-Received: by 10.140.94.211 with SMTP id g77mr27959982qge.2.1428487581998; Wed, 08 Apr 2015 03:06:21 -0700 (PDT) Received: from timos-mbp.home (pool-173-53-76-54.rcmdva.fios.verizon.net. [173.53.76.54]) by mx.google.com with ESMTPSA id 69sm7184717qkr.41.2015.04.08.03.06.21 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Apr 2015 03:06:21 -0700 (PDT) Content-Type: multipart/alternative; boundary="Apple-Mail=_548659DF-0832-42E3-AE16-CC8023C9EB7F" Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: Error with CMIS connector for Alfresco From: Timo Selvaraj In-Reply-To: Date: Wed, 8 Apr 2015 06:06:20 -0400 Message-Id: <78176F3A-DB94-48DD-A1EF-6123C2E764A7@gmail.com> References: <2BADF5B3-FECF-44AF-AB11-964EE1EF6375@gmail.com> To: user@manifoldcf.apache.org X-Mailer: Apple Mail (2.2070.6) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_548659DF-0832-42E3-AE16-CC8023C9EB7F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Karl, We looked at the exception log and turns out we had a CMIS query that = Alfresco did not like and threw a 500 error. Once we played around with = it, we got it working. Thank you very much for your quick assistance. Timo > On Apr 7, 2015, at 6:43 PM, Karl Wright wrote: >=20 > Hi Timo, >=20 > That's the access log. There is an Alfresco log too, and that has an = exception in it. >=20 > Thanks, > Karl >=20 >=20 > On Tue, Apr 7, 2015 at 6:36 PM, Timo Selvaraj > wrote: > Hi Karl, >=20 > We see the following entries on Alfresco but nothing more: >=20 > "GET /alfresco/cmisatom HTTP/1.1" 200 > =C2=B7 "GET /alfresco/cmisatom?repositoryId=3Dxxxxxxxxxxxxxxxx = HTTP/1.1" 200 > =C2=B7 "POST /alfresco/cmisatom/xxxxxxxxxxxxxxxxxx/query = HTTP/1.1=E2=80=9D 500 >=20 >=20 > The post seems to have ended with a 500 error. >=20 > We will research further on Alfresco side. >=20 > Thanks, > Timo >=20 >> On Apr 7, 2015, at 1:09 PM, Karl Wright > wrote: >>=20 >> Hi Timo, >>=20 >> The key message is: >>=20 >> >>>>>> >> = org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: = 03073325596 Request failed 500 = /solr/alfresco/cmis?wt=3Djson&fl=3DDBID%2Cscore&rows=3D1000000000&= amp;df=3DTEXT&start=3D0&locale=3Den_US&fq=3D%7B%21afts%7DAUTHO= RITY_FILTER_FROM_JSON&fq=3D%7B%21afts%7DTENANT_FILTER_FROM_JSON >> <<<<<< >>=20 >> 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? >>=20 >> Karl >>=20 >>=20 >> On Tue, Apr 7, 2015 at 12:54 PM, Timo Selvaraj = > wrote: >> Hi, >>=20 >> We successfully connected to Alfresco using AtomPub through CMIS = connector but when the job us setup it is throwing the following error. = We are using the SearchBlox output connector and the Tika transformer. = Other repository connectors like web and file system work fine. We want = to use the CMIS connector instead of Alfresco Web script connector. >>=20 >> FATAL 2015-04-07 11:21:24,379 (Startup thread) - Error tossed: = 03073325596 Request failed 500 = /solr/alfresco/cmis?wt=3Djson&fl=3DDBID%2Cscore&rows=3D1000000000&= amp;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&= amp;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.AbstractAtomPubS= ervice.convertStatusCode(AbstractAtomPubService.java:493) >> at = org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubS= ervice.post(AbstractAtomPubService.java:635) >> at = org.apache.chemistry.opencmis.client.bindings.spi.atompub.DiscoveryService= Impl.query(DiscoveryServiceImpl.java:179) >> at = org.apache.chemistry.opencmis.client.runtime.SessionImpl$5.fetchPage(Sessi= onImpl.java:872) >> at = org.apache.chemistry.opencmis.client.runtime.util.AbstractIterator.getCurr= entPage(AbstractIterator.java:132) >> at = org.apache.chemistry.opencmis.client.runtime.util.CollectionPageIterator.h= asNext(CollectionPageIterator.java:48) >> at = org.apache.manifoldcf.crawler.connectors.cmis.CmisRepositoryConnector.addS= eedDocuments(CmisRepositoryConnector.java:684) >> at = org.apache.manifoldcf.crawler.system.StartupThread.run(StartupThread.java:= 154) >>=20 >> 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. >>=20 >> Thanks. >>=20 >=20 >=20 --Apple-Mail=_548659DF-0832-42E3-AE16-CC8023C9EB7F Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Hi Karl,

We looked at the exception log and = turns out we had a CMIS query that Alfresco did not like and threw a 500 = error. Once we played around with it, we got it working.

Thank you very much for = your quick assistance.

Timo


On Apr 7, 2015, at 6:43 PM, Karl Wright = <daddywri@gmail.com> wrote:

Hi Timo,

That's the access log.  There is an Alfresco log too, = and that has an exception in it.

Thanks,
Karl


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

We see = the following entries on Alfresco but nothing more:

"GET /alfresco/cmisatom HTTP/1.1" 200
=C2=B7        <= span style=3D"font-size:9pt;font-family:'Courier New'" class=3D"">"GET = /alfresco/cmisatom?repositoryId=3Dxxxxxxxxxxxxxxxx HTTP/1.1" 200
=C2=B7        <= font face=3D"Courier New" class=3D"">"POST /alfresco/cmisatom/xxxxxxxxxxxxxxxxxx/query = HTTP/1.1=E2=80=9D 500


The post seems to have = ended with a 500 error.

We will research further on Alfresco side.

Thanks,
Timo
On Apr 7, 2015, at 1:09 PM, Karl Wright = <daddywri@gmail.com> wrote:

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&amp;fq=3D%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&amp;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 <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.  We are using the SearchBlox output connector and the Tika = transformer. Other repository 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: = 03073325596 Request failed 500 = /solr/alfresco/cmis?wt=3Djson&amp;fl=3DDBID%2Cscore&amp;rows=3D100= 0000000&amp;df=3DTEXT&amp;start=3D0&amp;locale=3Den_US&amp= ;fq=3D%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&amp;fq=3D%7B%21afts%7DTE= NANT_FILTER_FROM_JSON
org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: = 03073325596 Request failed 500 = /solr/alfresco/cmis?wt=3Djson&amp;fl=3DDBID%2Cscore&amp;rows=3D100= 0000000&amp;df=3DTEXT&amp;start=3D0&amp;locale=3Den_US&amp= ;fq=3D%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&amp;fq=3D%7B%21afts%7DTE= NANT_FILTER_FROM_JSON
        at = org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubS= ervice.convertStatusCode(AbstractAtomPubService.java:493)
        at = org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubS= ervice.post(AbstractAtomPubService.java:635)
        at = org.apache.chemistry.opencmis.client.bindings.spi.atompub.DiscoveryService= Impl.query(DiscoveryServiceImpl.java:179)
        at = org.apache.chemistry.opencmis.client.runtime.SessionImpl$5.fetchPage(Sessi= onImpl.java:872)
        at = org.apache.chemistry.opencmis.client.runtime.util.AbstractIterator.getCurr= entPage(AbstractIterator.java:132)
        at = org.apache.chemistry.opencmis.client.runtime.util.CollectionPageIterator.h= asNext(CollectionPageIterator.java:48)
        at = org.apache.manifoldcf.crawler.connectors.cmis.CmisRepositoryConnector.addS= eedDocuments(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.




= --Apple-Mail=_548659DF-0832-42E3-AE16-CC8023C9EB7F--