users@glassfish.java.net

Re:Disbale HTTP via JMX?

From: xuqingkang2 <xuqingkang2_at_163.com>
Date: Sat, 3 Apr 2010 01:33:06 +0800 (CST)

Instances of one Cluster share the configure, it's difficult to do so.


ÔÚ2010-04-03 01:22:19£¬"Comerford, Sean" <Sean.Comerford_at_espn.com> дµÀ£º
Is there way to toggle the property server.http-service.http-listener.http-listener-1.enabled via JMX?

Long story short, I have 2 glassfish instances in a cluster.


Disable HTTP to instance 1, reploy web abb that takes a long time to init, Reenable HTTP when ready
Repeat 1 for instance 2 in the cluster


The problem is if I disable the listener via asadmin set ... It applies to the entire cluster so I¡¯m wondering if there is an alternative way to apply to a single clustered instance.

Or a better way in general to handle this :-)
 
-- 
Sean Comerford, Software Engineer
ESPN.com Site Architecture Group
Office: 860.766.6454    Cell: 860.329.5842