[jboss-user] [Beginners Corner] - How is shutdown.sh related to jmx-console?

konstandinos do-not-reply at jboss.com
Mon Oct 22 08:55:11 EDT 2007


Hi

I've figured out that in order to call shutdown.sh correctly from my /etc/init.d/jboss script (ie: when I type /etc/init.d/jboss stop) I need to use the arguments: -S -u username -p password

... and that this username/password pair is defined in JBOSS_HOME/server/default/conf/properties/jmx-console-users.properties

Now I'm wondering, what does the jmx-console webapp have to do with shutting down my JBoss instance? And since shutdown.sh is associated to jmx-console, why isn't run.sh?

I've followed the steps in securing my JBoss instance. Thus jmx-console isn't being used at all. I'm wanting to remove it alltogether, including its .properties files in the server's conf/ directory. But it seems shutting down my server correctly depends on the existenece of these .properties files.

Thanks.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097459#4097459

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097459



More information about the jboss-user mailing list