I've seen a few posts about problems concerning the bootstrap mechanism
in 2.1 rc1. I've got an other one to add to the list:
Could it be that bootstrapping is not working when repositoryHome is
configured to be outside of the webapp?
1. I was able to run rc1 fine at first with no changes to
repositories.xml. (Did it even bootstrap then or does it come with a
working repository in place?)
2. I was able to import data to the repository by publishing it from an
older version.
3. I was able to move the repository away (to /opt/data/magnoliaAuthor).
Now I wanted to start over new and removed the repository at
/opt/data/magnoliaAuthor and restarted Tomcat. Magnolia sets up a new
repository at /opt/data/magnoliaAuthor, but it's broken! The Log says
multiple times:
ERROR 30.06.2005 10:14:53 Unable to load content from
config.subscribers.xml due to a
javax.jcr.nodetype.NoSuchNodeTypeException Exceptio
n: {http://www.magnolia.info/jcr/mgnl}content. Will try to continue.
javax.jcr.nodetype.NoSuchNodeTypeException:
{http://www.magnolia.info/jcr/mgnl}content
at
org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.getEffectiveNodeTyp
e(NodeTypeRegistry.java:828)
at
org.apache.jackrabbit.core.nodetype.NodeTypeManagerImpl.getNodeType(Node
TypeManagerImpl.java:158)
at
org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:1530)
at
org.apache.jackrabbit.core.xml.SessionImporter.createNode(SessionImporte
r.java:96)
at
org.apache.jackrabbit.core.xml.SessionImporter.startNode(SessionImporter
.java:228)
at
org.apache.jackrabbit.core.xml.SysViewImportHandler.processNode(SysViewI
mportHandler.java:82)
at
org.apache.jackrabbit.core.xml.SysViewImportHandler.startElement(SysView
ImportHandler.java:137)
at
org.apache.jackrabbit.core.xml.ImportHandler.startElement(ImportHandler.
java:233)
at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
org.apache.jackrabbit.core.SessionImpl.importXML(SessionImpl.java:1005)
at
info.magnolia.cms.beans.config.Bootstrapper.bootstrapRepositories(Bootst
rapper.java:111)
Any ideas anyone?
Cheers,
Will
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------