I'm using 1.0-beta-5.2310, using the stand-alone install.
The question:
Is there a way to export (then import into another installation of
XWiki), a particular space?
The errors:
I'm also having difficulty doing a "normal" import (which I assume
includes the entire wiki), from one installation into another.
I see the following exceptions after uploading an export file from
install #1, and trying to import it into install #2.
-Dennis
===========================
14:38:02,778 WARN P1-13
http://localhost:8080/xwiki/bin/import/XWiki/Import?action=getPackageInfos&…
XWikiAction:execute:188 - Uncaught exception: Error number 0 in 11:
Uncaught exception
Wrapped Exception: Lexical error at line 1, column 1. Encountered: "["
(91), after : ""
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception: Lexical error at line 1, column 1. Encountered: "["
(91), after : ""
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:165)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Wrapped Exception:
org.suigeneris.jrcs.rcs.TokenMgrError: Lexical error at line 1, column
1. Encountered: "[" (91), after : ""
at
org.suigeneris.jrcs.rcs.ArchiveParserTokenManager.getNextToken(ArchiveParserTokenManager.java:968)
at
org.suigeneris.jrcs.rcs.ArchiveParser.jj_consume_token(ArchiveParser.java:543)
at org.suigeneris.jrcs.rcs.ArchiveParser.head(ArchiveParser.java:166)
at org.suigeneris.jrcs.rcs.ArchiveParser.admin(ArchiveParser.java:107)
at org.suigeneris.jrcs.rcs.ArchiveParser.archive(ArchiveParser.java:79)
at org.suigeneris.jrcs.rcs.ArchiveParser.load(ArchiveParser.java:54)
at org.suigeneris.jrcs.rcs.Archive.<init>(Archive.java:274)
at
com.xpn.xwiki.doc.XWikiAttachmentArchive.setArchive(XWikiAttachmentArchive.java:92)
at com.xpn.xwiki.doc.XWikiAttachment.setArchive(XWikiAttachment.java:398)
at com.xpn.xwiki.doc.XWikiAttachment.fromXML(XWikiAttachment.java:349)
at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:2216)
at com.xpn.xwiki.plugin.packaging.Package.readFromXML(Package.java:649)
at com.xpn.xwiki.plugin.packaging.Package.Import(Package.java:347)
at com.xpn.xwiki.plugin.packaging.PackageAPI.Import(PackageAPI.java:167)
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:46)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:150)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
14:38:02,869 ERROR P1-13
http://localhost:8080/xwiki/bin/import/XWiki/Import?action=getPackageInfos&…
SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($!hidecolumns)
of '==' operation has null value. If a reference, it may not be in the
context. Operation not possible. [line 9, column 21]
14:38:02,976 WARN P1-13
http://localhost:8080/xwiki/bin/import/XWiki/Import?action=getPackageInfos&…
MonitorData:log:183 - MONITOR XWiki.Import: 830ms