I was talking about this issue[1] with Jerome and he mentioned that
there is already support to specify port. When I do asadmin --help, I see
-p --port
The HTTP port or HTTPS port for administration. This
port is the port in the URL that you specify in your web
browser to manage the domain, for example,
http://localhost:8080/admin.
So I try to start asadmin by giving -p argument but it fails:
-------
vivekmz_at_boson(543)> ./bin/asadmin -p 3000 start-domain
Remote server does not listen for requests on [boson:8,080].
Is the server up?
Command -p failed.
-----
How am I supposed to use it? Or this is not something meant to be used
to start the server with user defined port number? The description is
confusing and not sure what it is intended for.
I need such feature from admin-cli for the gem.
-vivek.
[1]
https://glassfish.dev.java.net/issues/show_bug.cgi?id=3964