Two ways AFAIK(although they might end up being the same depending on the way its setup)
1. Touch your web.xml if the war is unpacked or touch the whole WAR file if packed
2. Look up the list of completeDeployments method from the MainDeployer JMX MBeanView of the jmx-console. There should be an entry for your war over there. Look up the "WatchURL" in that and touch that file. Thats the trigger that Jboss uses to redeploy a package.
Thanks for your reploy. What do you mean by "touch that file"? I'm able to see the watch url for my deployed application. Could you please elaborate on this?
"Touching" is a unix/linux term. To "touch" a file, means to update it's "lastModified" attribute, without really modifying it.
If you are running JBoss on Unix or Linux you simply run "touch ". If you are running JBoss on Windows, but you have access to a Linux/Unix server/workstation, you can setup a mount to JBoss, and touch it that way.
In Windows, the best way to "touch" the web.xml is to open it in notepad, save it, then close it.