We are having a war file containing jsp fils which is about 40 MB. when we deploy this file its taking long time to deploy. so we want to split the files in different wars, If we split files the context root will differ. I need a solution to bring this jsp file usder same context-root. Kindly help me to solve this problem.
Asked
Active
Viewed 1,361 times
2 Answers
3
I guess the majority of your WAR file size are libraries under /WEB-INF/lib
. You can place most (if not all) JARs in JBoss directly, which will result in very small WAR. Take a look here: Where to put a shared library in JBoss AS 5?

Community
- 1
- 1

Tomasz Nurkiewicz
- 334,321
- 69
- 703
- 674
1
I don't think that it is possible. Take a look at a thread - Multiple war files for a single webapp or context - coderanch

KV Prajapati
- 93,659
- 19
- 148
- 186
-
we are mostly lib files, so we removed it from war and deployed it in lib. thanks for your reply. – vairam Oct 24 '11 at 11:31