[
http://jira.nuxeo.org/browse/NXP-3012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48487#action_48487
]
Florent Guillaume commented on NXP-3012:
----------------------------------------
This is now merged.
The issue is kept open to document the full configuration changes. For starters:
There's now two configuration files that change depending on the repository:
- config/default-repository-config.xml contains the type of repository, and its
configuration options
- datasource/default-repository-ds.xml contains the Nuxeo datasource for the
repository
Note that the datasource is now needed for Jackrabbit as well. It used to be
present and hidden inside the nuxeo-core-jca JAR but now has to be explicitly
put in the global datasources so that we can disable it and another. An example
of this file for Jackrabbit is:
http://hg.nuxeo.org/nuxeo/nuxeo-core/file/1.5/nuxeo-core-jca/src/main/resources/default-repository-ds.disabled.xml
In the Jackrabbit configuration, in the Workspace section, you have to set:
<SearchIndex
class="org.nuxeo.ecm.core.repository.jcr.jackrabbit.SearchIndex">
<param name="path" value="${wsp.home}/index"/>
</SearchIndex>
Then to index blobs we'll have to set up index aggregates, see
http://wiki.apache.org/jackrabbit/IndexingConfiguration
(Doc to be added later).
Note that the file you have to change is
server/default/data/NXRuntime/repos/default/workspaces/default/workspace.xml
Then you'll have to rebuild the Jackrabbit indexes by removing
server/default/data/NXRuntime/repos/default/workspaces/default/index
and letting Jackrabbit rebuild them.
To get proper application startup, in JBoss, you have to update
server/default/conf/login-config.xml to remove the
<application-policy name = "other">
that's at the end, otherwise JBoss pretends it has JAAS config for every
application including Jackrabbit, but we don't want Jackrabbit to use JAAS.
> Migrate to Jackrabbit 1.5
> -------------------------
>
> Key: NXP-3012
> URL: http://jira.nuxeo.org/browse/NXP-3012
> Project: Nuxeo Enterprise Platform
> Issue Type: Task
> Components: JCRConnector
> Reporter: Florent Guillaume
> Assignee: Florent Guillaume
> Priority: Major
> Fix For: 5.2 M4
>
>
> To be able to use a recent Lucene version, and to get speed improvements, we
> need to upgrade to Jackrabbit 1.5.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets