Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hot deployment issue in JBOSS??

 
Pras Tiwari
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
For my STRUTS based web development I am using JBOSS4.0.3 As App server, Eclipse IDE with MyEclipse 3.1. But I am not able to hot deploy my application in JBOSS. Each time when I am adding new action into my STRUTS application, I have to redeploy my application into container to see effect of added action. Whether hot deployment is possible or not in JBOSS?
Please reply as redeploying is taking my lots of time.
Thank you.
Pras
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to redeploy my application into container to see effect of added action. Whether hot deployment is possible or not in JBOSS?


As far as i know, hotdeploy of your Struts action classes is not possible
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well JBoss has a MainDeployer that is scanning the deploy directory looking for certain types of archive files or new directory structures that represent archives. And it knows certain ones, like ear, war, jar, har, sar, rar. If you application is deployed with the directory structure, then in order to re-deploy you must touch to corresponding xml config file. For instance .jar you touch the ejb-jar.xml; .war touch the web.xml; and .ear touch the application.xml

So if you have a war file for your Struts application and you drop that in, and you drop in a new version of that war file, then it should hot deploy.

Mark
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic