We are trying to create a scheduled agent in Lotus Notes that generates PDFs and run into a permission issue(no acces to c:windowstemp). Generally, we only have access to the directory where the Domino service runs (which is not on the c: drive). Is there a way to pass a parameter to File.createTempFile so we can define the file location? If not, please provide an alternate solution to the problem we are experiencing.
This is the error we get:
03/24/2010 10:57:02 AM AMgr: Agent (‘Create PDF (test scheduled)’ in ‘ZDEVCB&I APPLICATIONSTravelTravelAuthorizationPDF.nsf’) error message: java.lang.SecurityException: not allowed to access or modify file: C:WINDOWSTEMPCB&I PreTrip #2010-002331492.pdf