admin@glassfish.java.net

Re: create-cluster command

From: Bhakti Mehta <bhakti.mehta_at_sun.com>
Date: Wed, 16 Jun 2010 13:27:40 -0700

I have fixed this bug.
Here are the new outputs will add devtests for this.

/Users/bhakti/gftest/foradmin/glassfishv3/glassfish/bin % ./asadmin
create-cluster --haagentport 4567 XYZ
CLI031 Warning: Option "haagentport" is obsolete and will be ignored.
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

Command create-cluster failed.
/Users/bhakti/gftest/foradmin/glassfishv3/glassfish/bin % ./asadmin
create-cluster --HeartbeatPort 4567 XYZ
Invalid option: --HeartbeatPort
Usage: asadmin [asadmin-utility-options] create-cluster [--config <config>]
    [--systemproperties <systemproperties>] [--properties <properties>]
    [-?|--help[=<help(default:false)>]] name
Command create-cluster failed.

/Users/bhakti/gftest/foradmin/glassfishv3/glassfish/bin % ./asadmin
create-cluster --heartbeatPort 4567 XYZ
Invalid option: --heartbeatPort
Usage: asadmin [asadmin-utility-options] create-cluster [--config <config>]
    [--systemproperties <systemproperties>] [--properties <properties>]
    [-?|--help[=<help(default:false)>]] name
Command create-cluster failed.


Anissa Lam wrote:
>
> 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
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>