• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Parallel deployment of wars in WAS

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We have two web applications each of size 111MB as of now it is taking a minimum of 30 mins for each war to get deployed in WAS, we want to redeuce the time taken for deployment and are looking for different ways we can handle this scenario. Please share your inputs regarding this.
 
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is making the WAR sizes of 111MB? Is there anything common or static content (images, html) that can be kept out and served from IBM HTTP Server.
 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I guess the size owes to libraries imported as JAR files to you WAR, possibly under web-inf/lib. If this is the case, you may use shared libraries to reduce your WAR size.

Usually most of these libraries (included JAR files) are third party libraries or libraries that do not change frequently. You may copy these to filesystem of your server and remove them from your WAR file using shared libraries, which may drastically reduce your WAR file size. This also makes it faster to build the WAR file and transfer it to server, in addition to deploying it.

You may check infocenter on how to configure shared libraries on RAD and WAS.
 
venki sheshgiri
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the response Kurtcebe and Deepak.

The total size of WEB-INF is 33MB, of which lib contributes about 20 MB,Shared Library is already created and referenced.what is the minimum set of Files I need to provide at the time of deployment AFAIK web.xml and WEB-INF/lib and WEB-INF/classes referenced inside web.xml are mandatorily required at the time of Deployment, Rest of the Files I will copy to respective directories post Deployment of war Please let me know if there is any problem adopting this approach.
 
Kurtcebe Eroglu
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
jar files under WEB-INF/lib may go to shared library folder.
 
Skool. Stay in. Smartness. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic