O'Reilly logo

JBoss AS 7 Configuration, Deployment, and Administration by Francesco Marchioni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix A. Appendix

In this appendix, we will provide a quick reference for the most common commands and operations, which can be used to manage the application server with the CLI. For the sake of brevity, only the jboss-admin.sh script (Linux environment) is mentioned. Windows users should just replace this file with the equivalent jboss-admin.bat.

Startup options

The following commands can be useful to startup the CLI in a non-interactive way:

  • Pass script commands to the jboss-admin shell:
    ./jboss-admin.sh --connect command=:shutdown
    
  • Execute a CLI shell contained in a file:
    ./jboss-admin.sh --file=test.cli
    

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required