<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Not getting correct repository name in document URLs in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/not-getting-correct-repository-name-in-document-urls/m-p/326919#M13920</link>
    <description>&lt;P&gt;I tried to configure separate repositories for encrypted and non-encrypted documents. I managed to do save documents in respective repositories as well but the URL received by Nuxeo after creation show 'default' repository only.&lt;/P&gt;
&lt;P&gt;E.g. &lt;A href="http://localhost:9090/nuxeo/nxfile/default/5f23fb17-a5b7-4c21-a176-9c16f9c20871/file:content/TestNEnc.png?changeToken=0-0" target="test_blank"&gt;http://localhost:9090/nuxeo/nxfile/default/5f23fb17-a5b7-4c21-a176-9c16f9c20871/file:content/TestNEnc.png?changeToken=0-0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Here, in the above link I am still getting 'defalut' as repository name.&lt;/P&gt;
&lt;P&gt;Below the changes I did.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Added below line in Nuxeo.conf.&lt;/LI&gt;
&lt;/OL&gt;
&lt;PRE&gt;&lt;CODE&gt;nuxeo.db.xaMode=true
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;OL start="2"&gt;
&lt;LI&gt;Added custom datasource file called datasources-encrypted-config.xml for encrypted documents.&lt;/LI&gt;
&lt;/OL&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;component name="datasources-encrypted-config"&amp;gt;
  &amp;lt;extension target="org.nuxeo.runtime.datasource" point="datasources"&amp;gt;
    &amp;lt;datasource name="jdbc/repository_encrypted" driverClassName="org.postgresql.Driver"
      url="jdbc:postgresql://localhost:5432/sboot" username="sboot" password="sboot"
      maxPoolSize="100"
      minPoolSize="5"
      blockingTimeoutMillis="1000"
      idleTimeoutMinutes="5"
      activeTimeoutMinutes="0"
      sqlExceptionSorter="org.nuxeo.runtime.datasource.DatasourceExceptionSorter"
      validationQuery=""
      accessToUnderlyingConnectionAllowed="true" /&amp;gt;
    &amp;lt;link name="jdbc/NuxeoDS" global="jdbc/nuxeo" type="javax.sql.DataSource" /&amp;gt;
    &amp;lt;link name="jdbc/nxsqldirectory" global="jdbc/nuxeo" type="javax.sql.DataSource" /&amp;gt;
    &amp;lt;link name="jdbc/nxrelations-default-jena" global="jdbc/nuxeo" type="javax.sql.DataSource" /&amp;gt;
    &amp;lt;link name="jdbc/comment-relations" global="jdbc/nuxeo" type="javax.sql.DataSource" /&amp;gt;
    &amp;lt;link name="jdbc/nxaudit-logs" global="jdbc/nuxeo" type="javax.sql.DataSource" /&amp;gt;
    &amp;lt;link name="jdbc/nxjbpm" global="jdbc/nuxeo" type="javax.sql.DataSource" /&amp;gt;
    &amp;lt;link name="jdbc/placeful_service_ds" global="jdbc/nuxeo" type="javax.sql.DataSource" /&amp;gt;
    &amp;lt;link name="jdbc/nxwebwidgets" global="jdbc/nuxeo" type="javax.sql.DataSource" /&amp;gt;
    &amp;lt;link name="jdbc/nxuidsequencer" global="jdbc/nuxeo" type="javax.sql.DataSource" /&amp;gt;
    &amp;lt;link name="jdbc/keyvaluestore" global="jdbc/nuxeo" type="javax.sql.DataSource" /&amp;gt;
    &amp;lt;link name="jdbc/repository_default" global="jdbc/nuxeo" type="javax.sql.DataSource" /&amp;gt;
  &amp;lt;/extension&amp;gt;
&amp;lt;/component&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;OL start="3"&gt;
&lt;LI&gt;Added encrypted-repository-config.xml.nxftl&lt;/LI&gt;
&lt;/OL&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;#escape x as x?xml&amp;gt;
&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;component name="encrypted-repository-config"&amp;gt;
  &amp;lt;extension target="org.nuxeo.ecm.core.blob.BlobManager" point="configuration"&amp;gt;
    &amp;lt;blobprovider name="encrypted"&amp;gt;
      &amp;lt;class&amp;gt;org.nuxeo.ecm.core.blob.binary.AESBinaryManager&amp;lt;/class&amp;gt;
      &amp;lt;property name="path"&amp;gt;binaries-encrypted&amp;lt;/property&amp;gt;
    &amp;lt;/blobprovider&amp;gt;
  &amp;lt;/extension&amp;gt;

&amp;lt;#if "${nuxeo.mongodb.server}" == ""&amp;gt;

  &amp;lt;extension target="org.nuxeo.ecm.core.storage.sql.RepositoryService"
    point="repository"&amp;gt;
    &amp;lt;repository name="encrypted" label="label.encrypted.repository" factory="org.nuxeo.ecm.core.storage.sql.ra.PoolingRepositoryFactory"&amp;gt;
      &amp;lt;pool minPoolSize="${nuxeo.vcs["min-pool-size"]}" maxPoolSize="${nuxeo.vcs["max-pool-size"]}"
        blockingTimeoutMillis="${nuxeo.vcs["blocking-timeout-millis"]}"
        idleTimeoutMinutes="${nuxeo.vcs["idle-timeout-minutes"]}"
        activeTimeoutMinutes="${nuxeo.vcs["active-timeout-minutes"]}" /&amp;gt;
      &amp;lt;clustering id="${repository.clustering.id}" enabled="${repository.clustering.enabled}" delay="${repository.clustering.delay}" /&amp;gt;
      &amp;lt;clusterInvalidatorClass&amp;gt;org.nuxeo.ecm.core.storage.sql.VCSPubSubInvalidator&amp;lt;/clusterInvalidatorClass&amp;gt;
      &amp;lt;noDDL&amp;gt;${nuxeo.vcs.noddl}&amp;lt;/noDDL&amp;gt;
      &amp;lt;ddlMode&amp;gt;${nuxeo.vcs.ddlmode}&amp;lt;/ddlMode&amp;gt;
      &amp;lt;aclOptimizations enabled="${nuxeo.vcs.optimizations.acl.enabled}"/&amp;gt;
      &amp;lt;pathOptimizations enabled="${nuxeo.vcs.optimizations.path.enabled}"/&amp;gt;
      &amp;lt;idType&amp;gt;${nuxeo.vcs.idtype}&amp;lt;/idType&amp;gt;
      &amp;lt;changeTokenEnabled&amp;gt;${nuxeo.changetoken.enabled}&amp;lt;/changeTokenEnabled&amp;gt;
      &amp;lt;indexing&amp;gt;
&amp;lt;#if "${nuxeo.db.type}" == "postgresql"&amp;gt;
        &amp;lt;fulltext disabled="${nuxeo.vcs.fulltext.disabled}" searchDisabled="${nuxeo.vcs.fulltext.search.disabled}"
                  analyzer="${nuxeo.vcs.fulltext.analyzer.language}"&amp;gt;
          &amp;lt;index name="default"&amp;gt;
            &amp;lt;!-- all props implied --&amp;gt;
          &amp;lt;/index&amp;gt;
          &amp;lt;index name="title"&amp;gt;
            &amp;lt;field&amp;gt;dc:title&amp;lt;/field&amp;gt;
          &amp;lt;/index&amp;gt;
          &amp;lt;index name="description"&amp;gt;
            &amp;lt;field&amp;gt;dc:description&amp;lt;/field&amp;gt;
          &amp;lt;/index&amp;gt;
        &amp;lt;/fulltext&amp;gt;
&amp;lt;#elseif "${nuxeo.db.type}" == "oracle"&amp;gt;
        &amp;lt;fulltext disabled="${nuxeo.vcs.fulltext.disabled}" searchDisabled="${nuxeo.vcs.fulltext.search.disabled}"&amp;gt;
          &amp;lt;index name="default"&amp;gt;
            &amp;lt;!-- all props implied --&amp;gt;
          &amp;lt;/index&amp;gt;
          &amp;lt;index name="title"&amp;gt;
            &amp;lt;field&amp;gt;dc:title&amp;lt;/field&amp;gt;
          &amp;lt;/index&amp;gt;
          &amp;lt;index name="description"&amp;gt;
            &amp;lt;field&amp;gt;dc:description&amp;lt;/field&amp;gt;
          &amp;lt;/index&amp;gt;
        &amp;lt;/fulltext&amp;gt;
        &amp;lt;!--
          For Oracle (Oracle Text indexing parameters):
          &amp;lt;fulltext analyzer="LEXER MY_LEXER"/&amp;gt;
          See doc at:
          &lt;A href="http://jira.nuxeo.org/browse/NXP-4035" target="test_blank"&gt;http://jira.nuxeo.org/browse/NXP-4035&lt;/A&gt;
          &lt;A href="http://download.oracle.com/docs/cd/B19306_01/text.102/b14218/cdatadic.htm" target="test_blank"&gt;http://download.oracle.com/docs/cd/B19306_01/text.102/b14218/cdatadic.htm&lt;/A&gt;
        --&amp;gt;
&amp;lt;#elseif "${nuxeo.db.type}" == "mssql"&amp;gt;
        &amp;lt;fulltext disabled="${nuxeo.vcs.fulltext.disabled}" searchDisabled="${nuxeo.vcs.fulltext.search.disabled}"
                  analyzer="${nuxeo.vcs.fulltext.analyzer.language}"&amp;gt;
          &amp;lt;index name="default"&amp;gt;
            &amp;lt;!-- all props implied --&amp;gt;
          &amp;lt;/index&amp;gt;
          &amp;lt;!-- SQL Server does not support more than one fulltext index per
          table: to add support for multiple fulltext index would required to
          change the datamodel of VCS --&amp;gt;
       &amp;lt;/fulltext&amp;gt;
&amp;lt;#elseif "${nuxeo.db.type}" == "mysql"&amp;gt;
        &amp;lt;!-- For MySQL --&amp;gt;
        &amp;lt;fulltext disabled="${nuxeo.vcs.fulltext.disabled}" searchDisabled="${nuxeo.vcs.fulltext.search.disabled}"&amp;gt;
          &amp;lt;index name="default"&amp;gt;
            &amp;lt;!-- all props implied --&amp;gt;
          &amp;lt;/index&amp;gt;
          &amp;lt;index name="title"&amp;gt;
            &amp;lt;field&amp;gt;dc:title&amp;lt;/field&amp;gt;
          &amp;lt;/index&amp;gt;
          &amp;lt;index name="description"&amp;gt;
            &amp;lt;field&amp;gt;dc:description&amp;lt;/field&amp;gt;
          &amp;lt;/index&amp;gt;
        &amp;lt;/fulltext&amp;gt;
&amp;lt;#else&amp;gt;
        &amp;lt;!-- for H2 (Lucene Analyzer): --&amp;gt;
        &amp;lt;fulltext disabled="${nuxeo.vcs.fulltext.disabled}" searchDisabled="${nuxeo.vcs.fulltext.search.disabled}" analyzer="org.apache.lucene.analysis.standard.StandardAnalyzer"&amp;gt;
          &amp;lt;index name="default"&amp;gt;
            &amp;lt;!-- all props implied --&amp;gt;
          &amp;lt;/index&amp;gt;
          &amp;lt;index name="title"&amp;gt;
            &amp;lt;field&amp;gt;dc:title&amp;lt;/field&amp;gt;
          &amp;lt;/index&amp;gt;
          &amp;lt;index name="description"&amp;gt;
            &amp;lt;field&amp;gt;dc:description&amp;lt;/field&amp;gt;
          &amp;lt;/index&amp;gt;
        &amp;lt;/fulltext&amp;gt;
&amp;lt;/#if&amp;gt;
      &amp;lt;/indexing&amp;gt;
&amp;lt;#if "${nuxeo.db.type}" != "mysql"&amp;gt;
      &amp;lt;usersSeparator key="${nuxeo.db.user_separator_key}" /&amp;gt;
&amp;lt;/#if&amp;gt;
&amp;lt;#if "${nuxeo.db.type}" == "mysql"&amp;gt;
      &amp;lt;schema&amp;gt;
        &amp;lt;field type="largetext"&amp;gt;var_ParallelDocumentReview:review_result&amp;lt;/field&amp;gt;
      &amp;lt;/schema&amp;gt;
&amp;lt;/#if&amp;gt;
    &amp;lt;/repository&amp;gt;
  &amp;lt;/extension&amp;gt;

  &amp;lt;extension target="org.nuxeo.runtime.kv.KeyValueService" point="configuration"&amp;gt;
    &amp;lt;store name="default" class="org.nuxeo.ecm.core.storage.sql.kv.SQLKeyValueStore"&amp;gt;
      &amp;lt;property name="datasource"&amp;gt;jdbc/keyvaluestore&amp;lt;/property&amp;gt;
      &amp;lt;property name="table"&amp;gt;kv&amp;lt;/property&amp;gt;
    &amp;lt;/store&amp;gt;
  &amp;lt;/extension&amp;gt;

&amp;lt;#else&amp;gt;

  &amp;lt;require&amp;gt;org.nuxeo.runtime.mongodb.MongoDBComponent&amp;lt;/require&amp;gt;

  &amp;lt;extension target="org.nuxeo.ecm.core.storage.mongodb.MongoDBRepositoryService"
      point="repository"&amp;gt;
    &amp;lt;!-- it will lookup for "repository/default" connection --&amp;gt;
    &amp;lt;repository name="default" label="label.default.repository"&amp;gt;
      &amp;lt;fulltext disabled="${nuxeo.vcs.fulltext.disabled}" searchDisabled="${nuxeo.vcs.fulltext.search.disabled}" /&amp;gt;
      &amp;lt;cache enabled="${nuxeo.dbs.cache.enabled}" maxSize="${nuxeo.dbs.cache.maxSize}"
             concurrencyLevel="${nuxeo.dbs.cache.concurrencyLevel}" ttl="${nuxeo.dbs.cache.ttl}" /&amp;gt;
      &amp;lt;clustering id="${repository.clustering.id}" enabled="${repository.clustering.enabled}"&amp;gt;
        &amp;lt;invalidatorClass&amp;gt;org.nuxeo.ecm.core.storage.dbs.DBSPubSubInvalidator&amp;lt;/invalidatorClass&amp;gt;
      &amp;lt;/clustering&amp;gt;
      &amp;lt;changeTokenEnabled&amp;gt;${nuxeo.changetoken.enabled}&amp;lt;/changeTokenEnabled&amp;gt;
    &amp;lt;/repository&amp;gt;
  &amp;lt;/extension&amp;gt;

&amp;lt;/#if&amp;gt;

&amp;lt;/component&amp;gt;
&amp;lt;/#escape&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 05 May 2020 13:46:28 GMT</pubDate>
    <dc:creator>Ankush_Bandil</dc:creator>
    <dc:date>2020-05-05T13:46:28Z</dc:date>
    <item>
      <title>Not getting correct repository name in document URLs</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/not-getting-correct-repository-name-in-document-urls/m-p/326919#M13920</link>
      <description>&lt;P&gt;I tried to configure separate repositories for encrypted and non-encrypted documents. I managed to do save documents in respective repositories as well but the URL received by Nuxeo after creation show 'default' repository only.&lt;/P&gt;
&lt;P&gt;E.g. &lt;A href="http://localhost:9090/nuxeo/nxfile/default/5f23fb17-a5b7-4c21-a176-9c16f9c20871/file:content/TestNEnc.png?changeToken=0-0" target="test_blank"&gt;http://localhost:9090/nuxeo/nxfile/default/5f23fb17-a5b7-4c21-a176-9c16f9c20871/file:content/TestNEnc.png?changeToken=0-0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Here, in the above link I am still getting 'defalut' as repository name.&lt;/P&gt;
&lt;P&gt;Below the changes I did.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Added below line in Nuxeo.conf.&lt;/LI&gt;
&lt;/OL&gt;
&lt;PRE&gt;&lt;CODE&gt;nuxeo.db.xaMode=true
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;OL start="2"&gt;
&lt;LI&gt;Added custom datasource file called datasources-encrypted-config.xml for encrypted documents.&lt;/LI&gt;
&lt;/OL&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;component name="datasources-encrypted-config"&amp;gt;
  &amp;lt;extension target="org.nuxeo.runtime.datasource" point="datasources"&amp;gt;
    &amp;lt;datasource name="jdbc/repository_encrypted" driverClassName="org.postgresql.Driver"
      url="jdbc:postgresql://localhost:5432/sboot" username="sboot" password="sboot"
      maxPoolSize="100"
      minPoolSize="5"
      blockingTimeoutMillis="1000"
      idleTimeoutMinutes="5"
      activeTimeoutMinutes="0"
      sqlExceptionSorter="org.nuxeo.runtime.datasource.DatasourceExceptionSorter"
      validationQuery=""
      accessToUnderlyingConnectionAllowed="true" /&amp;gt;
    &amp;lt;link name="jdbc/NuxeoDS" global="jdbc/nuxeo" type="javax.sql.DataSource" /&amp;gt;
    &amp;lt;link name="jdbc/nxsqldirectory" global="jdbc/nuxeo" type="javax.sql.DataSource" /&amp;gt;
    &amp;lt;link name="jdbc/nxrelations-default-jena" global="jdbc/nuxeo" type="javax.sql.DataSource" /&amp;gt;
    &amp;lt;link name="jdbc/comment-relations" global="jdbc/nuxeo" type="javax.sql.DataSource" /&amp;gt;
    &amp;lt;link name="jdbc/nxaudit-logs" global="jdbc/nuxeo" type="javax.sql.DataSource" /&amp;gt;
    &amp;lt;link name="jdbc/nxjbpm" global="jdbc/nuxeo" type="javax.sql.DataSource" /&amp;gt;
    &amp;lt;link name="jdbc/placeful_service_ds" global="jdbc/nuxeo" type="javax.sql.DataSource" /&amp;gt;
    &amp;lt;link name="jdbc/nxwebwidgets" global="jdbc/nuxeo" type="javax.sql.DataSource" /&amp;gt;
    &amp;lt;link name="jdbc/nxuidsequencer" global="jdbc/nuxeo" type="javax.sql.DataSource" /&amp;gt;
    &amp;lt;link name="jdbc/keyvaluestore" global="jdbc/nuxeo" type="javax.sql.DataSource" /&amp;gt;
    &amp;lt;link name="jdbc/repository_default" global="jdbc/nuxeo" type="javax.sql.DataSource" /&amp;gt;
  &amp;lt;/extension&amp;gt;
&amp;lt;/component&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;OL start="3"&gt;
&lt;LI&gt;Added encrypted-repository-config.xml.nxftl&lt;/LI&gt;
&lt;/OL&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;#escape x as x?xml&amp;gt;
&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;component name="encrypted-repository-config"&amp;gt;
  &amp;lt;extension target="org.nuxeo.ecm.core.blob.BlobManager" point="configuration"&amp;gt;
    &amp;lt;blobprovider name="encrypted"&amp;gt;
      &amp;lt;class&amp;gt;org.nuxeo.ecm.core.blob.binary.AESBinaryManager&amp;lt;/class&amp;gt;
      &amp;lt;property name="path"&amp;gt;binaries-encrypted&amp;lt;/property&amp;gt;
    &amp;lt;/blobprovider&amp;gt;
  &amp;lt;/extension&amp;gt;

&amp;lt;#if "${nuxeo.mongodb.server}" == ""&amp;gt;

  &amp;lt;extension target="org.nuxeo.ecm.core.storage.sql.RepositoryService"
    point="repository"&amp;gt;
    &amp;lt;repository name="encrypted" label="label.encrypted.repository" factory="org.nuxeo.ecm.core.storage.sql.ra.PoolingRepositoryFactory"&amp;gt;
      &amp;lt;pool minPoolSize="${nuxeo.vcs["min-pool-size"]}" maxPoolSize="${nuxeo.vcs["max-pool-size"]}"
        blockingTimeoutMillis="${nuxeo.vcs["blocking-timeout-millis"]}"
        idleTimeoutMinutes="${nuxeo.vcs["idle-timeout-minutes"]}"
        activeTimeoutMinutes="${nuxeo.vcs["active-timeout-minutes"]}" /&amp;gt;
      &amp;lt;clustering id="${repository.clustering.id}" enabled="${repository.clustering.enabled}" delay="${repository.clustering.delay}" /&amp;gt;
      &amp;lt;clusterInvalidatorClass&amp;gt;org.nuxeo.ecm.core.storage.sql.VCSPubSubInvalidator&amp;lt;/clusterInvalidatorClass&amp;gt;
      &amp;lt;noDDL&amp;gt;${nuxeo.vcs.noddl}&amp;lt;/noDDL&amp;gt;
      &amp;lt;ddlMode&amp;gt;${nuxeo.vcs.ddlmode}&amp;lt;/ddlMode&amp;gt;
      &amp;lt;aclOptimizations enabled="${nuxeo.vcs.optimizations.acl.enabled}"/&amp;gt;
      &amp;lt;pathOptimizations enabled="${nuxeo.vcs.optimizations.path.enabled}"/&amp;gt;
      &amp;lt;idType&amp;gt;${nuxeo.vcs.idtype}&amp;lt;/idType&amp;gt;
      &amp;lt;changeTokenEnabled&amp;gt;${nuxeo.changetoken.enabled}&amp;lt;/changeTokenEnabled&amp;gt;
      &amp;lt;indexing&amp;gt;
&amp;lt;#if "${nuxeo.db.type}" == "postgresql"&amp;gt;
        &amp;lt;fulltext disabled="${nuxeo.vcs.fulltext.disabled}" searchDisabled="${nuxeo.vcs.fulltext.search.disabled}"
                  analyzer="${nuxeo.vcs.fulltext.analyzer.language}"&amp;gt;
          &amp;lt;index name="default"&amp;gt;
            &amp;lt;!-- all props implied --&amp;gt;
          &amp;lt;/index&amp;gt;
          &amp;lt;index name="title"&amp;gt;
            &amp;lt;field&amp;gt;dc:title&amp;lt;/field&amp;gt;
          &amp;lt;/index&amp;gt;
          &amp;lt;index name="description"&amp;gt;
            &amp;lt;field&amp;gt;dc:description&amp;lt;/field&amp;gt;
          &amp;lt;/index&amp;gt;
        &amp;lt;/fulltext&amp;gt;
&amp;lt;#elseif "${nuxeo.db.type}" == "oracle"&amp;gt;
        &amp;lt;fulltext disabled="${nuxeo.vcs.fulltext.disabled}" searchDisabled="${nuxeo.vcs.fulltext.search.disabled}"&amp;gt;
          &amp;lt;index name="default"&amp;gt;
            &amp;lt;!-- all props implied --&amp;gt;
          &amp;lt;/index&amp;gt;
          &amp;lt;index name="title"&amp;gt;
            &amp;lt;field&amp;gt;dc:title&amp;lt;/field&amp;gt;
          &amp;lt;/index&amp;gt;
          &amp;lt;index name="description"&amp;gt;
            &amp;lt;field&amp;gt;dc:description&amp;lt;/field&amp;gt;
          &amp;lt;/index&amp;gt;
        &amp;lt;/fulltext&amp;gt;
        &amp;lt;!--
          For Oracle (Oracle Text indexing parameters):
          &amp;lt;fulltext analyzer="LEXER MY_LEXER"/&amp;gt;
          See doc at:
          &lt;A href="http://jira.nuxeo.org/browse/NXP-4035" target="test_blank"&gt;http://jira.nuxeo.org/browse/NXP-4035&lt;/A&gt;
          &lt;A href="http://download.oracle.com/docs/cd/B19306_01/text.102/b14218/cdatadic.htm" target="test_blank"&gt;http://download.oracle.com/docs/cd/B19306_01/text.102/b14218/cdatadic.htm&lt;/A&gt;
        --&amp;gt;
&amp;lt;#elseif "${nuxeo.db.type}" == "mssql"&amp;gt;
        &amp;lt;fulltext disabled="${nuxeo.vcs.fulltext.disabled}" searchDisabled="${nuxeo.vcs.fulltext.search.disabled}"
                  analyzer="${nuxeo.vcs.fulltext.analyzer.language}"&amp;gt;
          &amp;lt;index name="default"&amp;gt;
            &amp;lt;!-- all props implied --&amp;gt;
          &amp;lt;/index&amp;gt;
          &amp;lt;!-- SQL Server does not support more than one fulltext index per
          table: to add support for multiple fulltext index would required to
          change the datamodel of VCS --&amp;gt;
       &amp;lt;/fulltext&amp;gt;
&amp;lt;#elseif "${nuxeo.db.type}" == "mysql"&amp;gt;
        &amp;lt;!-- For MySQL --&amp;gt;
        &amp;lt;fulltext disabled="${nuxeo.vcs.fulltext.disabled}" searchDisabled="${nuxeo.vcs.fulltext.search.disabled}"&amp;gt;
          &amp;lt;index name="default"&amp;gt;
            &amp;lt;!-- all props implied --&amp;gt;
          &amp;lt;/index&amp;gt;
          &amp;lt;index name="title"&amp;gt;
            &amp;lt;field&amp;gt;dc:title&amp;lt;/field&amp;gt;
          &amp;lt;/index&amp;gt;
          &amp;lt;index name="description"&amp;gt;
            &amp;lt;field&amp;gt;dc:description&amp;lt;/field&amp;gt;
          &amp;lt;/index&amp;gt;
        &amp;lt;/fulltext&amp;gt;
&amp;lt;#else&amp;gt;
        &amp;lt;!-- for H2 (Lucene Analyzer): --&amp;gt;
        &amp;lt;fulltext disabled="${nuxeo.vcs.fulltext.disabled}" searchDisabled="${nuxeo.vcs.fulltext.search.disabled}" analyzer="org.apache.lucene.analysis.standard.StandardAnalyzer"&amp;gt;
          &amp;lt;index name="default"&amp;gt;
            &amp;lt;!-- all props implied --&amp;gt;
          &amp;lt;/index&amp;gt;
          &amp;lt;index name="title"&amp;gt;
            &amp;lt;field&amp;gt;dc:title&amp;lt;/field&amp;gt;
          &amp;lt;/index&amp;gt;
          &amp;lt;index name="description"&amp;gt;
            &amp;lt;field&amp;gt;dc:description&amp;lt;/field&amp;gt;
          &amp;lt;/index&amp;gt;
        &amp;lt;/fulltext&amp;gt;
&amp;lt;/#if&amp;gt;
      &amp;lt;/indexing&amp;gt;
&amp;lt;#if "${nuxeo.db.type}" != "mysql"&amp;gt;
      &amp;lt;usersSeparator key="${nuxeo.db.user_separator_key}" /&amp;gt;
&amp;lt;/#if&amp;gt;
&amp;lt;#if "${nuxeo.db.type}" == "mysql"&amp;gt;
      &amp;lt;schema&amp;gt;
        &amp;lt;field type="largetext"&amp;gt;var_ParallelDocumentReview:review_result&amp;lt;/field&amp;gt;
      &amp;lt;/schema&amp;gt;
&amp;lt;/#if&amp;gt;
    &amp;lt;/repository&amp;gt;
  &amp;lt;/extension&amp;gt;

  &amp;lt;extension target="org.nuxeo.runtime.kv.KeyValueService" point="configuration"&amp;gt;
    &amp;lt;store name="default" class="org.nuxeo.ecm.core.storage.sql.kv.SQLKeyValueStore"&amp;gt;
      &amp;lt;property name="datasource"&amp;gt;jdbc/keyvaluestore&amp;lt;/property&amp;gt;
      &amp;lt;property name="table"&amp;gt;kv&amp;lt;/property&amp;gt;
    &amp;lt;/store&amp;gt;
  &amp;lt;/extension&amp;gt;

&amp;lt;#else&amp;gt;

  &amp;lt;require&amp;gt;org.nuxeo.runtime.mongodb.MongoDBComponent&amp;lt;/require&amp;gt;

  &amp;lt;extension target="org.nuxeo.ecm.core.storage.mongodb.MongoDBRepositoryService"
      point="repository"&amp;gt;
    &amp;lt;!-- it will lookup for "repository/default" connection --&amp;gt;
    &amp;lt;repository name="default" label="label.default.repository"&amp;gt;
      &amp;lt;fulltext disabled="${nuxeo.vcs.fulltext.disabled}" searchDisabled="${nuxeo.vcs.fulltext.search.disabled}" /&amp;gt;
      &amp;lt;cache enabled="${nuxeo.dbs.cache.enabled}" maxSize="${nuxeo.dbs.cache.maxSize}"
             concurrencyLevel="${nuxeo.dbs.cache.concurrencyLevel}" ttl="${nuxeo.dbs.cache.ttl}" /&amp;gt;
      &amp;lt;clustering id="${repository.clustering.id}" enabled="${repository.clustering.enabled}"&amp;gt;
        &amp;lt;invalidatorClass&amp;gt;org.nuxeo.ecm.core.storage.dbs.DBSPubSubInvalidator&amp;lt;/invalidatorClass&amp;gt;
      &amp;lt;/clustering&amp;gt;
      &amp;lt;changeTokenEnabled&amp;gt;${nuxeo.changetoken.enabled}&amp;lt;/changeTokenEnabled&amp;gt;
    &amp;lt;/repository&amp;gt;
  &amp;lt;/extension&amp;gt;

&amp;lt;/#if&amp;gt;

&amp;lt;/component&amp;gt;
&amp;lt;/#escape&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 05 May 2020 13:46:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/not-getting-correct-repository-name-in-document-urls/m-p/326919#M13920</guid>
      <dc:creator>Ankush_Bandil</dc:creator>
      <dc:date>2020-05-05T13:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting correct repository name in document URLs</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/not-getting-correct-repository-name-in-document-urls/m-p/326920#M13921</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I think you missed one step. You have to deactivate the default single-datasource mode in &lt;CODE&gt;nuxeo.conf&lt;/CODE&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;nuxeo.db.singleDataSource=
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Info: &lt;A href="https://doc.nuxeo.com/nxdoc/multiple-repositories-configuration/"&gt;https://doc.nuxeo.com/nxdoc/multiple-repositories-configuration/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 11:12:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/not-getting-correct-repository-name-in-document-urls/m-p/326920#M13921</guid>
      <dc:creator>Rodri_</dc:creator>
      <dc:date>2020-05-14T11:12:24Z</dc:date>
    </item>
  </channel>
</rss>

