[jboss-as7-dev] Cleaner welcome page

Jason T. Greene jason.greene at redhat.com
Fri Jun 10 13:05:32 EDT 2011


On 6/10/11 11:59 AM, Andrig Miller wrote:
>
>
> ------------------------------------------------------------------------
>
>     *From: *"Max Rydahl Andersen" <max.andersen at redhat.com>
>     *To: *"Brian Stansberry" <brian.stansberry at redhat.com>
>     *Cc: *jboss-as7-dev at lists.jboss.org
>     *Sent: *Friday, June 10, 2011 10:56:23 AM
>     *Subject: *Re: [jboss-as7-dev] Cleaner welcome page
>
>      >
>      > Perhaps better to just make it fixed as localhost:9990. In the
>     default
>      > configs, the interface for the management sockets is configured
>      > separately from the ones for other services, so changing the
>     others to
>      > some non-localhost value will not affect the management socket. The
>      > users have to intentionally decide to keep them in sync, and my
>     guess is
>      > they won't do that by default.
>
>     Ok - i've removed the javascript magic so its just basic
>     localhost:9990 in the pullrequest.
>
> I liked the javascript magic, because in all my testing the first thing
> I do is change the "default" interface from localhost to the IP address
> of the server, since I do all my testing on a headless server, and use
> the console from my laptop.

The real fix, that I havent had time to do yet is a simple servlet that 
looks up the management service and sends a 302 to the right place.

Any volunteers want to write that? It's probably 20 lines of code.

-- 
Jason T. Greene
JBoss, a division of Red Hat


More information about the jboss-as7-dev mailing list