users@glassfish.java.net

Re: Asadmin to disable http listener

From: Comerford, Sean <Sean.Comerford_at_espn.com>
Date: Thu, 25 Mar 2010 11:20:25 -0400

I think I was going about this the wrong way trying to use asadmin disable

This does what I want:

asadmin set --port <xxxx> server.http-service.http-listener.http-listener-1.enabled=<true|false>

But if there’s a better way, I’d be happy to hear it.

On 3/25/10 11:05 AM, "Comerford, Sean" <Sean.Comerford_at_espn.com> wrote:

Stupid question:

What is the asadmin command(s) to disable & enable an http listener (i.e. http-listener-1)?


--
Sean Comerford, Software Engineer
ESPN.com Site Architecture Group
Office: 860.766.6454    Cell: 860.329.5842