Fail to remove the content file from the domain/servers/serverName/data/content folder when undeploying application from a stopped server.

Solution Verified - Updated -

Environment

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

Issue

  • Fail to remove the content file from the domain/servers/serverName/data/content folder when undeploying application from a stopped server.
  • Is there anyway to config how many folders are in $JBOSS_HOME/domain/data/servers//content directory? We prefer not to delete them manually.

Resolution

Upgrade to EAP 6.4.

As workaround there is two available options:

Do entire deployment process without stop the Managed Servers

Or

Before to start the deployment process remove the  domain/servers/serverName/data/content directory from Managed Servers in question. All deployments assigned to the Server Group in question will be copied again. 

Root Cause

There were several bugs discovered in EAP 6, and at the time of release, all known bugs causing this problem were fixed in EAP 6.4. Bugs include:
* https://bugzilla.redhat.com/show_bug.cgi?id=1018026

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments