-
1. Re: War packaged inside a Sar fails to deploy
jaikiran Jul 16, 2012 3:53 AM (in response to openmobster)Why are you packaging a war inside .sar instead of an .ear?
-
2. Re: War packaged inside a Sar fails to deploy
openmobster Jul 16, 2012 5:59 PM (in response to jaikiran)I thought if you are developing a service it should be a sar archive. Mine is a Mobile Cloud Service with features like Data Synchronization, Push Notifications etc. It is not a Java EE App. The war file is a web interface to the system and it relies on the dependencies of its parent which is the sar file.
This setup worked great in JBoss-5.1.0.GA and something that I learned doing on JBoss Portal which also used to ship as a sar file packaged with numerous war files.
I realize that JBoss AS 7 is a complete rework and things are completely new here. Does this mean that you cannot package war files inside a sar file in AS 7. If yes could please be able to tell me how to go about achieving it.
Thanks
Sohil
-
3. Re: War packaged inside a Sar fails to deploy
jaikiran Jul 17, 2012 9:11 AM (in response to openmobster)1 of 1 people found this helpfulYou can just package the jboss-service.xml in the .ear/META-INF folder and also package the .war within that .ear. You don't need a .sar