When deploying Tomcat Web Application (WAR) from JON, WAR is exploded even when 'Explode on Deploy' is set to false

Solution Unverified - Updated -

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 No AND Tomcat server's server.xml Host element contains the attribute unpackWARs="true" for the respective target host
    • WAR deployment option Explode on Deploy is set to Yes

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.