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

JBoss 5 Exploded and Incremental Deploy

Himalay Majumdar
Ranch Hand

Joined: Sep 28, 2008
Posts: 324
In our project we use JBOSS + Seam + JSF facelets and use Maven to build.
The problem is exploded deployment doesnt work for us and to see every static .xhtml change we need to compile every single class in the project.

Is there any general step-by-step process that will help me achieve this using Jboss.

Thank you,
-Himalay


SCJP 1.6, SCWCD 5.0, SCBCD 5.0 [loading..]
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10289
    
168

Which version of JBossAS? And what issue are you seeing with exploded deployment? From what i remember, you don't even have to redeploy the application for a .xhtml change.

[My Blog] [JavaRanch Journal]
Himalay Majumdar
Ranch Hand

Joined: Sep 28, 2008
Posts: 324
We use JBoss 5.0. When deploying the Application EAR in the JBoss server location, it gets deployed as .ear file (NOT a folder)..meaning exploded deployment not working. This makes the UI work very slow. I googled on this, but cud not find a solution. The command for exploded deployment is mvn install -Premote-exploded-deploy but it doesn't do the job for me. It wud be great if anyone can help me with this, it consumes a lot of development time.

Thank you,
-Himalay
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10289
    
168

Himalay Majumdar wrote:We use JBoss 5.0.

The reason i asked you about the specific version of JBoss AS, is because there have been some known issues with hot deployments in some minor versions of JBoss AS-5. So which *specific* version of JBoss AS 5 are you using? There's no JBoss AS 5.0.

Himalay Majumdar wrote:
When deploying the Application EAR in the JBoss server location, it gets deployed as .ear file (NOT a folder)..meaning exploded deployment not working. This makes the UI work very slow. I googled on this, but cud not find a solution. The command for exploded deployment is mvn install -Premote-exploded-deploy

Looks like a Maven question to me, rather than JBoss. And what exactly does, "not working" mean? So you are trying to figure out how to create a exploded deployment out of your application from Maven? If yes, then let us know, we'll move this to a better forum.
Himalay Majumdar
Ranch Hand

Joined: Sep 28, 2008
Posts: 324
Hi Jai,

To be specific we are using JBoss 5.0.1.

After a .xhtml change, a mere page refresh does not reflect the changes, as it used to happen when I worked on Webshpere or Weblogic.
Atleast if I can have exploded deployment, I can change the particular .xhtml file directly from the exploded directory to see the changes right away, but the exploded deployment doesn't work either.

Thanks for looking into it.

-Himalay
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10289
    
168

Himalay Majumdar wrote:
... but the exploded deployment doesn't work either.



Keeping aside Maven for a while, why not just manually explode the application and deploy it? Or if you are still interested in doing it through Maven, then you will have to provide the exact details of how you are trying to do this with Maven and what exactly "doesn't work" mean.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBoss 5 Exploded and Incremental Deploy