0

要解决的问题

我在 Lotus Domino 8.5.3 服务器上的数据库中有一个 java 代理,用于在网络驱动器上创建导出数据。代理的签名者列在服务器文档的所有可编程性限制字段中。服务器的windows用户名添加到所有访问的文件夹,除了“完全访问”和“特殊权限”。代理不能在网络驱动器上创建文件,但可以在本地驱动器上创建文件。

错误消息(Domino 服务器日志)

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)

问题

什么可能导致这个问题,以及如何解决这个问题?

4

1 回答 1

3

最后,我们找到了通过 Lotus Java Agent 在网络驱动器上实现写入的解决方案:

  1. 使用Microsoft Windows UNC作为路径而不是映射名称
  2. 使用任务管理器检查Domino 服务器的Windows 用户名
  3. 将适当的权限添加到 Domino 服务器的 Windows 用户名到文件夹
于 2013-01-16T11:57:44.770 回答