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.
How to split war files if the file size is large and deploy it in same context root
1.4k Views Asked by vairam At
2
There are 2 best solutions below
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?
Related Questions in JSP
- Why we use double % in Java or JSP
- How to get specific values from select menu and use her in mysql query?
- How to compile an individual jsp file from command line
- How to keep a variable in the URL when using Spring LocaleChangeInterceptor
- How to pass value from input text to jsp variable?
- Importing a downloaded JAR file into a Servlet
- Upload PDF and display on same page
- Use javascript variables in JSP code
- How to add '%' symbol in textbox using jsf and jsp?
- Execute RequestDispatcher after 5 seconds
- Score book using javabean; how do I get overall average?
- Struts2 jqGrid DatePicker in Column Filter
- java.lang.StackOverflowError in spring controller
- Error on java application
- Requested Resource is not available error
Related Questions in JBOSS
- Spring - configure Jboss Intros for xml with java config?
- Set system properties in standalone-full.xml in wildfly 8.2
- Jboss showing this error in eclipse
- Errors in named queries: findByName in JBoss AS7 with Hibernate 3.6 and OJdbc6
- How can I make JBoss launch block until build workspace is complete?
- Hot deploying HTML templates generates question marks in the place of chinese characters - only on CentOS
- Maven not picking JAVA_HOME correctly on Bamboo
- JDiameter and SCTP throw SCTPManagement exception
- Method invocation failed when throwing exception from web service
- "Destroying connection that could not be successfully matched"
- Class Path entry my.jar does not point to a valid jar for a Class-Path reference
- Arquillian don't clean deployment from JBoss when run from console
- Error installing JBoss BPM Suite
- Deploye two wars with different domain name but same context-path in same jboss-4.0.3
- Issue with Project References in Java Web Application
Related Questions in WAR
- Openshift context path
- Docker tomcat edit expanded war files
- Create skinny War file using Maven in Mavenized Grails
- Exclude one role in web.xml
- how to generate a checksum for a war file in maven
- JBoss eap 6.4 cli name deployment
- Displaying version and date of build in the xhtml page from manifest in run time
- (Java)How to change picture(War Card Game)
- Multiple context root for single war deployment jboss-EAP-6.1
- Can not build war from grails project
- Spring boot war file deploy on Tomcat
- What's "grails package" actually do?
- Grails action is secured when I use run-app but not when .war is deployed
- Spring Boot War file gets 404 on ec2
- Disable scanning of CDI beans in WAR
Related Questions in CONTEXTROOT
- Multiple context root for single war deployment jboss-EAP-6.1
- Is it possible not to have to hardcode context root to user react-router
- Why does the request-uri contains context-path for default application?
- Is there a generic way to specify the context-root for a WebService?
- errors deploying WAR in root context on GlassFish 3.1
- How to split war files if the file size is large and deploy it in same context root
- How to set JBoss Wildfly context root with XML-less Spring web application?
- how to redirect an application to error page when accessing without context root
- Map several context roots to one web-uri in application.xml
- Maven portlet context root on WAS 8.5.5.13
- Setting fixed context root of a Tapestry app deployed on Glassfish
- Message: Unexpected element 'context-root' encountered , Unable to deploy on jboss 7.3.10 | Default context root configuration on jboss-web.xml
- Context root folder location in WebSphere
- Spring boot - Deploy war Application in Tomcat Root
- How to append context root in IBM HTTP Proxy for Liberty Server
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I don't think that it is possible. Take a look at a thread - Multiple war files for a single webapp or context - coderanch