Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Removing Monitored Items
April 26, 2012
6:57, EEST
Avatar
fred
Member
Members
Forum Posts: 41
Member Since:
January 27, 2012
sp_UserOfflineSmall Offline

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

April 26, 2012
7:07, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 869
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

The warning comes if the client tries to acknowledge data for a subscription that has been removed.

You can hide the warning by defining

log4j.logger.com.prosysopc.ua.server.SubscriptionManager=ERROR

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!

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 267

Currently Online:
17 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 109

pramanj: 86

ibrahim: 71

kapsl: 57

gjevremovic: 49

TimK: 41

fred: 41

Fransua33: 39

Xavier: 34

rocket science: 33

Member Stats:

Guest Posters: 0

Members: 1283

Moderators: 15

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1100

Posts: 4643

Newest Members:

henryking123, pcygraig5029, corejavatuts, jaynelumpkin4, nandant07, vnd18, arnetteleverett, autumnzzi6, vickiviera, dianames129491

Moderators: Jouni Aro: 869, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 633, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Teppo Uimonen: 21, Markus Johansson: 30, Matti Siponen: 100, Lusetti: 0

Administrators: admin: 1