On May 29, 12:47 pm, Vernat Emeric <
ever...@free.fr> wrote:
> Hi,
>
> You can't change the "identifier" of the webapp at the end of
> "monitoring taken at 5/8/12 3:08 PM on /enovia_ServerHostName" in the
> monitoring report of the webapp.
> Except that, as you have seen when using the optional collect server,
> the identifier displayed is the one written by yourself when adding this
> webapp in the collect server, so you can choose it in this case.
>
> But, you can add a "display name", which will be added in parentheses
> like this:
> "monitoring taken at 5/8/12 3:08 PM on /enovia_ServerHostName (this is
> the display name of the webapp)"
> For that, add the following line in the web.xml file of your webapp,
> inside the <web-app> ... </web-app> tag:
>
> <display-name>this is the display name of the webapp</display-name>
>
> This "display name" will be displayed with parentheses in the monitoring
> report of the webapp (without a collect server), and also in the
> monitoring report in the case that you are using a collect server.
>
> Sorry if I am late to think about that.
> bye,
> Emeric
>
>
>
>
> > No, haven't got back to it yet... I ended up deploying the collect
> > server, it displays the headers much better.
>
> > On May 23, 2:09 pm, Derek Hollis<
dthol...@gmail.com> wrote:
> >> Russell where you able to figure this out? I would like to do this as well.
>
> >> On Tuesday, May 8, 2012 4:49:39 PM UTC-4,
russell...@spiritaero.com wrote:
>
> >>> The default javamelody header displays as the following:
> >>> Statistics of JavaMelody monitoring taken at 5/8/12 3:08 PM on /
> >>> enovia_ServerHostName
> >>> I would like this to display my full tomcat instance name (like
> >>> enovia_dev1) instead of appending the hostname on to the file. When
> >>> you have multiple tomcat instances on a given host the reports all
> >>> have the same header and you can not tell what report you viewing..
> >>> Any assistance would be appreciated.
> >>> Thanks.- Hide quoted text -