I create a service for converting office documents to pdf with the java API. Everything works fine untill I deploy my service on weblogic. All documents are converted except those with images. I get the following error: javax.imageio.IIOException: Can’t create cache file!
Is there a manner to specify the images caching directory for saving to pdf?
Thanks for your inquiry.
Please note that Aspose.Words for Java uses a temporary directory on your machine that is specified via java.io.tmpdir system property. Aspose.Words writes temporary files and removes them as soon as rendering to PDF is completed. Please make sure you have privileges to access this directory on your production environment and there is enough space to create temporary files.