- Red Hat JBoss Enterprise Application Platform (EAP)
- How do I recover the
earfiles after deployment?
- Where are the deployed
war files deployed by
Deployment Scanner can be recovered from the
If the application was deployed using
JBoss CLI or using the
Web Console then it can be recovered from
content file can be copied out and renamed to
xx/xxxxx part is based on the sha1 hash of the war file that can be found in the
<deployments> section of
<deployments> <deployment name="jboss-helloworld.war" runtime-name="jboss-helloworld.war"> <content sha1="1e4142ff9fea7342e3ab83c8bc9add5a7d63042f"/> </deployment> </deployments>
Would result in a directory named
Deployment Scanner is only available in
Standalone Mode so there is no
/deployments folder in
Domain Mode that allows recovery of the deployed files.
For the CLI, the instructions are the same as standalone, but the content root directory is found in
Note: in case of using the 7.1 version refers to Recovering a deployment content in JBoss EAP 7.1 and later article.
- Although the content file can be renamed to a war file, we do not recommend the use of this method for recovery.
- The best approach is to always keep a copy of the original file.
- Learn more
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.