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

JBoss 5 Exploded and Incremental Deploy

 
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
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
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.
 
Himalay Majumdar
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
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

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
Posts: 324
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
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

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.
 
A day job? In an office? My worst nightmare! Comfort me tiny ad!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic