记录一下这次从发现问题到解决问题的过程
项目是通过java链接OPC,读取数据,并且发送数据的
程序一直运行正常,最近客户反馈说无法读取数据,通过查看,发现访问异常了。花了2天的时间才解决了这个异常。
org.jinterop.dcom.common.JIException: Access is denied, please check whether the [domain-username-password] are correct. Also, if not already done please check the GETTING STARTED and FAQ sections in readme.htm. They provide information on how to correctly configure the Windows machine for DCOM access, so as to avoid such exceptions. [0x00000005]
at org.jinterop.dcom.core.JIC

解决Java链接OPC读取数据异常问题,通过修改注册表、添加代码、配置DCOM及检查密码,最终定位并修复帐户登录失败的问题。
4197

被折叠的 条评论
为什么被折叠?



