Reputation: 340
I have a java agent in a database on a Lotus Domino 8.5.3 server, to create export data on a network drive. The signer of the agent is listed in all of the programmability restrictions fields of the server document. The windows user name of the server is added the folder with all access, except "Full access" and "Special rights". The agent can not create the file on the network drive, but can create the file on the local drive.
2013.01.15 09:32:42 AMgr: Agent ('excelExport|excelExport' in 'Applications\ExcelJavaExport\ExcelJavaExport.nsf') printing: NotersMain: Can't find resource for bundle java.util.PropertyResourceBundle, key file_operation_not_allowed
2013.01.15 09:32:42 AMgr: Agent ('excelExport|excelExport' in 'Applications\ExcelJavaExport\ExcelJavaExport.nsf') error message: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key file_operation_not_allowed
2013.01.15 09:32:42 AMgr: Agent ('excelExport|excelExport' in 'Applications\ExcelJavaExport\ExcelJavaExport.nsf') error message: at java.util.ResourceBundle.getObject(ResourceBundle.java:407)
2013.01.15 09:32:42 AMgr: Agent ('excelExport|excelExport' in 'Applications\ExcelJavaExport\ExcelJavaExport.nsf') error message: at java.util.ResourceBundle.getString(ResourceBundle.java:421)
2013.01.15 09:32:42 AMgr: Agent ('excelExport|excelExport' in 'Applications\ExcelJavaExport\ExcelJavaExport.nsf') error message: at lotus.notes.JavaString.getFormattedString(Unknown Source)
2013.01.15 09:32:42 AMgr: Agent ('excelExport|excelExport' in 'Applications\ExcelJavaExport\ExcelJavaExport.nsf') error message: at lotus.notes.AgentSecurityManager.checkWrite(Unknown Source)
2013.01.15 09:32:42 AMgr: Agent ('excelExport|excelExport' in 'Applications\ExcelJavaExport\ExcelJavaExport.nsf') error message: at java.io.FileOutputStream.<init>(FileOutputStream.java:180)
2013.01.15 09:32:42 AMgr: Agent ('excelExport|excelExport' in 'Applications\ExcelJavaExport\ExcelJavaExport.nsf') error message: at java.io.FileOutputStream.<init>(FileOutputStream.java:81)
2013.01.15 09:32:42 AMgr: Agent ('excelExport|excelExport' in 'Applications\ExcelJavaExport\ExcelJavaExport.nsf') error message: at java.io.FileWriter.<init>(FileWriter.java:57)
2013.01.15 09:32:42 AMgr: Agent ('excelExport|excelExport' in 'Applications\ExcelJavaExport\ExcelJavaExport.nsf') error message: at ExportDocumentFilteredFields.export(Unknown Source)
2013.01.15 09:32:42 AMgr: Agent ('excelExport|excelExport' in 'Applications\ExcelJavaExport\ExcelJavaExport.nsf') error message: at JavaAgent.NotesMain(Unknown Source)
2013.01.15 09:32:42 AMgr: Agent ('excelExport|excelExport' in 'Applications\ExcelJavaExport\ExcelJavaExport.nsf') error message: at lotus.domino.AgentBase.runNotes(Unknown Source)
2013.01.15 09:32:42 AMgr: Agent ('excelExport|excelExport' in 'Applications\ExcelJavaExport\ExcelJavaExport.nsf') error message: at lotus.domino.NotesThread.run(Unknown Source)
What can cause this problem, and how to fix that?
Upvotes: 0
Views: 1547
Reputation: 340
Finally we found the solution to implement writing on a network drive from a Lotus Java Agent:
Upvotes: 3