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 :
  | --------------------------------------
  | [EMAIL PROTECTED] { 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.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877626#3877626

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877626


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to