开发者

Connecting to Java process running as a Windows service: How does JProfiler does it?

开发者 https://www.devze.com 2023-03-22 08:22 出处:网络
How can I connect a trace tool like JvisualVM - not using JMX - to a Java process running as Windows service?

How can I connect a trace tool like JvisualVM - not using JMX - to a Java process running as Windows service?

The JVM running as service is strted When i start JvisualVM, it does not 'see' the JVM running as service: there are some unanswered question regarding it here and here. i found some useful tips in th开发者_Go百科is blog post, but they not always work.

Jprofiler has the magic button 'Show Services' which solves to problem: does anyone know how they do it? how can i do the same to connect using JvisualVM?

0

精彩评论

暂无评论...
验证码 换一张
取 消