DbAppWeb.com

Menu
  • Home
  • Linux
  • HP-UX
  • macOS
  • Windows
  • Web Servers
  • App Servers
  • Storage

How to save/download an application deployed in JBoss EAP 7.1 content repository

February 7, 2019 DbAppWeb Admin

I need to take the backup of the running application on the JBoss EAP 7.1. I tried through the Management Console but didn’t find any way to download or save the running code of applications.  I found a solution through the command line, I tried and it worked for me.

Problem

  • How to save/download a deployment deployed in JBoss EAP 7.1 content repository
  • Can retrieve the deployment from the JBoss host server in any way

Solution

In JBoss EAP 7.1, there was a feature added that allows saving a deployment from the JBoss EAP content repository. Follow the process as given below:

  • Login to the server and go to directory /opt/EAP-7.1.0/bin/
    [root@dbappweb ~]# cd /opt/EAP-7.1.0/bin/
    [root@dbappweb bin]# ll jboss-cli.sh
    -rwxr-xr-x. 1 root root    2473 Nov  4  2017 jboss-cli.sh
  • Run the jboss-cli.sh script and connect to the JBoss standalone server
    [root@dbappweb bin]# ./jboss-cli.sh
    You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
    [disconnected /] connect dbappweb:9990
  • List the deployed applications (*.war)
    [standalone@dbappweb:9990 /] ls deployment
    test.war	app.war
  • Now execute the below command, it will save the test.war deployment to /home/sonu/test.war
    [standalone@dbappweb:9990 /] attachment save --operation=/deployment=test.war:read-content() --file=/home/dbappweb/test.war
    File saved to /home/dbappweb/test.war

Reference:

https://access.redhat.com/solutions/3392691

Last Updated: February 07, 2019

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Telegram (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
Prev Article
Tags:JBoss Application Server

Leave a Reply Cancel Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Popular
  • Recent

Categories

  • Android (2)
  • Blogger (16)
  • Domain and Hosting (1)
  • Hardware Issues (7)
  • HP-UX (55)
  • HPE Data Protector (9)
  • IBM Lotus Notes (2)
  • IBM WebSphere Application Server (16)
  • Internet Tips & Tricks (15)
  • iOS (8)
  • JBoss/WildFly Application Server (2)
  • Linux (76)
  • macOS (15)
  • Microsoft Windows (31)
  • News and Updates (11)
  • Oracle Database (5)
  • SSL/TLS (1)
  • Storage Servers (23)
  • Tools/Softwares (1)
  • VMware ESXi (17)
  • Web Servers (14)
  • WordPress (5)

Archives

DbAppWeb.com

Solution of Database, Application and Web Server Problems

About DbAppWeb.com

One Stop Solution for Database Server, Application Server and Web Server Problems.

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

DbAppWeb on Social Media

Copyright © 2026 DbAppWeb.com
Terms and Conditions   Theme by MyThemeShop.com