admin@glassfish.java.net

Re: create-cluster command

From: Anissa Lam <anissa.lam_at_oracle.com>
Date: Wed, 16 Jun 2010 13:16:55 -0700

No problem. I just not sure if this is a bug or not yet completed task.

thanks
Anissa.

Bhakti Mehta wrote:
> I will fix that. Sorry about that.
>
> Anissa Lam wrote:
>>
>> Is the implementation for the create-cluster command complete ?
>> It seems that it only takes the 'out-dated' attributes, but then get
>> an error in the config layer later.
>> If i specify the new attribute name, it won't recognize it.
>>
>> Here is my experience:
>>
>> %asadmin create-cluster --haagentport 4567 XYZ
>> remote failure: Exception while adding the new configuration
>> org.jvnet.hk2.config.TransactionFailure: Injection failed on int
>> com.sun.enterprise.config.serverbeans.Cluster$Decorator.haagentport :
>> org.jvnet.hk2.config.TransactionFailure: Injection failed on int
>> com.sun.enterprise.config.serverbeans.Cluster$Decorator.haagentport
>>
>>
>> %asadmin create-cluster --HeartbeatPort 4567 XYZ
>> Invalid option: --HeartbeatPort
>> Usage: asadmin [asadmin-utility-options] create-cluster [--portbase
>> <portbase>]
>> [--haproperty <haproperty>] [--devicesize <devicesize>]
>> [--haadminpasswordfile <haadminpasswordfile>] [--autohadb <autohadb>]
>> [--hosts <hosts>] [--haadminpassword <haadminpassword>]
>> [--config <config>] [--systemproperties <systemproperties>]
>> [--properties <properties>] [--haagentport <haagentport>]
>> [-?|--help[=<help(default:false)>]] name
>> Command create-cluster failed.
>>
>> %asadmin create-cluster --heartbeatPort 4567 XYZ
>> Invalid option: --heartbeatPort
>> Usage: asadmin [asadmin-utility-options] create-cluster [--portbase
>> <portbase>]
>> [--haproperty <haproperty>] [--devicesize <devicesize>]
>> [--haadminpasswordfile <haadminpasswordfile>] [--autohadb <autohadb>]
>> [--hosts <hosts>] [--haadminpassword <haadminpassword>]
>> [--config <config>] [--systemproperties <systemproperties>]
>> [--properties <properties>] [--haagentport <haagentport>]
>> [-?|--help[=<help(default:false)>]] name
>> Command create-cluster failed.
>>
>>
>> thanks
>> Anissa.
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>