Byron Nevins wrote:
> You most definitely can not use "=" unless someone else has changed cli
> framework to support it.
I turned on AS_DEBUG and get the following -
C:\v3-8-10\v3\distributions\web\target\glassfish>bin\asadmin
create-http-listener --listeneraddress 0.0.0.0 --listenerport 9090
--defaultvs server test-listener
0 descriptor =
jar:file:/C:/v3-8-10/v3/distributions/web/target/glassfish/module
s/admin-cli-10.0-SNAPSHOT.jar!/CLIDescriptor.xml
basePackage: com.sun.enterprise.admin.cli
propertyFile: LocalStrings
CLI001 Invalid Command, create-http-listener.
create-http-listener --echo=false --terse=false
--listeneraddress=0.0.0.0 --list
enerport=9090 --defaultvs=server test-listener
CLIRemoteCommandParser:
**********
name = create-http-listener
Options = {listeneraddress=0.0.0.0, listenerport=9090, defaultvs=server}
Operands = [test-listener]
**********
URI:
/__asadmin/create-http-listener?listeneraddress=0.0.0.0&listenerport=9090&d
efaultvs=server&DEFAULT=test-listener
URL: com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_21b6d
URL:
http://amy-computer:8080/__asadmin/create-http-listener?listeneraddress=0.0
.0.0&listenerport=9090&defaultvs=server&DEFAULT=test-listener
------- RAW RESPONSE ---------
Signature-Version: 1.0
exit-code: SUCCESS
message: test-listener create failed.
------- RAW RESPONSE ---------
PROCESSING MANIFEST...
test-listener create failed.
Command create-http-listener executed successfully.
> Amy,
>
> Run asadmin in debug mode immediately when you see anything wrong with
> asadmin.
>
> *export AS_DEBUG=true*
>
>
>
> Kedar Mhaswade wrote:
>
>> Is there any message in the server.log?
>>
>> BTW, the introduction of '=' between name and value of an option
>> on asadmin command line is new (AFAIK). The V2 syntax
>> is --name value. I presume we are now supporting both the syntaxes?
>>
>> -Kedar
>>
>>
>>
>> Amy Roh wrote:
>>
>>> I can no longer asadmin create-http-listener
>>>
>>> ====
>>> ...glassfish\bin\asadmin create-http-listener
>>> --listeneraddress=0.0.0.0 --listenerport=9090 --defaultvs=server
>>> test-listener
>>>
>>> test-listener create failed.
>>>
>>> Command create-http-listener executed successfully.
>>> ===
>>>
>>> The listener does not get created (note conflicting messages above).
>>> I don't observe any events getting generated either.
>>>
>>> Is this a known issue?
>>>
>>> Thanks,
>>> Amy
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> --
> Byron Nevins Work 408-276-4089, Home 650-359-1290, Cell 650-784-4123 - Sun Microsystems, Inc.
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net For
> additional commands, e-mail: dev-help_at_glassfish.dev.java.net