• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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
 
What's wrong? Where are you going? Stop! Read this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic