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