1 Reply Latest reply on Mar 13, 2007 10:45 PM by Brian Stansberry

    InstanceNotFoundException: jboss.system:service=ServiceContr

    augustientje bloem Newbie

      I'm trying to use JbossCache (1.4.0) outside Jboss AS as a local cache.

      The code fragment I'm trying to get to work is very simple:

      TreeCache treeCache = new TreeCache();
      // ... configure
      // ... do something with cache

      This throws an InstanceNotFoundException with the message "jboss.system:service=ServiceController".

      As an alternative, I tried using the createService/startService and stopService/destroyService methods instead, but this throws the same exception (although this time it doesn't reach my application since it's eaten in TreeCache.postDeregister).

      What could be the cause of this?