cancel
Showing results for 
Search instead for 
Did you mean: 

CMIS query always returns error 04294...

mr_t
Champ in-the-making
Champ in-the-making
Hi,

I have recently started working on Alfresco using CMIS connection from our application. I'm curretnly trying to get session.query() method work but even a simple query such as "SELECT * FROM cmis:document" is not working. I always ends up with an error/exception with a number starting with 0429412xx. The last  two digits of the error value increased on exvery error at least but I have no clue what the error is indicating at this point.
The session I created is working and I can get objects using such as getObject() or getObjectByPath().
The same process works on other repository such as SharePoint.
When I obtain the repository capablities information on Alfresco through the CMIS client API method, the query capablity indicates "bothcombined."
If anyone can shed a light on this issue, I truly appreciate it.

My current environment is as follows:
Alfresco v4.0.0 (800) schema 5025
Chemistry OpenCMIS Client v0.8.0

Thank you for your help in advance.
1 REPLY 1

mr_t
Champ in-the-making
Champ in-the-making
After spending sometimes on Alfresco configuration, I've noticed that the error value seems to be related to Solr search service. It has teh similar number in the section for "Index Lag (Seconds):" and the number was preceded by "Unavailable: ".
I also noticed that Solr was set as Search Service in the Search Manager, so I switched it to Lucene. Then the query started to work.
Since I'm new to Alfresco and the environment I'm using was already there, I'm not sure if all the configurations are done corresctly. As far as Solr goes, probably it's not configured appropriately, I guess.
But even though now I can use query, I'm still not sure about the error and what I should do to be able to use Solr. Besides acquiring more knowledge on it, can anyone still point out the cause of the error initially I had?
Thank you