If you package an archive, JBoss will unpack it to the tmp directory, so either way it
works with unpacked applications. Of course, tmp is named that for a reason, you should
not assume that anything in there is permanent in any way. So the way you deploy is really
up to you and what you feel most comfortable with. I know that some of the denizens of
this forum deploy exploded because their code can handle new or updated content, such as a
servlet that serves PDF files, thus adding a new one to a directory that the servlet scans
is easy.
To turn the hot deployer off, look at the jboss.system:service=MainDeployer MBean defined
at the end of the server/default/conf/jboss-service.xml file. There are lots of comments
there to guide you. To manually invoke the deployer, call the deploy method on that same
mbean.
The documentation for this is at
http://docs.jboss.com/jbossas/guides/j2eeguide/r2/en/html_single/#d0e3104.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006569#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...