Ah... that makes sense... or let's but it that way: The bootstrapping
mechanism does not make too much sense that way, but your explanation
surely does. ;-)
Thanks for the help.
Cheers,
Will
On 30.06.2005, at 10:42, Markus Zingg wrote:
Hi Will
I think you need to place the repository directory distributed with
the code at /opt/data/magnoliaAuthor. Because there are some needed
files e.g. custom_nodetypes.xml and a rudimentary directory structure
in there.
Hope that helps.
Regards, Markus
Will Scheidegger schrieb:
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.getEffectiveNodeT
yp e(NodeTypeRegistry.java:828)
at
org.apache.jackrabbit.core.nodetype.NodeTypeManagerImpl.getNodeType(No
de TypeManagerImpl.java:158)
at
org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:1530)
at
org.apache.jackrabbit.core.xml.SessionImporter.createNode(SessionImpor
te r.java:96)
at
org.apache.jackrabbit.core.xml.SessionImporter.startNode(SessionImport
er .java:228)
at
org.apache.jackrabbit.core.xml.SysViewImportHandler.processNode(SysVie
wI mportHandler.java:82)
at
org.apache.jackrabbit.core.xml.SysViewImportHandler.startElement(SysVi
ew ImportHandler.java:137)
at
org.apache.jackrabbit.core.xml.ImportHandler.startElement(ImportHandle
r. java:233)
at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkno
wn Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentD
is patcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unk
no 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(Boot
st rapper.java:111)
Any ideas anyone?
Cheers,
Will
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------