Deleting the data and tmp directories Before Each Restart of JBoss EAP is Not Recommended

Solution Verified - Updated -

Issue

  • Is it recommended to delete data and tmp folders? What is the best practice?
  • Does it make sense to remove the following directories? Are there any pros/cons to doing so?
        rm -rv jboss/domain/servers/*
        rm -rv jboss/domain/tmp/servers/*
        rm -rv jboss/domain/data/servers/*
        rm -rv jboss/domain/data/content/*

Environment

  • Red Hat JBoss Enterprise Application Platform (JBoss EAP)
    • 6
    • 7

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