[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [virgo-dev] ConfigurationListener event called twice on update

I wonder if you are getting CM_UPDATED with a null or empty dictionary the first time and then the expected new dictionary the second time?

But wait, rather than us keep guessing, please could you simply tell us what events are coming through and what their contents are. ;-)

Regards,
Glyn

On 15 Nov 2010, at 19:12, Peter Lauri wrote:

No, CM_UPDATED both times.

Best regards,
Peter Lauri

*Sent on the road from iPhone*

On 15 nov 2010, at 21:11, Dmitry Sklyut <dmitry@xxxxxxxxxxx<mailto:dmitry@xxxxxxxxxxx>> wrote:

Are you getting:

1st - DELETED
2nd - UPDATED

?

Regards,

Dmitry

On Mon, Nov 15, 2010 at 1:53 PM, Peter Lauri <<mailto:peter.lauri@xxxxxx>peter.lauri@xxxxxx<mailto:peter.lauri@xxxxxx>> wrote:
Hi,

We are using the ConfigurationListener to track configuration changes. We put the .properties file into the pickup directory, then we get the update. Then if we update the configuration we get the configurationEvent(ConfigurationEvent event) called two times. Are we missing something, or might this be a bug?

/Peter

_______________________________________________
virgo-dev mailing list
<mailto:virgo-dev@xxxxxxxxxxx>virgo-dev@xxxxxxxxxxx<mailto:virgo-dev@xxxxxxxxxxx>
<https://dev.eclipse.org/mailman/listinfo/virgo-dev>https://dev.eclipse.org/mailman/listinfo/virgo-dev


_______________________________________________
virgo-dev mailing list
virgo-dev@xxxxxxxxxxx<mailto:virgo-dev@xxxxxxxxxxx>
https://dev.eclipse.org/mailman/listinfo/virgo-dev
<ATT00001..txt>