admin@glassfish.java.net

Changing the admin port

From: Tom Mueller <tom.mueller_at_oracle.com>
Date: Thu, 07 Oct 2010 09:57:19 -0500

  When the admin port is changed on the DAS, is the DAS supposed to
immediately close and reopen the admin-listener on the new port?

I'm looking a bugtraq bug 6961090 that reports that after doing:

asadmin set
server-config.network-config.network-listeners.network-listener.admin-listener.port=4849

then

asadmin stop-domain

fails. This is because the DAS is still listening on 4848 but
stop-domain is trying to connect to 4849.

I would think that the port should be closed and reopened. I'm also
wondering how the das.properties file gets updated on instances when
this happens.

Thanks.
Tom