Tomcat re-expands war application even though there are no changes in the war file when updating to JDK8u302 or later

Solution Verified - Updated -

Issue

After updating from OpenJDK8u292 to OpenJDK8u302 and restarting Tomcat, tomcat re-expands the war application even though there are no changes in the war file. The below message appears when Tomcat starts in catalina-yyyy-MM-dd.log. Why is it re-expand if there are no changes?

03-Feb-2022 18:36:17.489 INFO [main] org.apache.catalina.startup.ExpandWar.expand An expanded directory [/opt/jws-5.6/tomcat/webapps/echo] was found with a last modified time that did not match the associated WAR. It will be deleted.

Environment

  • Red Hat JBoss Web Server (JWS)
    • 5
  • OpenJDK8u302 or later

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content