2 Replies Latest reply: Apr 19, 2012 10:11 AM by Manuel J. RSS

How to stop jboss 7.1.1.Final  programmatically?

Manuel J. Newbie

Hi everyone!.

I'm trying to programmatically stop J
boss-as-7.1.1.FinalI started the server with the standalone.bat but I can´t use the jboss-cli.bat script to stop it.

I used the jboss-cli.bat - connect - command =: shutdown in a command line and works fine, but i need to do this
programmatically.

I can use some api for this?. Some code example?

Thanks for your ideas and help!!.