How to recover the war/ear files deployed in JBoss EAP 6?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Issue
- How do I recover the
warorearfiles after deployment inJBoss EAP 6? - Where are the deployed
war/earfiles stored in EAP 6? - In JBoss
EAP 5.x, just copied a war/ear file from /deploy directory for recovery. How to recover those files inJBoss EAP 6?
Resolution
Standalone Mode
-
You can recover
earandwarfiles from the/deploymentdirectory${JBOSS_HOME}/standalone/deploymentsIf the application was deployed using JBoss CLI or using the web console then it can be recovered from
${JBOSS_HOME}/standalone/data/content/xxx
Domain Mode
- there is no directory that keeps the files deployed and available for recovering.
-
You can find the content of the files in:
${JBOSS_HOME}/domain/data/content/xxx- Although you can rename it (i.e.
xxx.war), we do not recommend the use of this method for recovery. - The best approach is to always keep a copy of the original file.
- Although you can rename it (i.e.
Related Solutions
How to save / download a deployment deployed in JBoss EAP 7.1 content repository
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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
