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 answers
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
- Unable to compile the class for JSP in tomcat 8.5.95
- Liberty doesn't compile JSP
- Why ${message} appear as it is in View and not the real message passed in Spring MVC controller
- How can i connect my 4 objects in my jsp file so it can run perfectly
- An error occurred: Cannot run program "C:\Users\ford\AppData\Local\Programs\Python\Python311\python.exe": CreateProcess error=5, Access is denied
- Issue with dropdown menu in the jsp page(cannot import the choice in the db)
- java.lang.ClassNotFoundException: org.apache.jsp.WEB_002dINF.jsp.ImportTab_jsp
- javascript function changes when used with jsp
- Database ConnectionError
- Where should i place my index.jsp and index.jsp1 for my app to run in tomcat app
- How to fix checkmarx reflected XSS attack in JSP page?
- JSP: "object cannot be resolved to a variable" when used in nested tag
- How to use JSTL in JSP: jakarta.servlet.ServletException: java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagLibraryValidator
- How to setup jsp Pages on a Webserver
- File uploaded from jsp is not making it to servlet
Related Questions in JBOSS
- Spring's XML based bean configuration for Object Mapper's Case Insensitive property
- jboss configuration via ipv6 version jboss-eap-7.4
- class org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher does not implement jakarta.servlet.Servlet
- Eclipse deploy to Local JBOSS fails
- JBoss 4.x to Glassfish 2022 and Java 6 to Java 8 causes 1 non-XA Resource Exception
- SM Session Authentication issue from Site Minder getting HTML Login Page
- Facing [io.undertow.request.io] (default task-4) Exception handling request to /business-central/: java.io.IOException: UT010029: Stream is closed
- How to get the current number of in-use bean instances (MDB) from Wildfly?
- JConsole of JBoss EAP 7.1.1.0.10 has differences between two installation
- In what order are the bean instance pools settings applied in Jboss 7.3
- Spring boot app in WildFly 7 - endpoint not found
- how does one fix a class not found error in jboss 7.4?
- Unable to start Jakarta EE based JSF web application on JBoss EAP 7.4.6
- Deploying Jakarta EE 9 on JBoss 7.4
- How can I create a container from the jboss amq-7-broker-image repo image
Related Questions in WAR
- Jmix framework throws error building WAR file
- Maven including multiple versions of spring dependencies
- Dockerized Spring Boot app can't load file in war
- JPA/REST Application as a .war file?
- maven-war-plugin upgrade to java 21
- Tomcat 9 error on WAR deployment tries to read logging configuration from wrong location
- How to obfuscate WAR with maven plugin for Proguard?
- Getting "Failed to clear soft references from ObjectStreamClass$Caches for web application" error while starting app- tomcat8
- Maven War file issue at tomcat server | Ubuntu
- Angular Routes Issue in Wildfly Deployment: Routing Fails in .war Packaged Application Using "jar -cfv"
- Glassfish6 WAR Module Doesn't Boot as ejb,web,webservice despite having @WebService Annotation
- broadleafcommerce with tomcat10 standalone
- Troubleshooting Deployment Issues with Spring Boot WAR on Tomcat 11 and JDK 21 on Windows vServer
- How to prevent MVN from changing file dates as it packages a WAR file?
- Oracle Weblogic: Application never RUNNING, always STARTING in and no errors in logs
Related Questions in CONTEXTROOT
- How to set different context paths for web and webservice
- Context Path not found after migrating to Springboot 3 and Spring 6
- Message: Unexpected element 'context-root' encountered , Unable to deploy on jboss 7.3.10 | Default context root configuration on jboss-web.xml
- Set context root in Spring Boot web application
- Spring boot - Deploy war Application in Tomcat Root
- Angular: serving application on custom context-root with npm start on localhost
- how to redirect an application to error page when accessing without context root
- Multiple Context path for different war in WildFly
- How to set JBoss Wildfly context root with XML-less Spring web application?
- Zuul api-gateway does not work with context root
- Context root folder location in WebSphere
- Multiple web services with same context root
- Migrate JAX-WS 1 WAR with Multiple Web Services to Multiple WARs with 1 Web Service Keeping Endpoints
- Maven portlet context root on WAS 8.5.5.13
- IBM Liberty Profile Context Root Not Found
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?
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)
I don't think that it is possible. Take a look at a thread - Multiple war files for a single webapp or context - coderanch