[jboss-dev] VHosts in AS 6 and naming

Remy Maucherat remy.maucherat at gmail.com
Thu Sep 16 07:28:21 EDT 2010


On Thu, Sep 16, 2010 at 1:17 PM, Heiko W.Rupp <hrupp at redhat.com> wrote:
> Please make sure, management methods for the vhosts
> are present as well.

Ok, let me know what you need and I can have a look.

> In previous AS versions, one had to parse MBean names
> to 'guess' the vhosts.

The object name does contain the vhost name, that's also something
which is used in the AS code.

> We have/had huge issues in JON when writing the response time
> gathering, as there is no way to get the vhost a request is targeted
> to from the web container.

A webapp does not have a Request.getHost method. You could use a valve
rather than a filter to collect that information.

Rémy



More information about the jboss-development mailing list