dev@glassfish.java.net

Re: Set a DerbyPool property to all instances in a cluste

From: Jagadish Prasath Ramu <Jagadish.Ramu_at_Sun.COM>
Date: Fri, 05 Nov 2010 13:14:02 +0530

Seems like domain.resources / server.resources are aliased "set"
commands and does not seem to replicate it across the domain.

Following format gets replicated :
asadmin set
resources.jdbc-connection-pool.DerbyPool.property.serverName=localhost

Thanks,
-Jagadish

On Thu, 2010-11-04 at 22:34 -0700, Ming Zhang wrote:
> I am looking for a way to set a DerbyPool property to all instances of
> a cluster. Currently, I use following steps:
> 1. To set on DAS: asadmin set
> domain.resources.jdbc-connection-pool.DerbyPool.property.serverName=$DerbyHost
> 2. Restarting the cluster to have that property propagated to all
> instances.
> Is there a better way to do this? Restarting cluster for a property
> setting seems not very efficient.
>
> Thanks,
> Ming