

6:57, EEST

January 27, 2012

Using the newest version of Prosys Java OPC-UA SDK (1.3.2), I figured out that whenever I remove a monitored item (also from sample project), I get the following warning:
04/26/2012 08:50:31.669 WARN Subscription not found: 2
04/26/2012 08:50:31.669 WARN ack error: com.prosysopc.ua.ServiceException ServiceResult=Bad_SubscriptionIdInvalid (0x80280000) “The subscription id is not valid.”
In my opinion, it seems that the item is correctly removed from monitored items list -this is also what size of list tells me, but “Subscription Manager” does not recognize that an item has been removed
I have not tried this with an older version, so you’d might also get this warning in older SDK.
How can I prevent this warning and correctly remove item and subscription?
Thanks
7:07, EEST

December 21, 2011

The warning comes if the client tries to acknowledge data for a subscription that has been removed.
You can hide the warning by defining
in your log.properties.
It would probably not be that necessary to warn about this, though, so we should consider decreasing the level of that message.
Thanks for the note!
1 Guest(s)
