List all deployed artifacts in wildfly 8

JBoss Wildfly comes with a very handy command line interface

Jboss-cli can execute arbitrary commands on your wildfly installation.

Example: Using this tool it’s very easy to get an overview over all currently deployed artifacts (ear, war and jar deployments):

volkers-imac:~ mupfel$ --connect --commands="ls deployment"
volkers-imac:~ mupfel$

It can get even easier: By defining an alias:

volkers-imac:~ mupfel$ alias lsd=' --connect --commands="ls deployment"'
volkers-imac:~ mupfel$ lsd
volkers-imac:~ mupfel$

Add this alias to your ~/.bash_profile and the alias is available everytime you log in.

You could undeploy an artifact: --connect --commands="undeploy mysql-connector-java-5.1.26.jar, undeploy wildfly.war"

And much more… For more detailed Information on jboss-cli please refer to:

About javavolker71

when i do not write posts on this blog, don't work on or try to break my code i'm spending a reasonable amount of time
This entry was posted in IT, JEE7, OS X, wildfly8. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s