manifoldcf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafa Haro <rh...@apache.org>
Subject Re: Error with CMIS connector for Alfresco
Date Wed, 08 Apr 2015 09:37:48 GMT
Hi Maurizio, 

I think he is not using any of the Alfresco connectors, he is directly trying with the generic
CMIS connector [1].

[1] - http://manifoldcf.apache.org/release/trunk/en_US/end-user-documentation.html#cmisrepository

Am I right Timo?

Cheers,
Rafa


En 8 de abril de 2015 en 11:35:20, Maurizio Pillitu (maoo@apache.org) escrito:

Hi again,

just a confirmation before proceeding with the investigation: which version of Manifold Alfresco
connector are you using?

There are 2 Alfresco ManifoldCF connectors:
The old one (based on CMIS + Alfresco Search subsystem), which is IMO what you're using right
now - http://manifoldcf.apache.org/release/trunk/en_US/how-to-build-and-deploy.html#Building+and+testing+the+legacy+Alfresco+connector
The new one (based on custom Webscripts that need to be installed in Alfresco) - http://manifoldcf.apache.org/release/trunk/en_US/how-to-build-and-deploy.html#Building+and+testing+the+Alfresco+Webscript+connector
Could you try using the new one?
Thanks,
  mao

On Wed, Apr 8, 2015 at 1:37 AM Maurizio Pillitu <maoo@apache.org> wrote:
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&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

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