aspose file tools*
The moose likes JBoss/WildFly and the fly likes Hot deployment issue in JBOSS?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Hot deployment issue in JBOSS??" Watch "Hot deployment issue in JBOSS??" New topic
Author

Hot deployment issue in JBOSS??

Pras Tiwari
Ranch Hand

Joined: Nov 07, 2005
Posts: 186
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


********Deserve Before You Desire********
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10102
    
165

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


[My Blog] [JavaRanch Journal]
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
 
subject: Hot deployment issue in JBOSS??