When deploying Tomcat Web Application (WAR) from JON, WAR is exploded even when 'Explode on Deploy' is set to false
Issue
- We are seeing the WAR we are deploying as unwar of the app
- We want the WAR to be deployed to specific location and not to be unwarred
- Why is my WAR being exploded or unpacked on deploy?
Environment
- JBoss Operations Network (JON) 3.0, 3.0.1, 3.1
- Creating new resource of type Tomcat Web Application (WAR)
- One of the following conditions applies:
- WAR deployment option Explode on Deploy is set to
NoAND Tomcat server'sserver.xmlHostelement contains the attributeunpackWARs="true"for the respective target host - WAR deployment option Explode on Deploy is set to
Yes
- WAR deployment option Explode on Deploy is set to
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
