Bill Shannon wrote:
> kedar wrote:
>> If we change the "names" of the default profiles that
>> are bundled with the product, then this would have to
>> change. But the idea is that going ahead, if this feature
>> is liked by developers/administrators, they can actually
>> ask us to take the "default-config" from a particular profile.
>>
>> So, I do think that accepting the name of the profile is
>> a good idea and makes the code flexible. It's just that
>> for GlassFish V2, admin console sends in a profile name
>> which is "cluster" (or whatever we decide). Going ahead, it
>> might present you a list of profiles that are available
>> to choose the default-config from. Again, the reason is
>> that the default-config might be different for different
>> profiles.
>
> It's just weird that part of what this button does is wired
> into the code, and the other part is taken from a profile template.
> Allowing me to select among multiple templates isn't a completely
> general solution, and it's not clear that it would always make
> sense.
>
The part that happens in code is pretty small. In fact, the
code modifies the admin server's configuration itself, which
is independent of default-config.
> If we had a general "modify the current domain to be like the selected
> domain" button, that would be cool, but a lot of work. I thought this
> button had limited scope, just "modify the current domain to support
> clusters".
>
Yes. Your understanding is correct. The only purpose
it currently serves is to select the default-config from a particular
template. The reason it accepts is a profile name imparts some
flexibility in the choice of default-config.
> And hopefully in the future we'll eliminate the need for the button,
> so there would be little reason to generalize it.
No need to explicitly add cluster support or in other words, cluster
support always available and used only when needed -- that's the goal.
In the event we are not able to achieve it, it may make sense to
give that flexibility.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>