dev@glassfish.java.net

Re: support for specifying port to asadmin deploy

From: Vivek Pandey <Vivek.Pandey_at_Sun.COM>
Date: Fri, 23 May 2008 16:40:19 -0700

I should have mentioned that I had tried it too but fails:

----------
asadmin start-domin -p 3000
Closest matching command(s):
    start-domain
Remote server does not listen for requests on [boson:3,000].
Is the server up?
Command start-domin failed.
-----------

-vivek.


Byron Nevins wrote:
> -p is an argument for the start-domain command, not for asadmin itself.
>
> You did this:
> ./bin/asadmin -p 3000 start-domain
>
> You SHOULD do this:
> ./bin/asadmin start-domain -p 3000
>
>
> Vivek Pandey wrote:
>
>> 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
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>