Advertise with us

Our eBooks

How do I check my application status from shell?

 

This is a two process step: at first you need to retrieve the deployment-id associated with your application:

twiddle -s localhost:1099 query jboss.web.deployment:*

jboss.web.deployment:war=invoker.war,id=1188245482
jboss.web.deployment:war=jbossmq-httpil.war,id=818328454
jboss.web.deployment:war=jmx-console.war,id=-742061087
jboss.web.deployment:war=jboss-seam-registration.war,id=209639553
jboss.web.deployment:war=jbossws-context.war,id=270573684
jboss.web.deployment:war=jboss-profiler.war,id=1640316612
jboss.web.deployment:war=jboss-seam-messages.war,id=-632397857
jboss.web.deployment:war=ROOT.war,id=1273039891
jboss.web.deployment:war=jboss-seam-numberguess.war,id=-1863357686
jboss.web.deployment:war=Gap.war,id=-1263613270
jboss.web.deployment:war=web-console.war,id=2121270277

Now feed this id to twiddle issuing a get request :

twiddle -s localhost:1099 get --noprefix "jboss.web.deployment:war=Gap.war,id=-1263613270" StateString

Started

Notice that Unix users can use the magic "expansion" facility to get this just in one step:

./twiddle.sh -s 127.0.0.1:1099 get --noprefix `./twiddle.sh -s 127.0.0.1:1099 query jboss.web.deployment:* | grep war_name` StateString

© 2021 mastertheboss.com. All Rights Reserved.

Please publish modules in offcanvas position.