I try to generate PDF from XWiki 3.5.
The installation was made from scratch to XWiki 3.4, and imported the
documents via XARs from XWiki 3.0.3. Then just upgraded to 3.5, with no
problems.
*Detailed information:
*
When I dig the tomcat logs, the error seems to be
*c.x.x.p.i.PdfURLFactory - Failed to save image for PDF export
java.io.IOException: Failed to create temporary PDF export file with prefix [pdf], suffix
[.] in directory
[/opt/tomcat/xwiki35/apache-tomcat-7.0.22-with-log4jpgp/work/Catalina/10.10.1.135/xwiki/Ee7wkX8p]
at com.xpn.xwiki.pdf.impl.PdfURLFa
*
However, there seems to be sufficient permissions:
*ls -lah
/opt/tomcat/xwiki35/apache-tomcat-7.0.22-with-log4jpgp/work/Catalina/10.10.1.135/xwiki/
*
*drwxr-xr-x 6 tomcatxwiki35 tomcatxwiki35 4.0K Feb 22 10:47 .
drwxr-xr-x 8 tomcatxwiki35 tomcatxwiki35 4.0K Feb 22 10:10 ..
drwxr-xr-x 49 tomcatxwiki35 tomcatxwiki35 4.0K Feb 22 10:42 aether-repository
drwxr-xr-x 2 tomcatxwiki35 tomcatxwiki35 4.0K Feb 22 10:12 charts
drwxr-xr-x 2 tomcatxwiki35 tomcatxwiki35 4.0K Feb 22 10:12 svg
drwxr-xr-x 3 tomcatxwiki35 tomcatxwiki35 4.0K Feb 22 10:12 xwiki.plugin.image*
And there is also sufficient permissions in these directories as well..
*xwiki.cfg:xwiki.plugins.lucene.indexdir=/opt/tomcat/xwiki35/xwiki/lucene-indexdir
xwiki.cfg:xwiki.work.dir=/opt/tomcat/xwiki35/xwiki/work-dir
xwiki.properties:environment.permanentDirectory=/opt/tomcat/xwiki35/xwiki/persistent-data
xwiki.cfg:xwiki.temp.dir=/tmp/xwiki
xwiki.cfg:xwiki.tmp.dir=/tmp/xwiki
*
Because there are sufficient permissions I wonder why the directory
/opt/tomcat/xwiki35/xwiki/work-dir/ is empty?
Also, I note that the tomcat wepapps -directory has a file called .fop
Is there any advises of where to find more information or how this could be fixed?
With Regards,
ari