This week's book giveaway is in the Open Source Projects forum.
We're giving away four copies of Eclipse Collections Categorically: Level up your programming game and have Donald Raab on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Hot deployment issue in JBOSS??

 
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
This. Exactly this. This is what my therapist has been talking about. And now with a tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic