How to avoid standalone.xml update at every hot deployment in EAP6/7 ?

Solution Unverified - Updated -

Issue

  • while deploying afresh application or updating an existing application via deployment-scanner, (means if an application is deployed inside the "$JBOSS_HOME/standalone/deployments" then why JBoss edits the standalone.xml file on every deployment/redeployment/update.
  • We noticed that when there is power outage or force kill the EAP process, there some cases were standalone.xml get's empty (the file size is 0 bytes). Do you know how can we prevent this from happening?

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.x
    • 7.x

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.