Lotus Java Agent无法在网络驱动器上写入 [英] Lotus Java agent can unable to write on a network drive

查看:140
本文介绍了Lotus Java Agent无法在网络驱动器上写入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Lotus Domino 8.5.3服务器上的数据库中有一个Java代理,用于在网络驱动器上创建导出数据.服务器文档的所有可编程性限制字段中都列出了代理的签名者.服务器的Windows用户名将被添加到具有所有访问权限的文件夹中,但完全访问权限"和特殊权限"除外.代理无法在网络驱动器上创建文件,但是可以在本地驱动器上创建文件.

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)

问题

什么会导致此问题,以及如何解决该问题?

Question

What can cause this problem, and how to fix that?

推荐答案

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

Finally we found the solution to implement writing on a network drive from a Lotus Java Agent:

  1. 使用 Microsoft Windows UNC 表示路径而不是映射名称
  2. 使用任务管理器
  3. 检查Domino服务器的 Windows用户名
  4. 将Domino服务器的Windows用户名的适当权限添加到 文件夹
  1. Use Microsoft Windows UNC for path instead of mapping name
  2. Check the Windows User Name of the Domino server using task manager
  3. Add the proper rights to the Windows user Name of the Domino server to the folder

这篇关于Lotus Java Agent无法在网络驱动器上写入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆