opc server 链接 java程序报错


报什么错误?还有你怎么发帖到Python里了

信息1:

2020-07-27 23:03:06,666 ERROR [PollableSourceRunner-OPCSourceV2-opc-source] (com.zdkj.ds.flume.source.opc.OPCSourceV2.doStart:165) - CONNECT OPC SERVER ERROR:Message not found for errorCode: 0x800700A4

信息2:

org.jinterop.dcom.common.JIException: Message not found for errorCode: 0x800700A4

at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:664)

at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:561)

at org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:524)

at org.openscada.opc.lib.da.Server.connect(Server.java:108)

at com.zdkj.ds.flume.source.opc.OPCSourceV2.createConnection(OPCSourceV2.java:224)

at com.zdkj.ds.flume.source.opc.OPCSourceV2.doStart(OPCSourceV2.java:162)

at com.zdkj.ds.flume.source.opc.OPCSourceV2.doProcess(OPCSourceV2.java:74)

at org.apache.flume.source.AbstractPollableSource.process(AbstractPollableSource.java:54)

at org.apache.flume.source.PollableSourceRunner$PollingRunner.run(PollableSourceRunner.java:139)

at java.lang.Thread.run(Thread.java:745)

Caused by: org.jinterop.dcom.common.JIRuntimeException: Message not found for errorCode: 0x800700A4

at org.jinterop.dcom.core.JIRemActivation.read(JIRemActivation.java:225)

at ndr.NdrObject.decode(NdrObject.java:41)

at rpc.ConnectionOrientedEndpoint.call(ConnectionOrientedEndpoint.java:141)

at rpc.Stub.call(Stub.java:134)

at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:649)

... 9 more

2020-07-27 23:03:06,665 INFO [PollableSourceRunner-OPCSourceV2-opc-source] (org.openscada.opc.lib.da.Server.cleanup:151) - Destroying DCOM session...

2020-07-27 23:03:06,666 INFO [PollableSourceRunner-OPCSourceV2-opc-source] (org.openscada.opc.lib.da.Server.cleanup:178) - Destroying DCOM session... forked

信息3:

2020-07-27 23:01:41,038 ERROR [PollableSourceRunner-OPCSourceV2-opc-source] (com.zdkj.ds.flume.source.opc.OPCSourceV2.doProcess:117) - ...PROCESS ERROR:An internal error occurred. [0x8001FFFF]

信息4:0x800700A4 和 0x8001FFFF错误出现后很容易中断,有时过15左右能重新链接有时不能重连。

日了狗,第一次问问题,写内容必须付钱,付了钱直接就给我跳进去了!我真的是!