We cannot generate PDFs and RTFs running XE 2.1.1 on JBoss Application
server. 5.1.0 GA
On Tomcat the same PDF/RTF export works fine despite the warning that some
fonts are missing (impl.PdfExportImpl - Starting with 1.5, XWiki uses the
WEB-INF/fonts/ directory as the font directory, and it should contain the
FreeFont (
http://savannah.gnu.org/projects/freefont/) fonts. FOP cannot
access this directory. ...)
The difference in the xwiki configuration between JBoss and Tomcat
deployment is:
we have to delete some libraries from xwiki WEB-INF/lib directory ( see
http://n2.nabble.com/XWIKI-installation-error-on-JBOSS-5-0-1-PLEASE-HELP-td…)
xercesImpl-2.8.1.jar,
xml-apis-1.3.04.jar
xml-apis-ext-1.3.04.jar
xmlParserAPIs-2.0.2.jar
otherwise we could not started JBoss.
Has someone similar troubles? How can I work around?
server.log and xwiki.log attached.
Best Regards,
Alla
----------
2010-01-29 12:17:16,562 INFO [STDOUT]
(
http://localhost:8080/javawiki/bin/export/Anwendung/WebHome?format=pdf)
2010-01-29 12:17:16,562
[
http://localhost:8080/javawiki/bin/export/Anwendung/WebHome?format=pdf]
WARN impl.PdfExportImpl - Starting with 1.5, XWiki uses the
WEB-INF/fonts/ directory as the font directory, and it should contain the
FreeFont (
http://savannah.gnu.org/projects/freefont/) fonts. FOP cannot
access this directory. If this is an upgrade from a previous version, make
sure you also copy the WEB-INF/fonts directory from the new distribution
package.
2010-01-29 12:17:16,906 INFO [STDOUT]
(
http://localhost:8080/javawiki/bin/export/Anwendung/WebHome?format=pdf)
2010-01-29 12:17:16,906
[
http://localhost:8080/javawiki/bin/export/Anwendung/WebHome?format=pdf]
WARN web.XWikiAction - Uncaught exception: Error number 0
in 11: Uncaught exception
Wrapped Exception: org/w3c/css/sac/CSSException
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception: org/w3c/css/sac/CSSException
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(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:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
......
http://n2.nabble.com/file/n4479693/server.log server.log
http://n2.nabble.com/file/n4479693/xwiki.log xwiki.log
--
View this message in context:
http://n2.nabble.com/Problem-with-PDF-and-RTF-export-on-JBOSS-AS-tp4479693p…
Sent from the XWiki- Users mailing list archive at
Nabble.com.