Hi,

By searching the code, I found the reason is, the searchIndex for workspace
should be set to "org.nuxeo.ecm.core.repository.jcr.jackrabbit.SearchIndex"
instead of
"org.apache.jackrabbit.core.query.lucene.SearchIndex"

In default-repository-config.xml, it will be like:
 <SearchIndex
class="org.nuxeo.ecm.core.repository.jcr.jackrabbit.SearchIndex">
                <param name="path" value="${wsp.home}/index" />
  </SearchIndex>

And this seems not covered by the documents, it'd better be updated in case
other user meet this problem.

Thanks.

Weihua Ju

2010/11/15 ju jackie <[email protected]>

> Hi,
>
> By debug, I found nuxe is trying to search children for one node using
> statement like
> "SELECT * FROM Document WHERE ecm:parentId =
> '9af455e8-0966-4a57-99de-c5a6810ccdeb' AND ecm:isCheckedInVersion = 0 AND
> ecm:mixinType != 'HiddenInNavigation' AND ecm:currentLifeCycleState !=
> 'deleted' ORDER BY dc:title"
>
> But there is no attribute "ecm:parentId" under any node. (I exported the
> whole jcr repo)
>
> Did I miss some configuration for note type ?
>
> Thanks,
> WeiHua Ju
>
>
> 2010/11/11 ju jackie <[email protected]>
>
> Hi List,
>>
>> I am using nuxeo-mysql-jetty distribution and trying to configure nuxeo to
>> use jcr (jackrabbit).
>>
>> I followed the instruction at
>> http://doc.nuxeo.org/5.3/books/nuxeo-book/html/admin-database-configuration.html#d2452e8508.
>>  But didn't deploy the default-repository-ds.xml, because my app server
>> is jetty. And nuxeo works well before without default-repository-ds.xml
>>
>> Now the problem is, the front page only show "default domain" aft left,
>> and the "templates", "Sections", "workspaces" was gone. I can create
>> document successfully, but the document cannot be listed.
>> Please see attached screenshot.
>>
>> There is not any error in log.
>>
>> I also attache the log and all config file.
>>
>> Any kind help will be very appreciated !
>>
>> Weihua Ju
>>
>>
>>
>>
>>
>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to