jvisualvm on as7 with profile enabled results in ClassCircularityErrors - way to
preconfigure AS7 allow it ?
------------------------------------------------------------------------------------------------------------
Key: JBAS-8927
URL:
https://issues.jboss.org/browse/JBAS-8927
Project: JBoss Application Server
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Reporter: Max Rydahl Andersen
1) start as7
2) start jvisualvm and connect to the as 7 process.
3) go to Profiler tab
4) click CPU
wait a few seconds and you as7 console output gets filled with ClassCircularityErrors:
02:35:22,145 ERROR [stderr] (RMI TCP Connection(idle)) Exception in thread "RMI TCP
Connection(idle)" java.lang.ClassCircularityError:
org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr
02:35:22,145 ERROR [stderr] (RMI TCP Connection(idle)) at
org.jboss.logmanager.Logger.isLoggable(Logger.java:153)
02:35:22,145 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.runtime.Log$LoggerLog.isLoggable(Log.java:206)
02:35:22,146 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:731)
02:35:22,146 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:652)
02:35:22,146 ERROR [stderr] (RMI TCP Connection(idle)) at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
02:35:22,146 ERROR [stderr] (RMI TCP Connection(idle)) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:911)
02:35:22,147 ERROR [stderr] (RMI TCP Connection(idle)) at
java.lang.Thread.run(Thread.java:680)
02:35:23,142 ERROR [stderr] (RMI TCP Connection(idle)) Exception in thread "RMI TCP
Connection(idle)" java.lang.ClassCircularityError:
org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr
02:35:23,142 ERROR [stderr] (RMI TCP Connection(idle)) at
org.jboss.logmanager.Logger.isLoggable(Logger.java:153)
02:35:23,142 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.runtime.Log$LoggerLog.isLoggable(Log.java:206)
02:35:23,142 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:731)
02:35:23,143 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:652)
02:35:23,143 ERROR [stderr] (RMI TCP Connection(idle)) at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
02:35:23,143 ERROR [stderr] (RMI TCP Connection(idle)) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:911)
02:35:23,143 ERROR [stderr] (RMI TCP Connection(idle)) at
java.lang.Thread.run(Thread.java:680)
02:35:23,159 ERROR [stderr] (RMI TCP Connection(idle)) Exception in thread "RMI TCP
Connection(idle)" java.lang.ClassCircularityError:
org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr
02:35:23,159 ERROR [stderr] (RMI TCP Connection(idle)) at
org.jboss.logmanager.Logger.isLoggable(Logger.java:153)
02:35:23,159 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.runtime.Log$LoggerLog.isLoggable(Log.java:206)
02:35:23,160 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:731)
02:35:23,160 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:652)
02:35:23,160 ERROR [stderr] (RMI TCP Connection(idle)) at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
02:35:23,160 ERROR [stderr] (RMI TCP Connection(idle)) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:911)
02:35:23,160 ERROR [stderr] (RMI TCP Connection(idle)) at
java.lang.Thread.run(Thread.java:680)
02:35:24,144 ERROR [stderr] (RMI TCP Connection(idle)) Exception in thread "RMI TCP
Connection(idle)" java.lang.ClassCircularityError:
org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr
02:35:24,145 ERROR [stderr] (RMI TCP Connection(idle)) at
org.jboss.logmanager.Logger.isLoggable(Logger.java:153)
02:35:24,145 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.runtime.Log$LoggerLog.isLoggable(Log.java:206)
02:35:24,146 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:731)
02:35:24,146 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:652)
02:35:24,146 ERROR [stderr] (RMI TCP Connection(idle)) at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
02:35:24,146 ERROR [stderr] (RMI TCP Connection(idle)) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:911)
02:35:24,146 ERROR [stderr] (RMI TCP Connection(idle)) at
java.lang.Thread.run(Thread.java:680)
02:35:24,151 ERROR [stderr] (RMI TCP Connection(idle)) Exception in thread "RMI TCP
Connection(idle)" java.lang.ClassCircularityError:
org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr
02:35:24,157 ERROR [stderr] (RMI TCP Connection(idle)) at
org.jboss.logmanager.Logger.isLoggable(Logger.java:153)
02:35:24,157 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.runtime.Log$LoggerLog.isLoggable(Log.java:206)
02:35:24,157 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:731)
02:35:24,157 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:652)
02:35:24,158 ERROR [stderr] (RMI TCP Connection(idle)) at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
02:35:24,158 ERROR [stderr] (RMI TCP Connection(idle)) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:911)
02:35:24,158 ERROR [stderr] (RMI TCP Connection(idle)) at
java.lang.Thread.run(Thread.java:680)
Maybe add -Djboss.modules.system.pkgs=org.netbeans.lib.profiler.server as a default ?
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira