Hello Jens
With classID it works, but I get access denied error, I've configured
Dcom access to OPC's, any clue how to solve it. Bellow is the error
message:
27/09/2011 08:00:18 org.jinterop.dcom.core.JIComOxidRuntime
$ServerPingTimerTask run
INFO: Running ServerPingTimerTask !
27/09/2011 08:00:18 org.jinterop.dcom.core.JISession
$Release_References_TimerTask run
INFO: Release_References_TimerTask:[RUN] Session: 1589659305 ,
listOfDeferencedIpids.size(): 0
27/09/2011 08:00:18 org.jinterop.dcom.core.JIComOxidRuntime
$ClientPingTimerTask run
INFO: Running ClientPingTimerTask !
27/09/2011 08:00:18 org.jinterop.dcom.core.JISession createSession
INFO: Created Session: 1589659305
27/09/2011 08:00:18 org.jinterop.dcom.common.JISystem internal_dumpMap
INFO: mapOfHostnamesVsIPs: {}
27/09/2011 08:00:18 rpc.DefaultConnection processOutgoing
INFO:
Sending BIND
27/09/2011 08:00:18 rpc.DefaultConnection processIncoming
INFO:
Recieved BIND_ACK
27/09/2011 08:00:18 rpc.DefaultConnection processOutgoing
INFO:
Sending AUTH3
27/09/2011 08:00:19 rpc.DefaultConnection processOutgoing
INFO:
Sending ALTER_CTX
27/09/2011 08:00:19 rpc.DefaultConnection processIncoming
INFO:
Recieved ALTER_CTX_RESP
27/09/2011 08:00:19 rpc.DefaultConnection processOutgoing
INFO:
Sending REQUEST
27/09/2011 08:00:19 rpc.DefaultConnection processIncoming
INFO:
Recieved FAULT
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.JIComServer.init(JIComServer.java:572)
at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:
481)
at org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:445)
at org.openscada.opc.dcom.da.Test2.main(Test2.java:192)
Caused by: rpc.FaultException: Received fault. (unknown)
at
rpc.ConnectionOrientedEndpoint.call(ConnectionOrientedEndpoint.java:
141)
at rpc.Stub.call(Stub.java:113)
at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:568)
... 3 more
27/09/2011 08:00:19 org.jinterop.dcom.core.JISession postDestroy
INFO: About to destroy links for Session: 1589659305 , size of which
is 0
27/09/2011 08:00:19 org.jinterop.dcom.core.JIComOxidRuntime
destroySessionOIDs
INFO: destroySessionOIDs for session: 1589659305
Exception in thread "main" java.lang.NullPointerException
at org.openscada.opc.dcom.da.Test2.showError(Test2.java:57)
at org.openscada.opc.dcom.da.Test2.main(Test2.java:205)
On 26 set, 17:10, Jens Reimann <
ctron1...@gmail.com> wrote:
> Just to be sure, can you try using the class I'd instead of the prog id.
> There was an issue with that in the past. Though it is fixed in rhr git
> repositories it is not in the latest release build.