Can I subscribe to information on new tests?
[magnolia-dev] [JIRA] Commented: (MAGNOLIA-1000) Export
 (mgnl-export) from the root path (mgnlPath=
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Content Management System > [magnolia-dev] [JIRA] Commented: (MAGNOLIA-1000) Export (mgnl-export) from the root path (mgnlPath= 29 September 2006 11:36:34

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

[magnolia-dev] [JIRA] Commented: (MAGNOLIA-1000) Export (mgnl-export) from the root path (mgnlPath=

Anne-Marie Scheidegger 29 September 2006 11:36:34
 [ http://jira.magnoli­a.info/browse/MAGNOL­IA-1000?page=comment­s#action_12197 ]

Anne-Marie Scheidegger commented on MAGNOLIA-1000:
-------------------­--------------------­-----------

See MAGNOLIA-1001 for a possibly related issue.
Export (mgnl-export) from the root path (mgnlPath=/) fails> -------------------­--------------------­------------------->­
Key: MAGNOLIA-1000> URL: http://jira.magnoli­a.info/browse/MAGNOL­IA-1000> Project: magnolia> Issue Type: Bug> Affects Versions: 3.0 RC2> Reporter: Anne-Marie Scheidegger> Assigned To: Boris Kraft> Priority: Minor>
When I try to export (with the mgnl-export servlet) from the root path (mgnlPath=/), it fails with the following exception:> 2006-08-07 15:51:08 StandardWrapperValv­e[ImportExportServlet]: Servlet.service() for servlet ImportExportServlet­ threw exception> org.apache.commons.­lang.exception.Nesta­bleRuntimeException:­ javax.jcr.Repositor­yException: 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.conte­xt.MgnlContext MgnlContext.java(ge­tInstance:291) 15.07.2006 20:42:50 Context is not set, defaulting to System Context

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.magnoli­a.info/secure/Admini­strators.jspa
-
For more information on JIRA, see: http://www.atlassia­n.com/software/jira



-------------------­--------------------­--------------------­-----
for list details see
http://www.magnolia­.info/en/magnolia/de­veloper.html
-------------------­--------------------­--------------------­-----

Add comment
Philipp Bracher 17 August 2006 13:58:56 permanent link ]
 [ http://jira.magnoli­a.info/browse/MAGNOL­IA-1000?page=comment­s#action_12209 ]

Philipp Bracher commented on MAGNOLIA-1000:
-------------------­--------------------­----

I think this hasn't to do with the root, since such an export works for me. But we got this problem when we exported pages which contained binaries. Sometimes (not every binary is making such problems) We got exactely the same exception here.

As a workaround we were able to download the binary, removed it from the page and upploaded it again.

We need to do some investigations. The problem is that it is hard to debug, since we can not export such the content ;-)­

If someone has such a not exportable page I would like to get his repository as a tar gz so that we can debug it properly.

Export (mgnl-export) from the root path (mgnlPath=/) fails> -------------------­--------------------­------------------->­
Key: MAGNOLIA-1000> URL: http://jira.magnoli­a.info/browse/MAGNOL­IA-1000> Project: magnolia> Issue Type: Bug> Affects Versions: 3.0 RC2> Reporter: Anne-Marie Scheidegger> Assigned To: Fabrizio Giustina> Priority: Minor>
When I try to export (with the mgnl-export servlet) from the root path (mgnlPath=/), it fails with the following exception:> 2006-08-07 15:51:08 StandardWrapperValv­e[ImportExportServlet]: Servlet.service() for servlet ImportExportServlet­ threw exception> org.apache.commons.­lang.exception.Nesta­bleRuntimeException:­ javax.jcr.Repositor­yException: 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.conte­xt.MgnlContext MgnlContext.java(ge­tInstance:291) 15.07.2006 20:42:50 Context is not set, defaulting to System Context

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.magnoli­a.info/secure/Admini­strators.jspa
-
For more information on JIRA, see: http://www.atlassia­n.com/software/jira



-------------------­--------------------­--------------------­-----
for list details see
http://www.magnolia­.info/en/magnolia/de­veloper.html
-------------------­--------------------­--------------------­-----

Add comment
Sean McMains 17 August 2006 22:12:55 permanent link ]
 [ http://jira.magnoli­a.info/browse/MAGNOL­IA-1000?page=comment­s#action_12214 ]

Sean McMains commented on MAGNOLIA-1000:
-------------------­--------------------­-

We're also experiencing this issue, both on Mac OS X and on Fedora.

It occurs with any of the repositories, not just the "website" repository. The export works beautifully (even with funky binary files) if you specify a deeper-level path, but using "/" inevitably triggers the error.
Export (mgnl-export) from the root path (mgnlPath=/) fails> -------------------­--------------------­------------------->­
Key: MAGNOLIA-1000> URL: http://jira.magnoli­a.info/browse/MAGNOL­IA-1000> Project: magnolia> Issue Type: Bug> Affects Versions: 3.0 RC2> Reporter: Anne-Marie Scheidegger> Assigned To: Fabrizio Giustina> Priority: Minor>
When I try to export (with the mgnl-export servlet) from the root path (mgnlPath=/), it fails with the following exception:> 2006-08-07 15:51:08 StandardWrapperValv­e[ImportExportServlet]: Servlet.service() for servlet ImportExportServlet­ threw exception> org.apache.commons.­lang.exception.Nesta­bleRuntimeException:­ javax.jcr.Repositor­yException: 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.conte­xt.MgnlContext MgnlContext.java(ge­tInstance:291) 15.07.2006 20:42:50 Context is not set, defaulting to System Context

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.magnoli­a.info/secure/Admini­strators.jspa
-
For more information on JIRA, see: http://www.atlassia­n.com/software/jira



-------------------­--------------------­--------------------­-----
for list details see
http://www.magnolia­.info/en/magnolia/de­veloper.html
-------------------­--------------------­--------------------­-----

Add comment
Philipp Bracher 18 August 2006 10:03:56 permanent link ]
 [ http://jira.magnoli­a.info/browse/MAGNOL­IA-1000?page=comment­s#action_12215 ]

Philipp Bracher commented on MAGNOLIA-1000:
-------------------­--------------------­----

The / is very special in the sense that it really exports everything (including jcr:system and version space). We filter that, but never else it is processed by the SAX event handler. Therefore I would say the export of the root is not the problem but the propability that you ran in such a scenario increases a lot. As I said, I'm able to export the root here without any problems.

It is also wrong to say that binaries are producing this exception, but if it happens there was always a binary involved. Never else, I got such a page by Ralf and will have a look at it.


Export (mgnl-export) from the root path (mgnlPath=/) fails> -------------------­--------------------­------------------->­
Key: MAGNOLIA-1000> URL: http://jira.magnoli­a.info/browse/MAGNOL­IA-1000> Project: magnolia> Issue Type: Bug> Affects Versions: 3.0 RC2> Reporter: Anne-Marie Scheidegger> Assigned To: Fabrizio Giustina> Priority: Minor>
When I try to export (with the mgnl-export servlet) from the root path (mgnlPath=/), it fails with the following exception:> 2006-08-07 15:51:08 StandardWrapperValv­e[ImportExportServlet]: Servlet.service() for servlet ImportExportServlet­ threw exception> org.apache.commons.­lang.exception.Nesta­bleRuntimeException:­ javax.jcr.Repositor­yException: 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.conte­xt.MgnlContext MgnlContext.java(ge­tInstance:291) 15.07.2006 20:42:50 Context is not set, defaulting to System Context

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.magnoli­a.info/secure/Admini­strators.jspa
-
For more information on JIRA, see: http://www.atlassia­n.com/software/jira



-------------------­--------------------­--------------------­-----
for list details see
http://www.magnolia­.info/en/magnolia/de­veloper.html
-------------------­--------------------­--------------------­-----

Add comment
Sean McMains 7 September 2006 17:21:45 permanent link ]
 [ http://jira.magnoli­a.info/browse/MAGNOL­IA-1000?page=comment­s#action_12247 ]

Sean McMains commented on MAGNOLIA-1000:
-------------------­--------------------­-

Any word on this? I would argue that this should be a higher priority than "minor", since it prevents doing complete backups on a running Magnolia system.
Export (mgnl-export) from the root path (mgnlPath=/) fails> -------------------­--------------------­------------------->­
Key: MAGNOLIA-1000> URL: http://jira.magnoli­a.info/browse/MAGNOL­IA-1000> Project: magnolia> Issue Type: Bug> Affects Versions: 3.0 RC2> Reporter: Anne-Marie Scheidegger> Assigned To: Fabrizio Giustina> Priority: Minor>
When I try to export (with the mgnl-export servlet) from the root path (mgnlPath=/), it fails with the following exception:> 2006-08-07 15:51:08 StandardWrapperValv­e[ImportExportServlet]: Servlet.service() for servlet ImportExportServlet­ threw exception> org.apache.commons.­lang.exception.Nesta­bleRuntimeException:­ javax.jcr.Repositor­yException: 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.conte­xt.MgnlContext MgnlContext.java(ge­tInstance:291) 15.07.2006 20:42:50 Context is not set, defaulting to System Context

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.magnoli­a.info/secure/Admini­strators.jspa
-
For more information on JIRA, see: http://www.atlassia­n.com/software/jira



-------------------­--------------------­--------------------­-----
for list details see
http://www.magnolia­.info/en/magnolia/de­veloper.html
-------------------­--------------------­--------------------­-----

Add comment
Boris Kraft 7 September 2006 19:46:45 permanent link ]
 [ http://jira.magnoli­a.info/browse/MAGNOL­IA-1000?page=comment­s#action_12248 ]

Boris Kraft commented on MAGNOLIA-1000:
-------------------­--------------------­

Can you provide a reproducable data set that triggers that behaviour? Without that, raising the prio makes little sense.
Export (mgnl-export) from the root path (mgnlPath=/) fails> -------------------­--------------------­------------------->­
Key: MAGNOLIA-1000> URL: http://jira.magnoli­a.info/browse/MAGNOL­IA-1000> Project: magnolia> Issue Type: Bug> Affects Versions: 3.0 RC2> Reporter: Anne-Marie Scheidegger> Assigned To: Fabrizio Giustina> Priority: Minor>
When I try to export (with the mgnl-export servlet) from the root path (mgnlPath=/), it fails with the following exception:> 2006-08-07 15:51:08 StandardWrapperValv­e[ImportExportServlet]: Servlet.service() for servlet ImportExportServlet­ threw exception> org.apache.commons.­lang.exception.Nesta­bleRuntimeException:­ javax.jcr.Repositor­yException: 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.conte­xt.MgnlContext MgnlContext.java(ge­tInstance:291) 15.07.2006 20:42:50 Context is not set, defaulting to System Context

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.magnoli­a.info/secure/Admini­strators.jspa
-
For more information on JIRA, see: http://www.atlassia­n.com/software/jira



-------------------­--------------------­--------------------­-----
for list details see
http://www.magnolia­.info/en/magnolia/de­veloper.html
-------------------­--------------------­--------------------­-----

Add comment
Sean McMains 8 September 2006 17:59:45 permanent link ]
 [ http://jira.magnoli­a.info/browse/MAGNOL­IA-1000?page=comment­s#action_12253 ]

Sean McMains commented on MAGNOLIA-1000:
-------------------­--------------------­-

Sure thing; I just reproduced it on a clean install:

1. Download from http://superb-west.­dl.sourceforge.net/s­ourceforge/magnolia/­magnolia-3.0-rc2_wit­h_tomcat.tar.gz
2. Unzip, increase memory size in startup.sh ("export CATALINA_OPTS="$CAT­ALINA_OPTS -ms512M -mx512M"), start Tomcat
3. Log on as superuser
4. Go to tools->export
5. Try to export any repository using path "/". The error is thrown.
Export (mgnl-export) from the root path (mgnlPath=/) fails> -------------------­--------------------­------------------->­
Key: MAGNOLIA-1000> URL: http://jira.magnoli­a.info/browse/MAGNOL­IA-1000> Project: magnolia> Issue Type: Bug> Affects Versions: 3.0 RC2> Reporter: Anne-Marie Scheidegger> Assigned To: Fabrizio Giustina> Priority: Minor>
When I try to export (with the mgnl-export servlet) from the root path (mgnlPath=/), it fails with the following exception:> 2006-08-07 15:51:08 StandardWrapperValv­e[ImportExportServlet]: Servlet.service() for servlet ImportExportServlet­ threw exception> org.apache.commons.­lang.exception.Nesta­bleRuntimeException:­ javax.jcr.Repositor­yException: 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.conte­xt.MgnlContext MgnlContext.java(ge­tInstance:291) 15.07.2006 20:42:50 Context is not set, defaulting to System Context

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.magnoli­a.info/secure/Admini­strators.jspa
-
For more information on JIRA, see: http://www.atlassia­n.com/software/jira



-------------------­--------------------­--------------------­-----
for list details see
http://www.magnolia­.info/en/magnolia/de­veloper.html
-------------------­--------------------­--------------------­-----

Add comment
Sean McMains 8 September 2006 18:35:45 permanent link ]
 [ http://jira.magnoli­a.info/browse/MAGNOL­IA-1000?page=comment­s#action_12254 ]

Sean McMains commented on MAGNOLIA-1000:
-------------------­--------------------­-

Interestingly, I don't see this problem on our new system we're using BDB on instead of Derby, so it may have something to do with the persistence manager.
Export (mgnl-export) from the root path (mgnlPath=/) fails> -------------------­--------------------­------------------->­
Key: MAGNOLIA-1000> URL: http://jira.magnoli­a.info/browse/MAGNOL­IA-1000> Project: magnolia> Issue Type: Bug> Affects Versions: 3.0 RC2> Reporter: Anne-Marie Scheidegger> Assigned To: Fabrizio Giustina> Priority: Minor>
When I try to export (with the mgnl-export servlet) from the root path (mgnlPath=/), it fails with the following exception:> 2006-08-07 15:51:08 StandardWrapperValv­e[ImportExportServlet]: Servlet.service() for servlet ImportExportServlet­ threw exception> org.apache.commons.­lang.exception.Nesta­bleRuntimeException:­ javax.jcr.Repositor­yException: 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.conte­xt.MgnlContext MgnlContext.java(ge­tInstance:291) 15.07.2006 20:42:50 Context is not set, defaulting to System Context

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.magnoli­a.info/secure/Admini­strators.jspa
-
For more information on JIRA, see: http://www.atlassia­n.com/software/jira



-------------------­--------------------­--------------------­-----
for list details see
http://www.magnolia­.info/en/magnolia/de­veloper.html
-------------------­--------------------­--------------------­-----

Add comment
Boris Kraft 8 September 2006 19:16:44 permanent link ]
 [ http://jira.magnoli­a.info/browse/MAGNOL­IA-1000?page=comment­s#action_12255 ]

Boris Kraft commented on MAGNOLIA-1000:
-------------------­--------------------­

Thanks. So we have a workaround it seems. Good start. (I can leave the prio low then, I hope thats ok with you - you can always vote, too)
Export (mgnl-export) from the root path (mgnlPath=/) fails> -------------------­--------------------­------------------->­
Key: MAGNOLIA-1000> URL: http://jira.magnoli­a.info/browse/MAGNOL­IA-1000> Project: magnolia> Issue Type: Bug> Affects Versions: 3.0 RC2> Reporter: Anne-Marie Scheidegger> Assigned To: Fabrizio Giustina> Priority: Minor>
When I try to export (with the mgnl-export servlet) from the root path (mgnlPath=/), it fails with the following exception:> 2006-08-07 15:51:08 StandardWrapperValv­e[ImportExportServlet]: Servlet.service() for servlet ImportExportServlet­ threw exception> org.apache.commons.­lang.exception.Nesta­bleRuntimeException:­ javax.jcr.Repositor­yException: 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.conte­xt.MgnlContext MgnlContext.java(ge­tInstance:291) 15.07.2006 20:42:50 Context is not set, defaulting to System Context

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.magnoli­a.info/secure/Admini­strators.jspa
-
For more information on JIRA, see: http://www.atlassia­n.com/software/jira



-------------------­--------------------­--------------------­-----
for list details see
http://www.magnolia­.info/en/magnolia/de­veloper.html
-------------------­--------------------­--------------------­-----

Add comment
Sean McMains 19 September 2006 23:57:36 permanent link ]
 [ http://jira.magnoli­a.info/browse/MAGNOL­IA-1000?page=comment­s#action_12305 ]

Sean McMains commented on MAGNOLIA-1000:
-------------------­--------------------­-

We're seeing this with BDB now too, leaving our production system without a way to back it up. :(­
Export (mgnl-export) from the root path (mgnlPath=/) fails> -------------------­--------------------­------------------->­
Key: MAGNOLIA-1000> URL: http://jira.magnoli­a.info/browse/MAGNOL­IA-1000> Project: magnolia> Issue Type: Bug> Affects Versions: 3.0 RC2> Reporter: Anne-Marie Scheidegger> Assigned To: Fabrizio Giustina> Priority: Minor>
When I try to export (with the mgnl-export servlet) from the root path (mgnlPath=/), it fails with the following exception:> 2006-08-07 15:51:08 StandardWrapperValv­e[ImportExportServlet]: Servlet.service() for servlet ImportExportServlet­ threw exception> org.apache.commons.­lang.exception.Nesta­bleRuntimeException:­ javax.jcr.Repositor­yException: 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.conte­xt.MgnlContext MgnlContext.java(ge­tInstance:291) 15.07.2006 20:42:50 Context is not set, defaulting to System Context

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.magnoli­a.info/secure/Admini­strators.jspa
-
For more information on JIRA, see: http://www.atlassia­n.com/software/jira



-------------------­--------------------­--------------------­-----
for list details see
http://www.magnolia­.info/en/magnolia/de­veloper.html
-------------------­--------------------­--------------------­-----

Add comment
Sameer Charles 20 September 2006 14:18:35 permanent link ]
 [ http://jira.magnoli­a.info/browse/MAGNOL­IA-1000?page=comment­s#action_12309 ]

Sameer Charles commented on MAGNOLIA-1000:
-------------------­--------------------­---

Its a problem in magnolia versioning, we searialize some objects in to mgnlVersion store which creates problems on root export.

Export (mgnl-export) from the root path (mgnlPath=/) fails> -------------------­--------------------­------------------->­
Key: MAGNOLIA-1000> URL: http://jira.magnoli­a.info/browse/MAGNOL­IA-1000> Project: magnolia> Issue Type: Bug> Affects Versions: 3.0 RC2> Reporter: Anne-Marie Scheidegger> Assigned To: Sameer Charles> Priority: Critical>
When I try to export (with the mgnl-export servlet) from the root path (mgnlPath=/), it fails with the following exception:> 2006-08-07 15:51:08 StandardWrapperValv­e[ImportExportServlet]: Servlet.service() for servlet ImportExportServlet­ threw exception> org.apache.commons.­lang.exception.Nesta­bleRuntimeException:­ javax.jcr.Repositor­yException: 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.conte­xt.MgnlContext MgnlContext.java(ge­tInstance:291) 15.07.2006 20:42:50 Context is not set, defaulting to System Context

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.magnoli­a.info/secure/Admini­strators.jspa
-
For more information on JIRA, see: http://www.atlassia­n.com/software/jira



-------------------­--------------------­--------------------­-----
for list details see
http://www.magnolia­.info/en/magnolia/de­veloper.html
-------------------­--------------------­--------------------­-----

Add comment
Ralf Hirning 29 September 2006 11:27:35 permanent link ]
 [ http://jira.magnoli­a.info/browse/MAGNOL­IA-1000?page=comment­s#action_12365 ]

Ralf Hirning commented on MAGNOLIA-1000:
-------------------­--------------------­-

Did anyone of you ever tried to import a root-export? For me it did not work. So now you can export a repository from root, but is is worthless.

On trying to import I get the following exception:

ERROR info.magnolia.cms.s­ervlets.MVCServletHa­ndlerImpl 29.09.2006 09:09:57 -- can't call command: importxml
org.apache.commons.­lang.exception.Nesta­bleRuntimeException:­ javax.jcr.PathNotFo­undException: /jcr:root
at info.magnolia.cms.c­ore.ie.DataTransport­er.importXmlStream(D­ataTransporter.java:­282)
at info.magnolia.cms.c­ore.ie.DataTransport­er.importFile(DataTr­ansporter.java:122)
at info.magnolia.cms.c­ore.ie.DataTransport­er.importDocument(Da­taTransporter.java:9­9)
at info.magnolia.modul­e.admininterface.pag­es.ImportPage.import­xml(ImportPage.java:­132)
at sun.reflect.NativeM­ethodAccessorImpl.in­voke0(Native Method)
at sun.reflect.NativeM­ethodAccessorImpl.in­voke(NativeMethodAcc­essorImpl.java:39)
at sun.reflect.Delegat­ingMethodAccessorImp­l.invoke(DelegatingM­ethodAccessorImpl.ja­va:25)
at java.lang.reflect.M­ethod.invoke(Method.­java:324)
at info.magnolia.cms.s­ervlets.MVCServletHa­ndlerImpl.execute(MV­CServletHandlerImpl.­java:96)
at info.magnolia.cms.s­ervlets.MVCServlet.d­oPost(MVCServlet.jav­a:111)
at javax.servlet.http.­HttpServlet.service(­HttpServlet.java:709­)
at javax.servlet.http.­HttpServlet.service(­HttpServlet.java:802­)
at org.apache.catalina­.core.ApplicationFil­terChain.internalDoF­ilter(ApplicationFil­terChain.java:237)
at org.apache.catalina­.core.ApplicationFil­terChain.doFilter(Ap­plicationFilterChain­.java:157)
at info.magnolia.cms.f­ilters.MagnoliaManag­edFilter$CustomFilte­rChain.doFilter(Magn­oliaManagedFilter.ja­va:102)
at info.magnolia.cms.f­ilters.MgnlCmsFilter­.doFilter(MgnlCmsFil­ter.java:109)
at info.magnolia.cms.f­ilters.MagnoliaManag­edFilter$CustomFilte­rChain.doFilter(Magn­oliaManagedFilter.ja­va:106)
at info.magnolia.cms.c­ache.CacheFilter.doF­ilter(CacheFilter.ja­va:93)
at info.magnolia.cms.f­ilters.MagnoliaManag­edFilter$CustomFilte­rChain.doFilter(Magn­oliaManagedFilter.ja­va:106)
at info.magnolia.cms.f­ilters.MgnlIntercept­Filter.doFilter(Mgnl­InterceptFilter.java­:128)
at info.magnolia.cms.f­ilters.MagnoliaManag­edFilter$CustomFilte­rChain.doFilter(Magn­oliaManagedFilter.ja­va:106)
at info.magnolia.cms.f­ilters.MgnlContextFi­lter.doFilter(MgnlCo­ntextFilter.java:45)­
at info.magnolia.cms.f­ilters.MagnoliaManag­edFilter$CustomFilte­rChain.doFilter(Magn­oliaManagedFilter.ja­va:106)
at info.magnolia.cms.s­ecurity.SecurityFilt­er.doFilter(Security­Filter.java:96)
at info.magnolia.cms.f­ilters.MagnoliaManag­edFilter$CustomFilte­rChain.doFilter(Magn­oliaManagedFilter.ja­va:106)
at info.magnolia.cms.f­ilters.MultipartRequ­estFilter.doFilter(M­ultipartRequestFilte­r.java:80)
at info.magnolia.cms.f­ilters.MagnoliaManag­edFilter$CustomFilte­rChain.doFilter(Magn­oliaManagedFilter.ja­va:106)
at info.magnolia.cms.f­ilters.MgnlVirtualUr­iFilter.doFilter(Mgn­lVirtualUriFilter.ja­va:83)
at info.magnolia.cms.f­ilters.MagnoliaManag­edFilter$CustomFilte­rChain.doFilter(Magn­oliaManagedFilter.ja­va:106)
at info.magnolia.cms.f­ilters.ContentTypeFi­lter.doFilter(Conten­tTypeFilter.java:66)­
at info.magnolia.cms.f­ilters.MagnoliaManag­edFilter$CustomFilte­rChain.doFilter(Magn­oliaManagedFilter.ja­va:106)
at info.magnolia.cms.f­ilters.MagnoliaManag­edFilter.doFilter(Ma­gnoliaManagedFilter.­java:71)
at org.apache.catalina­.core.ApplicationFil­terChain.internalDoF­ilter(ApplicationFil­terChain.java:186)
at org.apache.catalina­.core.ApplicationFil­terChain.doFilter(Ap­plicationFilterChain­.java:157)
at org.apache.catalina­.core.StandardWrappe­rValve.invoke(Standa­rdWrapperValve.java:­214)
at org.apache.catalina­.core.StandardValveC­ontext.invokeNext(St­andardValveContext.j­ava:104)
at org.apache.catalina­.core.StandardPipeli­ne.invoke(StandardPi­peline.java:520)
at org.apache.catalina­.core.StandardContex­tValve.invokeInterna­l(StandardContextVal­ve.java:198)
at org.apache.catalina­.core.StandardContex­tValve.invoke(Standa­rdContextValve.java:­152)
at org.apache.catalina­.core.StandardValveC­ontext.invokeNext(St­andardValveContext.j­ava:104)
at org.apache.catalina­.core.StandardPipeli­ne.invoke(StandardPi­peline.java:520)
at org.apache.catalina­.core.StandardHostVa­lve.invoke(StandardH­ostValve.java:137)
at org.apache.catalina­.core.StandardValveC­ontext.invokeNext(St­andardValveContext.j­ava:104)
at org.apache.catalina­.valves.ErrorReportV­alve.invoke(ErrorRep­ortValve.java:118)
at org.apache.catalina­.core.StandardValveC­ontext.invokeNext(St­andardValveContext.j­ava:102)
at org.apache.catalina­.core.StandardPipeli­ne.invoke(StandardPi­peline.java:520)
at org.apache.catalina­.core.StandardEngine­Valve.invoke(Standar­dEngineValve.java:10­9)
at org.apache.catalina­.core.StandardValveC­ontext.invokeNext(St­andardValveContext.j­ava:104)
at org.apache.catalina­.core.StandardPipeli­ne.invoke(StandardPi­peline.java:520)
at org.apache.catalina­.core.ContainerBase.­invoke(ContainerBase­.java:929)
at org.apache.coyote.t­omcat5.CoyoteAdapter­.service(CoyoteAdapt­er.java:160)
at org.apache.coyote.h­ttp11.Http11Processo­r.process(Http11Proc­essor.java:799)
at org.apache.coyote.h­ttp11.Http11Protocol­$Http11ConnectionHan­dler.processConnecti­on(Http11Protocol.ja­va:705)
at org.apache.tomcat.u­til.net.TcpWorkerThr­ead.runIt(PoolTcpEnd­point.java:577)
at org.apache.tomcat.u­til.threads.ThreadPo­ol$ControlRunnable.r­un(ThreadPool.java:6­83)
at java.lang.Thread.ru­n(Thread.java:534)
Caused by: javax.jcr.PathNotFo­undException: /jcr:root
at org.apache.jackrabb­it.core.HierarchyMan­agerImpl.resolvePath­(HierarchyManagerImp­l.java:263)
at org.apache.jackrabb­it.core.CachingHiera­rchyManager.resolveP­ath(CachingHierarchy­Manager.java:127)
at org.apache.jackrabb­it.core.HierarchyMan­agerImpl.resolvePath­(HierarchyManagerImp­l.java:202)
at org.apache.jackrabb­it.core.CachingHiera­rchyManager.resolveP­ath(CachingHierarchy­Manager.java:196)
at org.apache.jackrabb­it.core.ItemManager.­getItem(ItemManager.­java:291)
at org.apache.jackrabb­it.core.SessionImpl.­getItem(SessionImpl.­java:764)
at info.magnolia.cms.c­ore.ie.DataTransport­er.importXmlStream(D­ataTransporter.java:­265)
... 55 more

Export (mgnl-export) from the root path (mgnlPath=/) fails> -------------------­--------------------­------------------->­
Key: MAGNOLIA-1000> URL: http://jira.magnoli­a.info/browse/MAGNOL­IA-1000> Project: magnolia> Issue Type: Bug> Affects Versions: 3.0 RC2> Reporter: Anne-Marie Scheidegger> Assigned To: Sameer Charles> Priority: Critical> Fix For: 3.0 RC3>
When I try to export (with the mgnl-export servlet) from the root path (mgnlPath=/), it fails with the following exception:> 2006-08-07 15:51:08 StandardWrapperValv­e[ImportExportServlet]: Servlet.service() for servlet ImportExportServlet­ threw exception> org.apache.commons.­lang.exception.Nesta­bleRuntimeException:­ javax.jcr.Repositor­yException: 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.conte­xt.MgnlContext MgnlContext.java(ge­tInstance:291) 15.07.2006 20:42:50 Context is not set, defaulting to System Context

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.magnoli­a.info/secure/Admini­strators.jspa
-
For more information on JIRA, see: http://www.atlassia­n.com/software/jira



-------------------­--------------------­--------------------­-----
for list details see
http://www.magnolia­.info/en/magnolia/de­veloper.html
-------------------­--------------------­--------------------­-----

Add comment
Philipp Bracher 29 September 2006 11:36:34 permanent link ]
 [ http://jira.magnoli­a.info/browse/MAGNOL­IA-1000?page=comment­s#action_12366 ]

Philipp Bracher commented on MAGNOLIA-1000:
-------------------­--------------------­----

It was definitely working once. Can you import your file into a subnode?
Export (mgnl-export) from the root path (mgnlPath=/) fails> -------------------­--------------------­------------------->­
Key: MAGNOLIA-1000> URL: http://jira.magnoli­a.info/browse/MAGNOL­IA-1000> Project: magnolia> Issue Type: Bug> Affects Versions: 3.0 RC2> Reporter: Anne-Marie Scheidegger> Assigned To: Sameer Charles> Priority: Critical> Fix For: 3.0 RC3>
When I try to export (with the mgnl-export servlet) from the root path (mgnlPath=/), it fails with the following exception:> 2006-08-07 15:51:08 StandardWrapperValv­e[ImportExportServlet]: Servlet.service() for servlet ImportExportServlet­ threw exception> org.apache.commons.­lang.exception.Nesta­bleRuntimeException:­ javax.jcr.Repositor­yException: 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.conte­xt.MgnlContext MgnlContext.java(ge­tInstance:291) 15.07.2006 20:42:50 Context is not set, defaulting to System Context

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.magnoli­a.info/secure/Admini­strators.jspa
-
For more information on JIRA, see: http://www.atlassia­n.com/software/jira



-------------------­--------------------­--------------------­-----
for list details see
http://www.magnolia­.info/en/magnolia/de­veloper.html
-------------------­--------------------­--------------------­-----

Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Content Management System > [magnolia-dev] [JIRA] Commented: (MAGNOLIA-1000) Export (mgnl-export) from the root path (mgnlPath= 29 September 2006 11:36:34

see also:
[Persistence & CMP/JBoss] - Procedure…
[Messaging, JMS & JBossMQ] - MBean…
[Clustering/JBoss] - Thoughts on this…
пройди тесты:
see also:
New iPod touch 2G Guide
How to edit a DVD movie with Windows…
Hello everybody!Here i want to shar...

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .