2010/10/19 André Warnier <aw@ice-sa.com>:
>(...)
> In this case, the application appears in jvisualvm, as an "unknown
> application (pid xxxx)"
>
>(...)
> In this case, the application appears in jvisualvm, as a "tomcat (pid xxxx)"
>
>(...)
> To confirm this, I used the Windows Services applet to change the user under
> which tomcat runs, to be the same as my Windows login-id, then restarted the
> Service.
> And tadaaaa, jvisualvm then finds it (but as the "unknown application").
>
> So the fact of running either on the base of Registry settings or on the
> base of environment variables seems to have a bearing on jvisualvm's ability
> to find a name for the application.
>
Here is an answer:
http://stackoverflow.com/questions/1334907/jvisualvm-how-to-provide-an-icon-and-another-name-than-the-invoking-class-for-m
with more details here:
http://blogs.sun.com/geertjan/entry/getting_started_extending_visualvm_part
The summary is that jvisualvm knows certain applications, and one may
write a plugin to it to teach it to recognize more apps.
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|