I'm still getting the "repository lock" error with Jackrabbit 1.3.3
and MySQL, but only when I rename magnoliaPublic to ROOT. I compared
catalina.log for a successful startup with magnoliaPublic and then a
failed startup with ROOT, and the difference is that it looks like
tomcat redeploys the ROOT webapp. I don't understand this at all.
This is where the log differences begin:
Oct 23, 2007 3:37:43 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path from URL file:/
Volumes/Home/Web/tomcat/webapps/ROOT
DEBUG info.magnolia.cms.servlets.PropertyInitializer
PropertyInitializer.java(contextInitialized:169) 23.10.2007 15:37:44
rootPath is /Volumes/Home/Web/tomcat/webapps/ROOT, webapp is ROOT
INFO info.magnolia.cms.beans.config.ModuleRegistration
ModuleRegistration.java(readModuleDefinitions:152) 23.10.2007
15:37:44 Reading module definition
....snip...
DEBUG info.magnolia.cms.servlets.PropertyInitializer
PropertyInitializer.java(createApplicationDirectories:309) 23.10.2007
15:37:45 Creating /Library/StartupItems/Magnolia/ROOT/logs folder
....snip...
Initializing Log4J
Initializing Log4J from [WEB-INF/config/default/log4j.xml]
INFO info.magnolia.cms.beans.config.ConfigLoader ConfigLoader.java
(<init>:91) 23.10.2007 15:37:45 JAAS config file set by parent
container or some other application
INFO info.magnolia.cms.beans.config.ConfigLoader ConfigLoader.java
(<init>:92) 23.10.2007 15:37:45 Config in use /Volumes/Home/Web/
tomcat/webapps/magnoliaAuthor/WEB-INF/config/jaas.config
INFO info.magnolia.cms.beans.config.ConfigLoader ConfigLoader.java
(<init>:93) 23.10.2007 15:37:45 Please make sure JAAS config has all
necessary modules (refer config/jaas.config) configured
---------------------------------------------
MAGNOLIA LICENSE
---------------------------------------------
Version number : 3.0.5
Build : 3. October 2007
Edition : Community Edition
Provider : Magnolia International ([EMAIL PROTECTED])
... snip ...
INFO info.magnolia.jackrabbit.ProviderImpl ProviderImpl.java(init:
143) 23.10.2007 15:37:45 Loading repository at /Volumes/Home/Web/
tomcat/webapps/ROOT/repositories/magnolia (config file: /Volumes/Home/
Web/tomcat/webapps/ROOT/WEB-INF/config/repo-conf-jackrabbit-1.3/
jackrabbit-dspm-search.xml)
WARN org.apache.jackrabbit.core.util.RepositoryLock
RepositoryLock.java(acquire:111) 23.10.2007 15:37:45 Existing lock
file /Volumes/Home/Web/tomcat/webapps/ROOT/repositories/
magnolia/.lock detected. Repository was not shut down properly.
ERROR info.magnolia.jackrabbit.ProviderImpl ProviderImpl.java(init:
176) 23.10.2007 15:37:45 Unable to initialize repository: The
repository home /Volumes/Home/Web/tomcat/webapps/ROOT/repositories/
magnolia appears to be already locked by the current process.
javax.jcr.RepositoryException: The repository home /Volumes/Home/Web/
tomcat/webapps/ROOT/repositories/magnolia appears to be already
locked by the current process.
I have no idea why this is happening. Does anyone have any ideas?
James
On Oct 19, 2007, at 5:15 PM, James Reynolds wrote:
My ultimate goal is to switch to Mysql. I will just proceed in
that direction. Maybe the problem is with Derby...
Well, I after switching to Jackrabbit 1.3.3, and setting up the
shared mysql stuff using
http://www.magnolia.info/wiki/Wiki.jsp?
page=SettingUpMySQLRepositoryWithMagnolia3.1
it appears to work.
Yeah!
I just need to figure out what I've done now to get it to work...
James
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------