[jboss-as7-dev] shutdown.sh equivalent

Brian Stansberry brian.stansberry at redhat.com
Thu Apr 7 12:33:01 EDT 2011


On 4/7/11 4:12 AM, Max Rydahl Andersen wrote:
>
>> ./jboss-admin.sh --connect --exec=:shutdown
>>
>> Basically --exec means "execute one command and exit".
>
> Why not just ./jboss-admin.sh :shutdown ?
>
> or
>
> ./jboss-admin.sh -exec :shutdown
>
> And make the console text output much less noisy and voila you got some
> clean scripting possibilities ;)
>
> and I was wondering if we shouldn't just have ./jboss-admin.sh
> do connect automatically to localhost since its what you want to do 99% out of the time is it not ?
>

We should look into whether that can be the default when it's clear what 
all we'll need to do to provide secure access.

> /max
>
>
>
>>
>> On 4/6/11 3:29 AM, Jaikiran Pai wrote:
>>> Now that the JIRA has been resolved, what's the script/command to
>>> shutdown the server? I'm configuring some hudson jobs which will need
>>> this shutdown command to start/stop the server.
>>>
>>> -Jaikiran
>>> On Tuesday 22 March 2011 05:49 AM, Jason T. Greene wrote:
>>>> Looks like we are missing an operation for standalone mode:
>>>> https://issues.jboss.org/browse/JBAS-9104
>>>>
>>>> I'll get that to you ASAP.
>>>>
>>>> So right now the only reliable way is to send it a SIGINT or SIGTERM.
>>>>
>>>> On 3/21/11 6:50 PM, Scott Stark wrote:
>>>>> For the current usage I need to be able to shutdown a standalone node,
>>>>> so we could just add shutdown option to the standalone.sh, or have the
>>>>> shutdown.sh. What is the syntax for shutting down a standalone instance
>>>>> via the CLI?
>>>>>
>>>>> On 3/21/11 4:38 PM, Jason Greene wrote:
>>>>>> The intention was that we would just use the CLI to do that. Although currently we do t have the convenience commands yet, the CLI just executes management operations. We could make a shutdown.sh that calls the CLI with the convenience command, if you think people will expect it. It would not work for domain mode though.
>>>>>>
>>>>>> Sent from my iPad
>>>>>>
>>>>>> On Mar 21, 2011, at 6:29 PM, Scott Stark<sstark at redhat.com>      wrote:
>>>>>>
>>>>>>> What is the as7 equivalent of the shutdown.sh command?
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> jboss-as7-dev mailing list
>>>>>>> jboss-as7-dev at lists.jboss.org
>>>>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>>>
>>>>> _______________________________________________
>>>>> jboss-as7-dev mailing list
>>>>> jboss-as7-dev at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> jboss-as7-dev mailing list
>>> jboss-as7-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>
>>
>> --
>> Brian Stansberry
>> Principal Software Engineer
>> JBoss by Red Hat
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
> /max
> http://about.me/maxandersen
>
>
>


-- 
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat



More information about the jboss-as7-dev mailing list