Yes, using CMIS connector. Timo
> On Apr 8, 2015, at 5:37 AM, Rafa Haro <[email protected]> wrote: > > 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 > > <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 ([email protected] > <mailto:[email protected]>) 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 >> >> <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 >> >> <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 <[email protected] >> <mailto:[email protected]>> 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/ >> <http://localhost:8080/>solr/alfresco/cmis?wt=json&fl=DBID%2Cscore&rows=1000000000&df=TEXT&start=0&locale=en_US&fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON >> >> This URL assumes you're running Solr on http://localhost:8080/ >> <http://localhost:8080/>solr (and that you're running with >> index.subsystem.name <http://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 <[email protected] >> <mailto:[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&fl=DBID%2Cscore&rows=1000000000&df=TEXT&start=0&locale=en_US&fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&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&fl=DBID%2Cscore&rows=1000000000&df=TEXT&start=0&locale=en_US&fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON >>> org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: >>> 03073325596 Request failed 500 >>> /solr/alfresco/cmis?wt=json&fl=DBID%2Cscore&rows=1000000000&df=TEXT&start=0&locale=en_US&fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&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.
