Hi David,

Based on your resource element's name attribute, I'd say your author instance 
is using the magnoliaauthor scheme. You should be able to take a look at the 
magnolia.properties file used by your author instance to see which jackrabbit 
repo conf file is being used. 

Here's some links that you may also find helpful:

http://wiki.magnolia-cms.com/label/backup

http://documentation.magnolia-cms.com/administration/deployment/war-file-with-multiple-configurations.html

HTH,
Matt


On Feb 3, 2012, at 8:05 PM, "Magnolia Forums (on behalf of David Pinto)" 
<[email protected]> wrote:

> Additional info:
> 
> The authoring DB contains 2 schemas:
> magnoliaauthor
> magnoliaauthor4u
> 
> I checked the configuration files on the authoring instance and I see:
> 
> 1. The /opt/tomcat/webapps/myapp/META-INF/context.xml is pointing to 
> magnoliaauthor:
> 
>  <Resource
>     auth="Container"
>     driverClassName="com.mysql.jdbc.Driver"
>     name="jdbc/magnoliaauthor"
>     type="javax.sql.DataSource"
>     url="jdbc:mysql://localhost/magnoliaauthor"
> 
> 2. jackrabbit-jndi-author4u-search.xml is using magnoliaauthor4u:
> 
>    <PersistenceManager 
> class="com.iorga.jackrabbit.core.persistence.db.PooledJNDIDatabasePersistenceManager">
>            <param name="dataSourceLocation" 
> value="java:comp/env/jdbc/magnoliaauthor4u"/>
>            <param name="schemaObjectPrefix" value="${wsp.name}_"/>
>            <param name="externalBLOBs" value="false"/>
>    </PersistenceManager>
> 
> 3. jackrabbit-jndi-author-search.xml is using magnoliaauthor:
> 
>    <PersistenceManager 
> class="com.iorga.jackrabbit.core.persistence.db.PooledJNDIDatabasePersistenceManager">
>            <param name="dataSourceLocation" 
> value="java:comp/env/jdbc/magnoliaauthor"/>
>            <param name="schemaObjectPrefix" value="${wsp.name}_"/>
>            <param name="externalBLOBs" value="false"/>
>    </PersistenceManager>
> 
> 
> Is that supposed to be like that?
> How can I tell which one of the jackrabbit config files is used by Magnolia?
> Both files (jackrabbit-jndi-author-search.xml and 
> jackrabbit-jndi-author4u-search.xml)are located in the same subdir: 
> /opt/tomcat/webapps/myapp/WEB-INF/config/repo-conf-jackrabbit-1.3/
> 
> Thanks!
> David.
> 
> -- 
> Context is everything: 
> http://forum.magnolia-cms.com/forum/thread.html?threadId=6db90c8d-3431-46d1-87ee-719d916895f6
> 
> 
> ----------------------------------------------------------------
> For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
> Alternatively, use our forums: http://forum.magnolia-cms.com/
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
> 


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to