• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deployment wars inside ear

 
Andrey Chu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I have project composed by different war and jar modules
My current directory structure:
/server/.../deploy
--XXX.ear (directory, not file)
-----W1.war
-----W2.war
-----W3.war

For example i want to update my second war file W2.war. If i am changing only this file in XXX.ear directory, nothing happens. If i change entire XXX.ear folder, jboss starting redeploying all war files(W1, W2, W3).
But, there are many wars in my ear directory. I want to force jboss update only and only WARs, i changed, not every WAR in the ear.
Can anyone help me configuring jboss deployer to wathc into ear directory and update changed war files, and hold unchanged.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Andrey,

Welcome to JavaRanch

Which version of JBoss AS are you using? Starting AS-5, any changes to inner deployments (like war1.war) will trigger the redeployment of the entire application (all the .wars in the .ear). From what I remember, in earlier AS version, changing the inner deployment would only trigger redeployment of that inner deployment. By the way, how are you trying to trigger the redeployment of the .wars?
 
Andrey Chu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, Jaikiran
I have 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)

If i am replacing war file inside ear folder, redeployment do not start..
I am replacing war files using cp command.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic