自7-8个月以来,我一直使用以下代码创建会话,并成功检索记录。
s = NotesFactory.createSession(
ReadJNDIProperties.getProperties("notes/host"),
ReadJNDIProperties.getProperties("notes/username"),
ReadJNDIProperties.getProperties("notes/password"));
db = s.getDatabase("", nsf);其中's‘是notes会话对象。
现在,代码突然不能与domino建立会话,当我测试这部分代码时,它只是停留在那里。NotesFactory.createSession()函数从不返回对象。
请告诉我可能是什么引起的?
提前谢谢。-Tushar
发布于 2014-11-08 00:33:38
可能的原因:
请检查访问其邮件的用户的web访问,您需要在服务器上加载
服务器确保主机是internet名称服务器("serv.example.com“或仅是”
https://stackoverflow.com/questions/25922151
复制相似问题