Skip to main content

Problems with flushAdvertisement

1 reply [Last post]
spellicer
Offline
Joined: 2006-10-04
Points: 0

I have a peergroup which has some subgroups. I attempt to flush some of the peergroup advertisements for the subgroups and cannot seem to flush any of them. The logs are returning this:

2009-06-03 01:36:45 FINE [net.jxta.impl.discovery.DiscoveryServiceImpl:flushAdvertisement] Flushing adv uuid-1F77163CD31A4C8DBBBCDB157E7B394302 of type Groups
2009-06-03 01:36:45 FINE [net.jxta.impl.cm.Cm:remove] failed to remove Groups/uuid-1F77163CD31A4C8DBBBCDB157E7B394302

The FINE log message of failed to remove seems to imply that the entry is not found according to the source code. The variable messages in the source code seem to imply there should be directories of Groups with their uuid's in it. I'm not sure if that is just in the databases in the directories. My cm directory has directories directly under cm named after the group uuid's. Am I going about this incorrectly. I looked at the other message in the forum regarding flushAdvertisement but it seems to be doing exactly what I'm doing which is enumerating the advertisements I'm interested in and calling falushAdvertisement from the discovery service.

Any pointers would be appreciated.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
enygma2002
Offline
Joined: 2008-12-22
Points: 0

Just an idea... make sure you use the correct discovery service (the one of the parent group or the one of the subgroups).

Not really sure which you should use, but most likely the parent group's should be fine.

Let us know if you fix it.

Good luck!