Xpages 如何使用密码运行nhttp.exe?

Xpages 如何使用密码运行nhttp.exe?,xpages,lotus-domino,Xpages,Lotus Domino,我想创建.bat文件,它必须调用nhttp.exe并将我的密码放入.exe文件中。但是没有一个命令对我不起作用 nhttp.exe 'my-pass' nhttp.exe|'my-pass' 'my-pass'|nhttp.exe nhttp.exe<fileWithpass.txt [2388:0002-4180] The ID file being used is: C:\Program Files (x86)\IBM\Notes\myFileId.id [2388:0002-4

我想创建.bat文件,它必须调用nhttp.exe并将我的密码放入.exe文件中。但是没有一个命令对我不起作用

nhttp.exe 'my-pass'
nhttp.exe|'my-pass'
'my-pass'|nhttp.exe
nhttp.exe<fileWithpass.txt

[2388:0002-4180] The ID file being used is: C:\Program Files 
(x86)\IBM\Notes\myFileId.id 
[2388:0002-4180] Enter password (press the Esc key to abort):
nhttp.exe“我的通行证”
nhttp.exe |“我的通行证”
“我的通行证”| nhttp.exe

对于XPages,nhttp.exeDominoDesigner的本地nhttp与服务器的nhttp不同。如果您正在进行开发,请在本地安装Domino服务器。这就是最佳实践,也是为什么我与IBM合作了一年多,以获得Domino的非生产许可证,这是现在社区服务器许可证提供的。社区服务器的链接(一个单独的包,但与完整服务器的代码集相同)可以在Thomas Hampel的博文底部找到。还有IBM Docker映像,可用于在Docker for Windows中运行Domino服务器。

只是为了给您提供一个解决方案(正如Paul所建议的,安装本地开发服务器是一个更好的主意):

您可以使用不同的notes.ini启动nhttp.exe,并使用无密码ID文件

nhttp.exe =/path/to/notes-nhttp.ini
(斜杠取决于您的操作系统)

在INI文件中,可以通过更改以下参数来设置不同的Notes ID:

KeyFileName=/path/to/notes-nhttp.id

nttp.exe是一个由Domino服务器控制的进程,据我所知,不能像这样运行。你们到底想实现什么?嗨,我在本地主机上有应用程序Xpage,我不想为http服务器打开Domino Designer。我想直接从桌面上为http服务器写入.bat文件。