dev@glassfish.java.net

Re: API to determine what configuration my server is running

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Tue, 29 Aug 2006 16:44:00 -0700

Anissa,

Use the AMX SystemInfo MBean:

final boolean multipleServers = systemInfo.supportsFeature
( CLUSTERS_FEATURE );

Lloyd Chambers

On Aug 29, 2006, at 2:54 PM, Anissa Lam wrote:

>
> I am looking for an API that i can use to determine at runtime
> whether my domain is configured with cluster support or not. In
> other words, how can i tell whether i am running in a
> configuration that results from doing 'configure-runtime' (PE)
> or 'configure-cluster' (EE)?
>
> thanks
> Anissa.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>