Monday, March 12, 2012
Hot Deployment in JBoss 7 ( Exploding a war in JBOSS 7)
Today i had a web app which i wanted to redeploy in JBOSS so i had a look at the process to do it.
Unzip your war file for example ServiceRequestTool.war to ServiceRequestTool.war directory.
Copy your war file in the directory for deployment. For me the directory is C:\Jboss\Jboss\standalone\deployments
See image above.
My war file name is : ServiceRequestTool.war
Now if you look at the console for JBOSS you will see the following line
Found ServiceRequestTool.war in deployment directory. To trigger deployment create a file called ServiceRequestTool.war.dodeploy
For your war file replace the name and create the file
(Your War file name ).war.dodeploy
this will trigger deploy on your war.
Now for hot redeployment change any file and then
create the following file in the directory (Your War file name ).war.dodeploy again .
You can see the status change with the file types that get created.
For more information refer here and search for deployment modes.
Return machine Id and use this for routing future requests . This will give cache locality. The ui/ mobile app should use this I'd f...
Question: Which of the following best describes a sprint? The correct answer was: A sprint is a condensed amount of time in which a devel...
Recently i was faced with a scenario where user would select a few files from a list and click download. All the downloads should start in...
The home directory does not exist or is missing a required file or folder: modules\org\jboss\as\server\mainThe home directory does not exist or is missing a required file or folder: modules\org\jboss\as\server\main To Solve this problem 1) As sh...