Tech Kraft

Documentum, AWS, Java, Ruby on Rails, Linux, Windows, App Servers


JBoss: Command Line Interface [CLI]

JBoss 7 has a new Command Line Interface (CLI) which can be used to deploy or undeploy applications.

Go to the bin folder of your jboss installation

Type the following command to start the CLI:

./jboss-cli.sh

You will see the following response:

You are disconnected at the moment. Type ‘connect’ to connect to the server or ‘help’ for the list of supported commands.

Type connect

[disconnected /] connect

If you do not connect then press CTRL-C. It will say the following:

The controller is not available at localhost:9999

That means that the jboss installation is not using the standard port 9999. You can find the port in the server.xml file of the server.

Once you connect, just typing undeploy will show you all the deployments.

Typing undeploy with the name of the ear file will undeploy the application

undeploy my_app.ear

 

 



Leave a comment

About Me

Senior Software Engineer professional with over 16 years of success with multiple open source technologies and various Content Management platforms and solutions.

Proven technical abilities through numerous projects involving enterprise web application design and development, application installation, configuration and support, and workflow and collaboration system designs.

  • Ability to learn new technologies and platforms quickly and apply them to the task at hand.
  • Excellent analytical skills, and strong communication and collaboration abilities.
  • Technical emphasis in including but not limited to Java, Ruby on Rails, Documentum and Alfresco
    in both Linux and Windows based environments

Newsletter