-
1. Re: Could not find symbol "gHotSpotVMTypeEntryTypeNameOffset"
peterj Dec 14, 2009 10:45 AM (in response to argonist)What JDK are you using to run JBoss AS? It might be that you are not using the Sun JDK. If you think you are using the Sun JDK, either post the boot.log file or the first 100 or so lines of the console log after startup. -
2. Re: Could not find symbol "gHotSpotVMTypeEntryTypeNameOffset"
argonist Dec 14, 2009 11:52 AM (in response to peterj)I am using OpenJDK 1.6.0 for running JBoss.
java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu12)
OpenJDK Server VM (build 14.0-b08, mixed mode)Should I use Sun JDK instead of OpenJDK for profiling?
Manu
-
3. Re: Could not find symbol "gHotSpotVMTypeEntryTypeNameOffset"
peterj Dec 14, 2009 11:55 AM (in response to argonist)Considering the error message you got, I suspect that VisualVM requires that you use the Sun JDK with any appos you intend to monitor. -
4. Re: Could not find symbol "gHotSpotVMTypeEntryTypeNameOffset"
argonist Dec 14, 2009 12:18 PM (in response to peterj)Now I am using sun-jdk 1.6 to run jboss. With command-line jmap is working now. Thanks. But visualvm isn't working. I attached the logfile of visualvm, so you can see the errors.
Manu
-
logfile.txt.zip 3.9 KB
-
-
5. Re: Could not find symbol "gHotSpotVMTypeEntryTypeNameOffset"
peterj Dec 14, 2009 12:36 PM (in response to argonist)Are you using the jvisualvm that came with jdk 1.6?
Based on the error messages in the log file, it almost looks as if you need to set "-Dcom.sun.management.jmxremote", as is required for JConsole. But I don't set that and can connect without issues. And as far as I can tell there are no ports being opened. But then I am using Windows - I'll try it in Linux later and see what I get.
-
6. Re: Could not find symbol "gHotSpotVMTypeEntryTypeNameOffset"
argonist Dec 14, 2009 12:46 PM (in response to peterj)yes, I am using jvisualvm from JDK1.6
I set -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false.
I tried with JConsol and it is working. But JConsol dont have profile like visualvm.
Manu
-
7. Re: Could not find symbol "gHotSpotVMTypeEntryTypeNameOffset"
argonist Dec 15, 2009 1:03 PM (in response to argonist)Hi,
have you an idea to solve that problem?
Manu
-
8. Re: Could not find symbol "gHotSpotVMTypeEntryTypeNameOffset"
peterj Dec 15, 2009 3:08 PM (in response to argonist)Running on Fedora 12, with JDK 6u17 and JBoss AS 5.1.0.GA. I was able to connect VisualVM to JBoss AS, but received an error (on the JBoss AS console) regarding a missing JMX implementation file, and attempring to do a profile led to JBoss AS hanging.
Then I noticed that an OpenJDK update had hijacked my /usr/bin/java link - once I fixed that (pointed it back to Sun's JDK) and ran VisualVM again I no longer got the missing class error, but neither memory nor cpu profiling will work (I get back an empty ERROR dialog box.) Also of interest is that any time I do anything in ViosualVM, the JVM running JBoss AS does a thread dump.
How does this compare to what you are seeing? Your statement of "But visualvm isn't working." doesn't really tell me much.