Hi everybody, I'm facing too some problem in setting up a 2 node cluster with Magnolia 4.4.2 CE and Mysql. It looks like jackrabbit is not able to set up the cluster id even if it's declared ( I think correctly) in the xml. In my catalina.out during magnoliaPublic startup I see: "info.magnolia.jackrabbit.ProviderImpl : Loading repository at /var/lib/tomcat/webapps/magnoliaPublic/repositories/magnolia (config file: /var/lib/tomcat/webapps/magnoliaPublic/WEB-INF/config/repo-conf/magnolia1.xml) - cluster id: "<unset>"
This is the content of my magnolia1.xml: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Repository PUBLIC "-//The Apache Software Foundation//DTD Jackrabbit 1.5//EN" "http://jackrabbit.apache.org/dtd/repository-1.5.dtd"> <Repository> <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem"> <param name="path" value="${rep.home}/repository" /> </FileSystem> <Security appName="Jackrabbit"> <AccessManager class="org.apache.jackrabbit.core.security.SimpleAccessManager"></AccessManager> <LoginModule class="org.apache.jackrabbit.core.security.SimpleLoginModule"> <param name="anonymousId" value="anonymous" /> </LoginModule> </Security> <DataStore class="org.apache.jackrabbit.core.data.FileDataStore"> <param name="path" value="${rep.home}/repository/datastore"/> <param name="minRecordLength" value="1024"/> </DataStore> <Workspaces rootPath="${rep.home}/workspaces" defaultWorkspace="default" /> <Workspace name="default"> <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem"> <param name="path" value="${wsp.home}/default" /> </FileSystem> <PersistenceManager class="org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager"> <param name="driver" value="com.mysql.jdbc.Driver" /> <param name="url" value="jdbc:mysql://192.168.0.4:3306/magnolia_public" /> <param name="schema" value="mysql" /><!-- warning, this is not the schema name, it's the db type --> <param name="user" value="magnolia" /> <param name="password" value="magnolia" /> <param name="schemaObjectPrefix" value="${wsp.name}_" /> <param name="externalBLOBs" value="false" /> </PersistenceManager> <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex"> <param name="path" value="${wsp.home}/index" /> <param name="useCompoundFile" value="true" /> <param name="minMergeDocs" value="100" /> <param name="volatileIdleTime" value="3" /> <param name="maxMergeDocs" value="100000" /> <param name="mergeFactor" value="10" /> <param name="maxFieldLength" value="10000" /> <param name="bufferSize" value="10" /> <param name="cacheSize" value="1000" /> <param name="forceConsistencyCheck" value="false" /> <param name="autoRepair" value="true" /> <param name="analyzer" value="org.apache.lucene.analysis.standard.StandardAnalyzer" /> <param name="queryClass" value="org.apache.jackrabbit.core.query.QueryImpl" /> <param name="respectDocumentOrder" value="true" /> <param name="resultFetchSize" value="2147483647" /> <param name="extractorPoolSize" value="3" /> <param name="extractorTimeout" value="100" /> <param name="extractorBackLogSize" value="100" /> <param name="textFilterClasses" value="org.apache.jackrabbit.extractor.MsWordTextExtractor, org.apache.jackrabbit.extractor.MsExcelTextExtractor, org.apache.jackrabbit.extractor.MsPowerPointTextExtractor, org.apache.jackrabbit.extractor.PdfTextExtractor, org.apache.jackrabbit.extractor.OpenOfficeTextExtractor, org.apache.jackrabbit.extractor.RTFTextExtractor, org.apache.jackrabbit.extractor.HTMLTextExtractor, org.apache.jackrabbit.extractor.PlainTextExtractor, org.apache.jackrabbit.extractor.XMLTextExtractor" /> </SearchIndex> </Workspace> <Versioning rootPath="${rep.home}/version"> <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem"> <param name="path" value="${rep.home}/workspaces/version" /> </FileSystem> <PersistenceManager class="org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager"> <param name="driver" value="com.mysql.jdbc.Driver" /> <param name="url" value="jdbc:mysql://192.168.0.4:3306/magnolia_public" /> <param name="schema" value="mysql" /><!-- warning, this is not the schema name, it's the db type --> <param name="user" value="magnolia" /> <param name="password" value="magnolia" /> <param name="schemaObjectPrefix" value="version_" /> <param name="externalBLOBs" value="false" /> </PersistenceManager> </Versioning> <!-- shared journal --> <Cluster id="publica"> <Journal class="org.apache.jackrabbit.core.journal.DatabaseJournal"> <param name="revision" value="${rep.home}/revision.log" /> <param name="driver" value="com.mysql.jdbc.Driver" /> <param name="url" value="jdbc:mysql://192.168.0.4:3306/magnolia_public" /> <param name="user" value="magnolia" /> <param name="password" value="magnolia" /> <param name="schema" value="mysql" /> <param name="schemaObjectPrefix" value="journal_" /> </Journal> </Cluster> </Repository> I tried also to put the "Cluster" node at the beginning, just after <Repository> with no difference. The same thing when I try to deploy the second Public istance (on a different server): INFO info.magnolia.jackrabbit.ProviderImpl : Loading repository at /var/lib/tomcat/webapps/magnoliaPublic/repositories/magnolia (config file: /var/lib/tomcat/webapps/magnoliaPublic/WEB-INF/config/repo-conf/magnolia2.xml) - cluster id: "<unset>" The content of magnolia2.xml is the same of magnolia1.xml, with different Cluster id value. When I try then to install the second Public istance I see a lot of errors like this: "WARN org.apache.jackrabbit.core.value.BLOBInDataStore : getLength for 9c564d7363f624c897c40f1c3600cf1bd385cc70 failed org.apache.jackrabbit.core.data.DataStoreException: Record not found: 9c564d7363f624c897c40f1c3600cf1bd385cc70" and this message on the browser with the installer/status url: "Magnolia Core Module (version 4.4.2) * Found mix:versionable as a supertype in the custom_nodetypes.xml. Please replace this with mix:referenceable and restart the server. Refer to Magnolia Documentation at http://documentation.magnolia-cms.com/releases/3-6.html for details. * Checks existing node types definition for occurence of mix:versionable." May anyone please help me to focus what i'm doing wrong? Thank so much for your support. Alex ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
