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!
Most Users Ever Online: 1919
Currently Online:
13 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 744
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
guadalupechastai, joleenbunnell, WilliamViego, edwardobeckenbau, Charlesslota, hilda21x1388, bertZok, Bernardclila, doylenewbery, mickey21654Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1