manifoldcf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurizio Pillitu <m...@apache.org>
Subject Re: Error with CMIS connector for Alfresco
Date Tue, 07 Apr 2015 23:37:19 GMT
Hi Timo,

could you also provide the version and edition (community/enterprise) of
Alfresco you're using? This way I can try to reproduce the issue.
Please also attach any customised properties in alfresco-global.properties
(no need to include db.* properties)

You can also try to reproduce the 500 issue by manually invoking

http://localhost:8080/solr/alfresco/cmis?wt=json&am
p;fl=DBID%2Cscore&amp;rows=1000000000&amp;df=TEXT&amp;start=
0&amp;locale=en_US&amp;fq=%7B%21afts%7DAUTHORITY_FILTER_
FROM_JSON&amp;fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON

This URL assumes you're running Solr on http://localhost:8080/solr (and
that you're running with index.subsystem.name=solr in your
alfresco-global.properties)

As Karl mentioned, search for alfresco.log and solr.log and attach relevant
info.

Thanks,
  mao

On Wed, Apr 8, 2015 at 12:43 AM, 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
>> ·        "GET /alfresco/cmisatom?repositoryId=xxxxxxxxxxxxxxxx HTTP/1.1"
>> 200
>> ·        "POST /alfresco/cmisatom/xxxxxxxxxxxxxxxxxx/query HTTP/1.1” 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=json&
>> amp;fl=DBID%2Cscore&amp;rows=1000000000&amp;df=TEXT&amp;
>> start=0&amp;locale=en_US&amp;fq=%7B%21afts%7DAUTHORITY_
>> FILTER_FROM_JSON&amp;fq=%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=json&amp;fl=DBID%2Cscore&amp;rows=1000000000&amp;df=TEXT&amp;start=0&amp;locale=en_US&amp;fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&amp;fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON
>>> org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException:
>>> 03073325596 Request failed 500
>>> /solr/alfresco/cmis?wt=json&amp;fl=DBID%2Cscore&amp;rows=1000000000&amp;df=TEXT&amp;start=0&amp;locale=en_US&amp;fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&amp;fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON
>>>         at
>>> org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:493)
>>>         at
>>> org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.post(AbstractAtomPubService.java:635)
>>>         at
>>> org.apache.chemistry.opencmis.client.bindings.spi.atompub.DiscoveryServiceImpl.query(DiscoveryServiceImpl.java:179)
>>>         at
>>> org.apache.chemistry.opencmis.client.runtime.SessionImpl$5.fetchPage(SessionImpl.java:872)
>>>         at
>>> org.apache.chemistry.opencmis.client.runtime.util.AbstractIterator.getCurrentPage(AbstractIterator.java:132)
>>>         at
>>> org.apache.chemistry.opencmis.client.runtime.util.CollectionPageIterator.hasNext(CollectionPageIterator.java:48)
>>>         at
>>> org.apache.manifoldcf.crawler.connectors.cmis.CmisRepositoryConnector.addSeedDocuments(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’t need any security/permissions
>>> for the documents that are indexed.
>>>
>>> Thanks.
>>>
>>
>>
>>
>

Mime
View raw message