admin@glassfish.java.net

Re: create-cluster, create-instances commands

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Fri, 19 Mar 2010 15:16:59 -0700

On Mar 15, 2010, at 1:52 PM, Byron Nevins wrote:

>
>
> On 3/14/2010 8:26 PM, Jerome Dochez wrote:
>> I am looking at providing support for create/delete-instance and possibly create-cluster.
>>
>> do we have documentation that explained what these commands used to do ?
>>
>> In particular I am interested to understand :
>> - where there any system property automatically added ?
>>
> Yes -- the 7 port props are automatically overridden in the server element if neccessary. And they are copied over from the default-config.
> -- This is in the case where no config is specified in the create command.
>> - ditto with resources and application-refs, were they automatically added ?
>>
> application refs are added if they are tagged as "system-all"
> Ditto for resources that have the object-type marked as "system-all"

so you mean specifically : object-type="system-all", correct ?

I can see that right now, it's system-admin.

What are the various values that can be stored in the object-type ?

seems like I need to refactor the getObjectType() which is now duplicated in all subclasses of Resource to move it in the Resource.

>
> Also -- if you add any such refs to the default-config they will be copied over.
>> jerome
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>
>>
>
> --
> Byron Nevins - Sun Microsystems, Inc.
> Home: 650-359-1290
> Cell: 650-784-4123
> Sierra: 209-295-2188
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>