Muraly,

>        Please bear my ignorance. Could you give a more detailed explanation?

try e.g.

cd $JBossHome/bin

twiddle invoke "jboss.system:type=System" runGarbageCollector


 >        Did you mean writing a seperate class and deploy it as a '-service.xml' file. If then, how can I schedule this class to be run, say every 5 mins?

Either use a scheduler like quartz to do this or use your system cron in conjunction with twiddle.

 

Heiko

Reply via email to