users@glassfish.java.net

Re: How to start the server with a disabled HTTP listener

From: <glassfish_at_javadesktop.org>
Date: Tue, 04 Aug 2009 09:15:32 PDT

Thanks for the answer, but I want to avoid hacking the domain.xml.

I would like to implement the LifeCycleListener interface and on the startup event,
get hold of the DomainRoot and disable the http listener using AMX.

How do I access the AMX DomainRoot from [i]inside[/i] of the Glassfish server?
[Message sent by forum member 'jthoennes' (jthoennes)]

http://forums.java.net/jive/thread.jspa?messageID=358813