Lotus Java代理无法在网络驱动器上写入

时间:2013-01-15 09:08:12

标签: lotus-domino javaagents

要解决的问题

我在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)

问题

可能导致此问题的原因,以及如何解决此问题?

1 个答案:

答案 0 :(得分:3)

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

  1. 使用 Microsoft Windows UNC 作为路径而非映射名称
  2. 使用任务管理器
  3. 检查Domino服务器的 Windows用户名
  4. 将对Domino服务器的Windows用户名的适当权限添加到 夹