-
1. Re: JBoss hot deploy?
jiangshachina Apr 9, 2007 11:16 PM (in response to jiangshachina)With the instruction below,
http://wiki.jboss.org/wiki/Wiki.jsp?page=HotDeployment
I find that I just need to modify some files (e.g. web.xml), JBoss would re-deploy the service.
Can I add jsp, class, ..., to the list on the matter?
Namely, when I modify jsp, class, ..., files, JBoss also can re-deploy service. -
2. Re: JBoss hot deploy?
peterj Apr 10, 2007 11:47 AM (in response to jiangshachina)Try using an exploded deployment. See http://wiki.jboss.org/wiki/Wiki.jsp?page=ExplodedDeployment. I have successfully updated JSPs when using such a deployment.
-
3. Re: JBoss hot deploy?
jiangshachina Apr 11, 2007 4:33 AM (in response to jiangshachina)Hi PeterJ,
Thanks for your help.
I had used "exploded war", but I didn't achieve the goal.
Namely, when JBoss was running, I modified any JSP file,
JBoss didn't re-deploy the web application.
And as the instructions, I have to modify web.xml (In fact, that's true with my tests).I have successfully updated JSPs when using such a deployment.
I'm very curious that why your JSP files could be updated.
a cup of Java, cheers!
Sha Jiang -
4. Re: JBoss hot deploy?
peterj Apr 11, 2007 11:24 PM (in response to jiangshachina)The application is not redeployed when you update one of the JSPs. Instead, you simply get the updated JSP. If your browser tends to cache pages, you might have to hit the refresh button on the browser to get the updated page. Though I think that this happens to me only when updating static content (css, html, etc), not when updating JSP).