On 01/29/2010 01:31 PM, adoro wrote:
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-td2...)
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?
There's a missing class, which should be in xml-apis-ext-1.3.04.jar. If you removed it, does it appear anywhere else in the classpath? If not, then perhaps you should try leaving just this jar in the xwiki libs. -- Sergiu Dumitriu http://purl.org/net/sergiu/