Another option would be to use the GShell command deploy/login by updating your server to v18.104.22.168 or above, which is based on G2.1.4.
You only need to input the username/password once, after that you won't be bothered to input them from command line interface any more.
Similar information was documented in G2.1 doc at
Is this a Linux O/S?
If so, do you have an init script that does the shutdown. If it's
Linux I assume so, because the alternative would be a kill signal.
So, to do this in Linux I stored my username and password in file
which only root can read, then I have these added to the geronimo.sh
script's arguments. Something like:
/path/to/geronimo/bin/geronimo.sh stop --user
`</path/to/username.file` --password `</path/to/password.file`
On Fri, Oct 16, 2009 at 7:21 AM, jithesh <firstname.lastname@example.org> wrote:
> I am using wasce 2.0 as my appserver. I am running it under my wmware
> instance. My problem is if I shutdown the wmware instance , the wasce asks
> the username and password and waits there. This halts wmware from shutiing
> down. Is it possible to disable this feature while shutdown process.
> JIthesh PM.
> View this message in context: http://www.nabble.com/Disable-username-password-authentication-while-server-shutdown-tp25919987s134p25919987.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.