我正在尝试使用 jdk6 中打包的 visualvm 工具来分析本地 JBoss 7 服务器。我可以将 visualvm 连接到本地 jboss 服务器。但是如果我在 visualvm 的分析器选项卡中启动 CPU 分析,JBoss 服务器会转储很多错误消息,如下所示。
为什么?
11:22:38,220 INFO [stdout](*** Profiler Agent 通信线程) Profiler Agent:等待端口 5140 上的连接(协议版本:9) 11:22:38,320 INFO [stdout](*** Profiler Agent 特殊执行线程 5) Profiler Agent:与工具建立本地连接 11:22:49,516 错误 [stderr] (server-timer1) 线程“server-timer1”中的异常 java.lang.ClassCircularityError: org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr 11:22:49,520 错误 [stderr] (server-timer1) at org.jboss.sun.net.httpserver.ServerImpl$ServerTimerTask1.run(ServerImpl.java:895) 11:22:49,524 错误 [stderr] (server-timer1) at java.util.TimerThread.mainLoop(Timer.java:512) 11:22:49,526 错误 [stderr] (server-timer1) at java.util.TimerThread.run(Timer.java:462) 11:22:49,528 错误 [stderr](RMI TCP 连接(空闲))线程“RMI TCP 连接(空闲)”中的异常 java.lang.ClassCircularityError:org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr 11:22:49,532 错误 [stderr] (RMI TCP Connection(idle)) 在 org.jboss.logmanager.Logger.isLoggable(Logger.java:153) 的线程“RMI TCP Connection(idle)”中出现异常 11:22:49,535 错误 [stderr] (RMI TCP Connection(idle)) 在 sun.rmi.runtime.Log$LoggerLog.isLoggable(Log.java:206) 11:22:49,538 错误 [stderr] (RMI TCP Connection(idle)) 在 sun.rmi.runtime.Log$LoggerLog.log(Log.java:210) 11:22:49,539 错误 [stderr] (RMI TCP Connection(idle)) 在 sun.rmi.transport.tcp.TCPConnection.close(TCPConnection.java:201) 的线程“RMI TCP Connection(idle)”中出现异常 11:22:49,542 错误 [stderr](RMI TCP 连接(空闲))在 sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:564) 11:22:49,545 错误 [stderr] (RMI TCP Connection(idle)) 在 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) 11:22:49,547 错误 [stderr](RMI TCP 连接(空闲))在 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) 11:22:49,549 错误 [stderr] (RMI TCP Connection(idle)) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 11:22:49,552 错误 [stderr] (RMI TCP Connection(idle)) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 线程“RMI TCP Connection(idle)”中的异常 11:22:49,556 错误 [stderr] (RMI TCP Connection(idle)) at java.lang.Thread.run(Thread.java:619) 11:22:49,560 错误 [stderr](RMI TCP 连接(空闲))线程“RMI TCP 连接(空闲)”中的异常 java.lang.ClassCircularityError:org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr 11:22:49,563 错误 [stderr](RMI TCP 连接(空闲))线程“RMI TCP 连接(空闲)”异常在 org.jboss.logmanager.Logger.isLoggable 线程“RMI TCP 连接(空闲)”中出现异常(记录器.java:153) 11:22:49,567 错误 [stderr] (RMI TCP Connection(idle)) 在 sun.rmi.runtime.Log$LoggerLog.isLoggable(Log.java:206) 的线程“RMI TCP Connection(idle)”中出现异常 11:22:49,569 错误 [stderr] (RMI TCP Connection(idle)) 在 sun.rmi.runtime.Log$LoggerLog.log(Log.java:210) 11:22:49,572 错误 [stderr](RMI TCP 连接(空闲))线程“RMI TCP 连接(空闲)”中的异常线程“RMI TCP 连接(空闲)”中的异常线程“RMI TCP 连接(空闲)”中的异常在 sun.rmi.transport.tcp.TCPConnection.close(TCPConnection.java:201) 11:22:49,577 错误 [stderr](RMI TCP 连接(空闲))在 sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:564) 11:22:49,581 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) 处的错误 [stderr] (RMI TCP Connection(idle)) 11:22:49,584 错误 [stderr] (RMI TCP Connection(idle)) 在 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) 11:22:49,588 错误 [stderr] (RMI TCP Connection(idle)) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 11:22:49,592 错误 [stderr] (RMI TCP Connection(idle)) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 11:22:49,595 错误 [stderr] (RMI TCP Connection(idle)) at java.lang.Thread.run(Thread.java:619) 11:22:49,597 错误 [stderr] (RMI TCP Connection(idle)) java.lang.ClassCircularityError: org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr