> Maybe you could post the code of your EventListener, and of
> ObservationManager.addEventListener call?

It's pretty similar to the event listener in the slingbucks examle. As
I constantly try different paths and workspaces there isn't the ONE
configuration. But registering looks like:

    final String[] types = null;
    final boolean isDeep = true;
    final boolean noLocal = true;
    String path = "/system/userManager/";
    //also tried "/rep:security/rep:authorizables/" and
"/rep:system/rep:userManager/"
    
session.getWorkspace().getObservationManager().addEventListener(userMgmtListener,
listenOnEvents, path, isDeep, null, types, noLocal);
   log.info("Observing property changes to {} nodes under {}",
types==null?"All":Arrays.asList(types), path);

In addition I use the same session to add a second eventListener that
listens to events int the "/content" branch. But that shouldn't be a
problem, or?

The event listener itself is just dumping a log message without any checks.

Regards,
 Markus

Reply via email to