Thanks, that did it... BDB seems to initialize without errors. But now I can no longer log in, because it does not seem that bootstrapping is happening. What I have done is to delete magnoliaAuthor.war bootstrap files (users, userroles, usergroups, website, dms) and replace them with my own .xml files from a 3.0.1 export, which I put in WEB_INF/bootstrap/author. I have also deleted the corresponding repositories in repositories/magnolia/workspaces beecause I thought that would force bootstrapping.
Is that ok? Is bootstrapping supposed to be seen in the logs (catalina.out)? JPM Selon David Smith <[email protected]>: > Your first error message posted below relates to tomcat 5.0.28 not > having a copy of xalan.jar. Easy fix is to download a copy and put it > in. The second one suggests the wiki page was either wrong or doesn't > apply to your implementation of magnolia. I would restore the original > value here. > > --David > > jp.malrieu wrote: > > >Hi, > > > >I am trying to clean up my magnolia environment by > >-upgrading from 3.0.1 to 3.0.2 > >-downgrading tomcat from 5.5.17 to 5.0.28 > >-moving to Berkeley DB persistence engine > > > >I copied magnolia-bdb-1.0.jar (I got this from an Evaluation copy of > Magnolia > >Enterprise Edition) to magnoliaAuthor.war. > >I copied je-3.2.23.jar (I got this one from Oracle site)to > magnoliaAuthor.jar > >I changed the persistence engine in > WEB-INF/config/default/magnolia.properties > >to bdb. > > > >Now if I try to deploy, I get the following message: (first error in > >catalina.out log). > > > >INFO info.magnolia.state.berkeley.BerkeleyDBPersistenceManager > >BerkeleyDBPersistenceManager.java(init:101) 26.04.2007 12:02:39 Intializing > >berkeleyDb environment at > >/opt/jakarta-tomcat-5.0.28/webapps/magnoliaAuthor/repositories/magnolia/version/db > >ERROR info.magnolia.jackrabbit.ProviderImpl > >ProviderImpl.java(registerWorkspace:425) 26.04.2007 12:02:45 Unable to > register > >workspace, will continue > >javax.xml.transform.TransformerFactoryConfigurationError: Provider > >org.apache.xalan.processor.TransformerFactoryImpl not found > > > > > >Now if I try to modify the > WEB-INF/config/repo-conf/jackrabbit-bdb-search.xml > >(as suggested in the wiki) by replacing: > >info.magnolia.state.berkeley.BerkeleyDBPersistenceManager > >with > >org.apache.jackrabbit.core.state.bdb.BerkeleyDBPersistenceManager > > > >I get another error: > > > >ERROR info.magnolia.cms.beans.config.ContentRepository > >ContentRepository.java(loadRepositories:303) 26.04.2007 12:30:15 System : > >Failed to load JCR "magnolia" Cannot instantiate persistence manager > >org.apache.jackrabbit.core.state.bdb.BerkeleyDBPersistenceManager: > Configured > >bean implementation class > >org.apache.jackrabbit.core.state.bdb.BerkeleyDBPersistenceManager was not > >found.: org.apache.jackrabbit.core.state.bdb.BerkeleyDBPersistenceManager > > > > > >I must confess I understand very little about all this, but I wonder: > > > >-Is it ok to use the magnolia-bdb-1.0.jar with magnolia CE? > >-Is it ok to use je-3.2.23.jar? > > > >More generally, what would you advise to ease my upgrade? > > > >Thanks. > > > >JPM > > > > > > > > > >---------------------------------------------------------------- > >for list details see > >http://www.magnolia.info/en/developer.html > >---------------------------------------------------------------- > > > > > > > ---------------------------------------------------------------- > for list details see > http://www.magnolia.info/en/developer.html > ---------------------------------------------------------------- > ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/developer.html ----------------------------------------------------------------
