I submitted a bug (and patch) for this to Jackrabbit [1]. Let's see where it goes from there. A couple of votes sure couldn't hurt.

[1] https://issues.apache.org/jira/browse/JCR-1644

Cheers
Philippe

David Smith wrote:
I know this is an old thread, but I found an alternative solution that should be posted for the archives. In my case, I was using the Development tools backup function to create bootstrap files of the production site for a test instance of magnolia. It by default exports each top level page as a separate file (in my case I ended up with about 5 website export files). One of those files contains a rather extensive tree and resulted in a file of about 58M.

One of my export files was consistently generating the StackoverflowError described by the OP below. My fix to the issue was to up the per thread stack size (-Xss java option) from whatever the default for my linux web server was to 1 megabyte. I can't find any documentation regarding the default stack size except to say it changes from OS to OS and can vary from 256K to 1M. I suspect the default for my server was about 512K, accounting for the stack overflow on a really large bootstrap file. After setting CATALINA_OPTS to include -Xss1024k and restarting tomcat, the bootstrap went ahead normally. After bootstrap the option can be dropped as it's not needed for normal Magnolia runtime.

--David

Mike D. Jones wrote:

Ah!  Thx.  I'll give that a try.

Mike D. Jones
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 20, 2008 11:54 AM
To: [email protected]
Subject: Re: [magnolia-user] Error on bootstrap import

I did have the same problem as well. I had to split the export into
multiple junks by exporting from a subpath instead of the root (/).

Ruben


Mike D. Jones wrote:
Hi all,

Magnolia EE 3.5.4
OS: Windows (dev env.)

We're attempting to test an upgrade from BDB to MySQL, and have
followed the instructions here:
http://wiki.magnolia.info/display/WIKI/MySQL+Persistance

Unfortunately, when it gets to the part where it starts importing the
Website bootstrap files, it eventually generates this error:
ERROR  info.magnolia.module.InstallContextImpl 20.05.2008 09:59:11 --
Could not perform installation: null
java.lang.StackOverflowError
       at java.util.HashMap.get(HashMap.java:343)
       at
org.apache.jackrabbit.core.xml.NamespaceContext.getURI(NamespaceContext
.java:98)
It's creating all the necessary tables in MySQL.  The bootstrap is
being exported directly from 3.5.4 into 3.5.4. I've tried using both
the standard jackrabbit as well as the jackrabbit-1.3 jackrabbit-mysql-
search.xml files.  I've also tried both
<param name="externalBLOBs" value="true" /> and
<param name="externalBLOBs" value="false" />

All the various changes produced the same error.


Has anyone else had this problem?

Mike D. Jones


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------


----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to