14 Replies Latest reply on May 19, 2005 5:14 AM by traveldoo2

    WebConsole : making snapshots persisted - issues with deploy

    traveldoo2

      I'd like to make persisted snapshots, just like the monitors can be.

      In order to do that, I'm trying to deploy some Mbeans at the start of JBoss, by adding an xml file in the default/deploy directory.

      The xml file looks like :
      --------------------------------------

      <?xml version="1.0" encoding="UTF-8"?>


      Snapshot de test
      jboss.system:type=ServerInfo
      FreeMemory
      true
      30000


      --------------------------------------

      I get the following error :
      --------------------------------------
      org.jboss.deployment.DeploymentInfo@19ea5058 { url=file:/E:/jboss/server/default
      /deploy/management/snapshots/snapshots.xml }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/E:/jboss/server/default/deploy/management/snapshots/snapshots.xml

      altDD: null
      lastDeployed: 1115981061304
      lastModified: 1115981061304
      mbeans:
      --------------------------------------

      As the monitors are persisted that way (I can see a deploy\monitors\ rep containing a deployment XML file for each monitor I created), I thought it could work. What am I missing ?

      Thanks in advance.