I've already set up multiple repositories with single Nuxeo instance and my question is how to switch between them? In my nuxeo.conf file I have:
nuxeo.templates=default,custom
but after login I am always redirected to the default one. I would like to have 2 repos working at the same time and also an option that enables me to choose one of them.
I've got no errors in logs. This is what I did yet:
I've created secondary-repository-config.xml with content like this:
note
relatedtext
webp:content
webc:welcomeText
comment:comment
post
mail:mail
dc:title
dc:description
org.postgresql.xa.PGXADataSource
localhost
5432
secondary
nuxeo
nuxeo
I've put this xml in NUXEO_HOME/templates/custom/nxserver/config
In nuxeo.conf I've set nuxeo.templates=default,custom
I've created proper datababase with PostgreSQL
I am working with Tomcat distribution (v 5.5). Both of my repos are PostgreSQL, each of them has its own database.