I'm trying to implement a Java UA client and evaluating the UaGateway (on Windows Server 2003) to connect to a proprietary OPC DA server on the same machine. This specific DA server is used by several dozen clients right now and normally has no major issues to speak of.
Alas, when trying to add an item from the browse view in UaExpert or when adding a subscription in my Java client, the Gateway just hangs afterwards and needs to be "killed" via Task-Manager.
The last messages in UaExpert are:
Code: Select all
15:52:23.918 | DA Plugin | UaGateway@srv - Ba... | CreateMonitoredItems failed with error BadTimeout (0x800A0000).
15:52:20.511 | DA Plugin | UaGateway@srv - Ba... | Item [0]: SamplingInterval=-1, QueueSize=1, DiscardOldest=1, ClientHandle=0
15:52:20.511 | DA Plugin | UaGateway@srv - Ba... | Revised values: LifeTimeCount=55,
MaxKeepAliveCount=11, Priority=0, PublishingInterval=500
15:52:20.511 | DA Plugin | UaGateway@srv - Ba... | CreateSubscription succeeded.
15:52:20.511 | DA Plugin | UaGateway@srv - Ba... | Creating new subscription: ClientHandle=0, PublishingEnable=1,
LifeTimeCount=60, MaxKeepAliveCount=5, Priority=0, PublishingInterval=500
15:52:20.511 | DA Plugin | UaGateway@srv - Ba... | Found session for ServerId 0
15:52:20.511 | DA Plugin | UaGateway@srv - Ba... | No subscription available for ServerId 0
15:52:20.511 | DA Plugin | | QascDaModel::dropMimeData
15:52:19.574 | AddressSpaceModel | UaGateway@srv - Ba... | QascAddressSpaceModel::mimeData
According to the gateway log it looks as if it creates the DA group and items. It also logs the subscription deletion, although UaExpert just reports an error. There are no obvious errors in the gateway log.
Any ideas?
Kind regards
Tom