How to split war files if the file size is large and deploy it in same context root

1.3k views Asked by At

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.

2

There are 2 answers

1
KV Prajapati On

I don't think that it is possible. Take a look at a thread - Multiple war files for a single webapp or context - coderanch

0
Tomasz Nurkiewicz On

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?