[xwiki-users] problem with export pdf, rtf
Hello everybody, We're are new to XWiki and everything is working great except for one thing: export to pdf and rtf. It did not work from the start. We've tried to follow the steps in the admin guide: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCusto mizingthePDFexportLook26Feel. We've tried tot export an near empty page but that did not work, we still get the same error message and no export. We also looked at other messages concerning similar problems but we didn't find an answer. What are we doing wrong? Is it an installation error? Thanks for any feedback. Greetings, Emile & Marcus The error message: Error number 0 in 11: Uncaught exception Wrapped Exception: Could not initialize class com.xpn.xwiki.pdf.impl.PdfExportImpl com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: Could not initialize class com.xpn.xwiki.pdf.impl.PdfExportImpl at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:238) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) 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:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1166) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1157) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(Conversion Filter.java:152) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1157) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java: 68) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1157) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestor erFilter.java:304) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1157) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:112) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:2 16) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav a:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConne ction.java:915) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java :582) Wrapped Exception: java.lang.NoClassDefFoundError: Could not initialize class com.xpn.xwiki.pdf.impl.PdfExportImpl at com.xpn.xwiki.web.ExportAction.exportPDFOrRTF(ExportAction.java:180) at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:64) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:214) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) 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:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1166) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1157) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(Conversion Filter.java:152) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1157) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java: 68) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1157) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestor erFilter.java:304) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1157) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:112) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:2 16) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav a:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConne ction.java:915) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java :582) The contents of this e-mail and attachments are confidential. It is intended for the named recipient(s) only. If you have received this e-mail in error, please notify the system manager or the sender immediately and do not disclose the contents of this e-mail to anyone or make copies. This e-mail is from the Netherlands Court of Audit, Lange Voorhout 8, 2514 ED, The Hague, NETHERLANDS.
Hi Emile & Marcus! Schaefers, Marcus wrote:
Hello everybody,
We're are new to XWiki and everything is working great except for one thing: export to pdf and rtf.
It did not work from the start. We've tried to follow the steps in the admin guide: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCusto mizingthePDFexportLook26Feel.
We've tried tot export an near empty page but that did not work, we still get the same error message and no export. We also looked at other messages concerning similar problems but we didn't find an answer.
What are we doing wrong? Is it an installation error?
It seems like the package in charge of rendering the PDF and/or RTF output can't be found in /xwiki/WEB-INF/lib. As I am not a developer myself, I don't know where it is located and what the error could be, but I am sure that if you define a bit your environment (what XWiki package have you installed? what SO are you working on? JDK release?) it will be easier for more skilled people to work out this issue! Thanks! I've just installed a XE/XEM 2.4.30451 and Export to PDF/RTF works as expected. Greetings, Ricardo -- Ricardo RodrÃguez CTO eBioTIC. Life Sciences, Data Modeling and Information Management Systems
Hi Ricardo, Thanks for your quick respons! We're looking into it. Greetings, Marcus -----Oorspronkelijk bericht----- Van: [email protected] [mailto:[email protected]] Namens [Ricardo Rodriguez] eBioTIC. Verzonden: vrijdag 13 augustus 2010 16:09 Aan: XWiki Users Onderwerp: Re: [xwiki-users] problem with export pdf, rtf Hi Emile & Marcus! Schaefers, Marcus wrote:
Hello everybody,
We're are new to XWiki and everything is working great except for one thing: export to pdf and rtf.
It did not work from the start. We've tried to follow the steps in the admin guide: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCus to mizingthePDFexportLook26Feel.
We've tried tot export an near empty page but that did not work, we still get the same error message and no export. We also looked at other messages concerning similar problems but we didn't find an answer.
What are we doing wrong? Is it an installation error?
It seems like the package in charge of rendering the PDF and/or RTF output can't be found in /xwiki/WEB-INF/lib. As I am not a developer myself, I don't know where it is located and what the error could be, but I am sure that if you define a bit your environment (what XWiki package have you installed? what SO are you working on? JDK release?) it will be easier for more skilled people to work out this issue! Thanks! I've just installed a XE/XEM 2.4.30451 and Export to PDF/RTF works as expected. Greetings, Ricardo -- Ricardo RodrÃguez CTO eBioTIC. Life Sciences, Data Modeling and Information Management Systems _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users The contents of this e-mail and attachments are confidential. It is intended for the named recipient(s) only. If you have received this e-mail in error, please notify the system manager or the sender immediately and do not disclose the contents of this e-mail to anyone or make copies. This e-mail is from the Netherlands Court of Audit, Lange Voorhout 8, 2514 ED, The Hague, NETHERLANDS.
participants (2)
-
[Ricardo Rodriguez] eBioTIC. -
Schaefers, Marcus