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 <[email protected]> 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 <[email protected] 
> <mailto:[email protected]>> 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 <[email protected] 
>> <mailto:[email protected]>> 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 <[email protected] 
>> <mailto:[email protected]>> 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.
>> 
> 
> 

Reply via email to