Am 18.01.2017 um 03:47 schrieb Clark, Raymond C:
java.io.FileNotFoundException:/opt/tomcat/.pdfbox.cache (Permission denied)


Normally this should be written in the user directory... you can set this by setting the property pdfbox.fontcache

Here's a code excerpt:


    private File getDiskCacheFile()
    {
        String path = System.getProperty("pdfbox.fontcache");
        if (path == null)
        {
            path = System.getProperty("user.home");
            if (path == null)
            {
                path = System.getProperty("java.io.tmpdir");
            }
        }
        return new File(path, ".pdfbox.cache");
    }

Reply via email to