Hi David,
I'm sending you back a xar archive that works with your RPLA page.
The archive you sent had several problems including:
- the package.xml and associated content was located one level down
instead of being at the top level of the archive
- there were some extraneous directories and files which seemed to be
tied to Mac OS
If you were trimming, then you must have trimmed the page that is
causing problems. But you need to generate better formed archives for
your tests.
Luis.
On 4/12/07, Kane, David <David_Kane(a)sra.com> wrote:
Folks,
Here is stripped version of the archive that I am trying to import. It
has just one page, and it exhibits the same error when I try to import
it.
Sincerely,
David Kane
-----Original Message-----
From: Vincent Massol [mailto:vincent@massol.net]
Sent: Thursday, April 12, 2007 10:28 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Export/Import Problem
On Apr 12, 2007, at 3:50 PM, Kane, David wrote:
Vincent,
I can try that. Do you have any suggestions as to what to look for in
stripping things out?
No. Just try a big stripping and see if you still get the error. If
not, reduce the stripping till you get the error. BTW this'll likely
find the cause of the error (possibly a page that has some problems
loading).
For the initial stripping, why not strip everything except one page.
Thanks
-Vincent
-----Original Message-----
From: Vincent Massol [mailto:vincent@massol.net]
Sent: Thursday, April 12, 2007 4:12 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Export/Import Problem
On Apr 11, 2007, at 9:10 PM, Kane, David wrote:
Vincent,
If I open the .xar file, I see a package.xml file is the top level of
the archive. Is it supposed to be somewhere else?
No, that's correct.
Is it possible for you to send us a stripped down version of your XAR
that reproduces the pb?
Thanks
-Vincent
> -----Original Message-----
> From: Vincent Massol [mailto:vincent@massol.net]
> Sent: Wednesday, April 11, 2007 2:44 PM
> To: xwiki-users(a)objectweb.org
> Subject: Re: [xwiki-users] Export/Import Problem
>
> The stack trace says that there's no package.xml file in the XAR
> you're trying to import.
>
> -Vincent
>
> On Apr 11, 2007, at 7:56 PM, Kane, David wrote:
>
>> Folks,
>>
>> Folks,
>>
>> I am trying to export content from one XWiki instance and import
>> into
>> another instance. After I have uploaded the XAR into the second
>> instance and select the archive to import, I see no change on the
>> web
>> page. If I look at the application server log, I see the following
>> set
>> of error messages. Does anyone have any suggestions about what
>> might be
>> going on?
>>
>> Both instances are using the same XWiki build (1.0 Beta-5.2310).
>> I've
>> already increased the max_allowed_packet to 16M in mysql, and so I
>> think
>> the archive is getting attached correctly.
>>
>> Sincerely,
>> David Kane
>>
>>
>> 11015 in 11: Exception while importing
>> Wrapped Exception: Error number 0 in 5: Package: Could not find the
>> package definition
>> com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception
>> while
>> importing
>> Wrapped Exception: Error number 0 in 5: Package: Could not find the
>> package definition
>> at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:
>> 95)
>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:
>> 150)
>> at
>> org.apache.struts.action.RequestProcessor.processActionPerform
>> (RequestPr
>> ocessor.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:
>> 689)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:
>> 802)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
>> (Applica
>> tionFilterChain.java:252)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter
>> (ApplicationFilt
>> erChain.java:173)
>> at
>> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter
>> (SetCharacterEncodi
>> ngFilter.java:121)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
>> (Applica
>> tionFilterChain.java:202)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter
>> (ApplicationFilt
>> erChain.java:173)
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke
>> (StandardWrapperValv
>> e.java:213)
>> at
>> org.apache.catalina.core.StandardContextValve.invoke
>> (StandardContextValv
>> e.java:178)
>> at
>> org.apache.catalina.core.StandardHostValve.invoke
>> (StandardHostValve.java
>> :126)
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke
>> (ErrorReportValve.java
>> :105)
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke
>> (StandardEngineValve.
>> java:107)
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service
>> (CoyoteAdapter.java:1
>> 48)
>> at
>> org.apache.coyote.http11.Http11Processor.process
>> (Http11Processor.java:86
>> 9)
>> at
>> org.apache.coyote.http11.Http11BaseProtocol
>> $Http11ConnectionHandler.proc
>> essConnection(Http11BaseProtocol.java:664)
>> at
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
>> (PoolTcpEndpoint
>> .java:527)
>> at
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
>> (LeaderFollow
>> erWorkerThread.java:80)
>> at
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
>> (ThreadPool
>> .java:684)
>> at java.lang.Thread.run(Thread.java:613)
>>
>>
>> Wrapped Exception:
>>
>>
>> com.xpn.xwiki.plugin.packaging.PackageException: Error number 0
>> in 5:
>> Package: Could not find the package definition
>> at
>> com.xpn.xwiki.plugin.packaging.Package.Import(Package.java:338)
>> 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
>> (RequestPr
>> ocessor.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:
>> 689)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:
>> 802)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
>> (Applica
>> tionFilterChain.java:252)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter
>> (ApplicationFilt
>> erChain.java:173)
>> at
>> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter
>> (SetCharacterEncodi
>> ngFilter.java:121)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
>> (Applica
>> tionFilterChain.java:202)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter
>> (ApplicationFilt
>> erChain.java:173)
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke
>> (StandardWrapperValv
>> e.java:213)
>> at
>> org.apache.catalina.core.StandardContextValve.invoke
>> (StandardContextValv
>> e.java:178)
>> at
>> org.apache.catalina.core.StandardHostValve.invoke
>> (StandardHostValve.java
>> :126)
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke
>> (ErrorReportValve.java
>> :105)
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke
>> (StandardEngineValve.
>> java:107)
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service
>> (CoyoteAdapter.java:1
>> 48)
>> at
>> org.apache.coyote.http11.Http11Processor.process
>> (Http11Processor.java:86
>> 9)
>> at
>> org.apache.coyote.http11.Http11BaseProtocol
>> $Http11ConnectionHandler.proc
>> essConnection(Http11BaseProtocol.java:664)
>> at
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
>> (PoolTcpEndpoint
>> .java:527)
>> at
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
>> (LeaderFollow
>> erWorkerThread.java:80)
>> at
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
>> (ThreadPool
>> .java:684)
>> at java.lang.Thread.run(Thread.java:613)
>> 13:31:45,261 ERROR http-8080-Processor20
>>
http://localhost:8080/xwiki/bin/import/XWiki/Import?
>> action=getPackageInf
>> os&name=Backup.zip&xpage=plain&_=
>> 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]
>> 13:31:45,474 WARN http-8080-Processor20
>>
http://localhost:8080/xwiki/bin/import/XWiki/Import?
>> action=getPackageInf
>> os&name=Backup.zip&xpage=plain&_=
>> MonitorData:log:183 - MONITOR XWiki.Import: 431ms
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws