Hi list

I've just tested the backup & recovery process with our first Magnolia 3.0 RC 2 application and would be happy to share my experience and write it up for the Wiki page. However, I still have three unresolved issues:

1. When I try to backup from the root path (see below mgnlPath=/), it fails with the following exception:

2006-08-07 15:51:08 StandardWrapperValve[ImportExportServlet]: Servlet.service() for servlet ImportExportServlet threw exception org.apache.commons.lang.exception.NestableRuntimeException: javax.jcr.RepositoryException: java.io.IOException: The character '' is an invalid XML character: java.io.IOException: The character '' is an invalid XML character

[..., let me know if you think the rest of the stack might be interesting to look at]

When I specify a directory for the mgnlPath argument, it works. It seems that it gets confused about where its root is, because the tomcat.log is also littered with the following error message:

INFO | jvm 1 | 2006/07/15 20:42:50 | ERROR info.magnolia.context.MgnlContext MgnlContext.java(getInstance:291) 15.07.2006 20:42:50 Context is not set, defaulting to System Context

And there's one more weirdness in our application that points to a similar problem:

1.a. When I copy a page and place it with a mouse click inside the same directory, it fails to copy it. I can only copy it by clicking with the mouse on the name of the directory. (On the root level, it moves it instead of copying it, and if you place it at the end, it works.) Does anybody else have the same problem?

2. The documentation says to use the mgnl-export servlet to avoid corrupted xml files. However, I have had empty xml files this way. The same script runs every night - sometimes it produces a full xml file, sometimes it produces an empty file. Anybody else?

3. The popup-menu in the security panel doesn't offer exporting the data to an xml file. However, the mgl-export servlet takes mgnlRepository=users as argument without producing errors. And when I look at the xml file, it seems to list the user data. So how would I "play it back" when I need to recover the system? What is the reasoning behind not having it in the menu? Is there a different model for backup & recovery of security data?

A cursory look through the Jira report for Magnolia 3.0 gives me the impression that none of the above issues can be found there. Let me know if I should write any of them up, or if I need to change things in our setup here.

Thanks,
Anne

--
fastforward websolutions
Mezenerweg 11, CH-3013 Bern
Tel. +41 31 348 54 44, Fax +41 31 348 54 55
www.fastforward.ch
--



On Aug 7, 2006, at 3:06 PM, yves-marie daniel wrote:

with magnolia 3 rc2 :

http://localhost:8081/magnolia6/.magnolia/mgnl-export? mgnlRepository=website&mgnlPath=/ &mgnlKeepVersions=true&mgnlFormat=true&ext=.xml&exportxml=Export

Yves-Marie

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to