Deployment files are not purged in EAP 6 domain mode with stopped servers.

Solution Unverified - Updated -

Issue

  • We are using EAP 6.3.3.GA . When removing a deployment from a stopped AS, it is correctly removed from the meta-data but the files remain inside $JBOSS_HOME/domain/servers/SERVERNAME/data/content. They are not purged on server start. When done with the AS up, the files are correctly purged. This is of course a workable workaround, but we would prefer to avoid it. Is there a mean to automatically purge these files?
  • In our JBoss EAP 6.2.4 servers we are having many directories under $JBOSS_HOME/domain/servers/$ServerName/data/content/ which are not getting cleaned up on its own. It supposed to be removed soon after deployment/undeployment in the JBoss server.
  • We have an Issue on a server installed JBoss EAP 6.1. There are a lot of files and directories under the /data/content/ directories like ab, ac, ed, df, ea, e2, etc which are consuming a lot of space like 8 GB to 15GB. The 50GB Storage is almost fully used. Our Monitoring tool is now creating alerts because the threshold is reached. Our questions are :
    • How we can delete this files and remove this directories ?
    • Why the JBoss Server does not delete by himself ?
    • How we can know what directory can be delete ?
  • Would like to check if it is ok the clean up domain/servers/server1/data/content and how should we do it?
  • When we update a war, we find that old content folder in jboss-eap-6.3/domain/servers/[servername]/data/content folder are not removed, is this right? Why EAP did not erase old content ?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.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.