Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xslt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用VisualVm评测本地JBoss 7时出错_Jboss_Rmi_Visualvm - Fatal编程技术网

使用VisualVm评测本地JBoss 7时出错

使用VisualVm评测本地JBoss 7时出错,jboss,rmi,visualvm,Jboss,Rmi,Visualvm,我正在尝试使用jdk6中打包的visualvm工具评测本地JBoss7服务器。我可以将visualvm连接到本地jboss服务器。但是如果我在visualvm的profiler选项卡中启动CPU评测,JBoss服务器会转储大量错误消息,如下所示 为什么? 11:22:38220信息[stdout](***探查器代理通信线程)探查器代理:正在端口5140上等待连接(协议版本:9) 11:22:38320信息[stdout](***探查器代理特殊执行线程5)探查器代理:已建立与工具的本地连接 11:

我正在尝试使用jdk6中打包的visualvm工具评测本地JBoss7服务器。我可以将visualvm连接到本地jboss服务器。但是如果我在visualvm的profiler选项卡中启动CPU评测,JBoss服务器会转储大量错误消息,如下所示

为什么?

11:22:38220信息[stdout](***探查器代理通信线程)探查器代理:正在端口5140上等待连接(协议版本:9) 11:22:38320信息[stdout](***探查器代理特殊执行线程5)探查器代理:已建立与工具的本地连接 11:22:49516错误[stderr](server-timer1)线程“server-timer1”java.lang.ClassCirculartyError:org/netbeans/lib/profiler/server/profilerrontimecpufullinstr中出现异常 11:22:49520 org.jboss.sun.net.httpserver.ServerImpl$ServerTimerTask1.run上的错误[stderr](server-timer1)(ServerImpl.java:895) 11:22:49524 java.util.TimerThread.mainLoop(Timer.java:512)处的错误[stderr](server-timer1) 11:22:49526 java.util.TimerThread.run(Timer.java:462)处的错误[stderr](server-timer1) 11:22:49528错误[stderr](RMI TCP连接(空闲))线程“RMI TCP连接(空闲)”java.lang.ClassCirculartyError:org/netbeans/lib/profiler/server/profilerrontimecpufullinstr中出现异常 11:22:49532 org.jboss.logmanager.Logger.isLoggable(Logger.java:153)上的线程“RMI TCP连接(空闲)”中出现错误[stderr](RMI TCP连接(空闲))异常 11:22:49535 sun.RMI.runtime.Log$LoggerLog.isLoggable(Log.java:206)处的错误[stderr](RMI TCP连接(空闲)) 11:22:49538 sun.RMI.runtime.Log$LoggerLog.Log(Log.java:210)处的错误[stderr](RMI TCP连接(空闲)) 11:22:49539 sun.RMI.transport.TCP.TCPConnection.close(TCPConnection.java:201)处的线程“RMI TCP连接(空闲)”中出现错误[stderr](RMI TCP连接(空闲))异常 11:22:49542 sun.RMI.transport.TCP.tcpttransport.handleMessages(tcpttransport.java:564)处的错误[stderr](RMI TCP连接(空闲)) 11:22:49545 sun.RMI.transport.TCP.tcpttransport$ConnectionHandler.run0(tcpttransport.java:790)处的错误[stderr](RMI TCP连接(空闲)) 11:22:49547 sun.RMI.transport.TCP.tcpttransport$ConnectionHandler.run(tcpttransport.java:649)处的错误[stderr](RMI TCP连接(空闲)) 11:22:49549 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)处的错误[stderr](RMI TCP连接(空闲)) 11:22:49552 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)处的线程“RMI TCP连接(空闲)”中出现错误[stderr](RMI TCP连接(空闲))异常 11:22:49556 java.lang.Thread.run(Thread.java:619)处的错误[stderr](RMI TCP连接(空闲)) 11:22:49560错误[stderr](RMI TCP连接(空闲))线程“RMI TCP连接(空闲)”java.lang.ClassCirculartyError:org/netbeans/lib/profiler/server/profilerrontimecpufullinstr中出现异常 11:22:49563 org.jboss.logmanager.Logger.isLoggable(Logger.java:153)上的线程“RMI TCP连接(idle)”中出现错误[stderr](RMI TCP连接(idle))异常 11:22:49567 sun.RMI.runtime.Log$LoggerLog.isLoggable(Log.java:206)处的线程“RMI TCP连接(空闲)”中出现错误[stderr](RMI TCP连接(空闲))异常 11:22:49569 sun.RMI.runtime.Log$LoggerLog.Log(Log.java:210)处的错误[stderr](RMI TCP连接(空闲)) 11:22:49572错误[stderr](RMI TCP连接(idle))线程“RMI TCP连接(idle)”中的异常在sun.RMI.transport.TCP.TCPConnection.close(TCPConnection.java:201)处的线程“RMI TCP连接(idle)”中的异常 11:22:49577 sun.RMI.transport.TCP.tcpttransport.handleMessages(tcpttransport.java:564)处的错误[stderr](RMI TCP连接(空闲)) 11:22:49581 sun.RMI.transport.TCP.tcpttransport$ConnectionHandler.run0(tcpttransport.java:790)处的错误[stderr](RMI TCP连接(空闲)) 11:22:49584 sun.RMI.transport.TCP.tcpttransport$ConnectionHandler.run(tcpttransport.java:649)处的错误[stderr](RMI TCP连接(空闲)) 11:22:49588 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)处的错误[stderr](RMI TCP连接(空闲)) 11:22:49592 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)处的错误[stderr](RMI TCP连接(空闲)) 11:22:49595 java.lang.Thread.run(Thread.java:619)处的错误[stderr](RMI TCP连接(空闲)) 11:22:49597错误[stderr](RMI TCP连接(空闲))java.lang.ClassCircularityError:org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr
将以下行添加到
%JBOSS\u HOME%/bin/standalone.conf.bat
“:JAVA\u OPTS\u SET”


或者以任何其他有效的方式添加提到的java选项。

将以下行添加到您的
%JBOSS\u HOME%/bin/standalone.conf.bat
“:java\u OPTS\u SET”


或者以任何其他有效的方式添加上述java选项。

请参阅以下[1]了解您应该尝试的内容。[1] :请参阅以下[1]了解您应该尝试的内容。[1] :没关系。如果您认为它很好,甚至可以将它添加到JAVA_OPTS系统变量中。没关系。如果您认为它很好,甚至可以将它添加到JAVA_OPTS系统变量中。 11:22:38,220 INFO [stdout] (*** Profiler Agent Communication Thread) Profiler Agent: Waiting for connection on port 5140 (Protocol version: 9) 11:22:38,320 INFO [stdout] (*** Profiler Agent Special Execution Thread 5) Profiler Agent: Established local connection with the tool 11:22:49,516 ERROR [stderr] (server-timer1) Exception in thread "server-timer1" java.lang.ClassCircularityError: org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr 11:22:49,520 ERROR [stderr] (server-timer1) at org.jboss.sun.net.httpserver.ServerImpl$ServerTimerTask1.run(ServerImpl.java:895) 11:22:49,524 ERROR [stderr] (server-timer1) at java.util.TimerThread.mainLoop(Timer.java:512) 11:22:49,526 ERROR [stderr] (server-timer1) at java.util.TimerThread.run(Timer.java:462) 11:22:49,528 ERROR [stderr] (RMI TCP Connection(idle)) Exception in thread "RMI TCP Connection(idle)" java.lang.ClassCircularityError: org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr 11:22:49,532 ERROR [stderr] (RMI TCP Connection(idle)) Exception in thread "RMI TCP Connection(idle)" at org.jboss.logmanager.Logger.isLoggable(Logger.java:153) 11:22:49,535 ERROR [stderr] (RMI TCP Connection(idle)) at sun.rmi.runtime.Log$LoggerLog.isLoggable(Log.java:206) 11:22:49,538 ERROR [stderr] (RMI TCP Connection(idle)) at sun.rmi.runtime.Log$LoggerLog.log(Log.java:210) 11:22:49,539 ERROR [stderr] (RMI TCP Connection(idle)) Exception in thread "RMI TCP Connection(idle)" at sun.rmi.transport.tcp.TCPConnection.close(TCPConnection.java:201) 11:22:49,542 ERROR [stderr] (RMI TCP Connection(idle)) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:564) 11:22:49,545 ERROR [stderr] (RMI TCP Connection(idle)) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) 11:22:49,547 ERROR [stderr] (RMI TCP Connection(idle)) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) 11:22:49,549 ERROR [stderr] (RMI TCP Connection(idle)) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 11:22:49,552 ERROR [stderr] (RMI TCP Connection(idle)) Exception in thread "RMI TCP Connection(idle)" at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 11:22:49,556 ERROR [stderr] (RMI TCP Connection(idle)) at java.lang.Thread.run(Thread.java:619) 11:22:49,560 ERROR [stderr] (RMI TCP Connection(idle)) Exception in thread "RMI TCP Connection(idle)" java.lang.ClassCircularityError: org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr 11:22:49,563 ERROR [stderr] (RMI TCP Connection(idle)) Exception in thread "RMI TCP Connection(idle)" Exception in thread "RMI TCP Connection(idle)" at org.jboss.logmanager.Logger.isLoggable(Logger.java:153) 11:22:49,567 ERROR [stderr] (RMI TCP Connection(idle)) Exception in thread "RMI TCP Connection(idle)" at sun.rmi.runtime.Log$LoggerLog.isLoggable(Log.java:206) 11:22:49,569 ERROR [stderr] (RMI TCP Connection(idle)) at sun.rmi.runtime.Log$LoggerLog.log(Log.java:210) 11:22:49,572 ERROR [stderr] (RMI TCP Connection(idle)) Exception in thread "RMI TCP Connection(idle)" Exception in thread "RMI TCP Connection(idle)" Exception in thread "RMI TCP Connection(idle)" at sun.rmi.transport.tcp.TCPConnection.close(TCPConnection.java:201) 11:22:49,577 ERROR [stderr] (RMI TCP Connection(idle)) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:564) 11:22:49,581 ERROR [stderr] (RMI TCP Connection(idle)) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) 11:22:49,584 ERROR [stderr] (RMI TCP Connection(idle)) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) 11:22:49,588 ERROR [stderr] (RMI TCP Connection(idle)) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 11:22:49,592 ERROR [stderr] (RMI TCP Connection(idle)) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 11:22:49,595 ERROR [stderr] (RMI TCP Connection(idle)) at java.lang.Thread.run(Thread.java:619) 11:22:49,597 ERROR [stderr] (RMI TCP Connection(idle)) java.lang.ClassCircularityError: org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr
set "JAVA_OPTS=%JAVA_OPTS% -Xshare:off -Djboss.modules.system.pkgs=org.netbeans.lib.profiler.server -Dorg.osgi.framework.bootdelegation=org.netbeans.lib.profiler.server,org.netbeans.lib.profiler.server.*"