EAP 602: JVMTI error 98 on Solaris
-
- Posts: 17
- Joined: Mon May 16, 2005 8:40 pm
EAP 602: JVMTI error 98 on Solaris
I am getting this error on Solaris 9, Java 1.5.0, Tomcat 4.1.30:
Picked up JAVA_TOOL_OPTIONS: -agentlib:yjpagent=sessionname=Tomcat
[YourKit Java Profiler 4.5 EAP build 602] Using JVMTI
ERROR: JVMTI error err=98(JVMTI_ERROR_NOT_AVAILABLE) in JVMTI_Agent.cpp:447
Assertion failed: false, file Utils.cpp, line 26
Any ideas?
Thx.
Picked up JAVA_TOOL_OPTIONS: -agentlib:yjpagent=sessionname=Tomcat
[YourKit Java Profiler 4.5 EAP build 602] Using JVMTI
ERROR: JVMTI error err=98(JVMTI_ERROR_NOT_AVAILABLE) in JVMTI_Agent.cpp:447
Assertion failed: false, file Utils.cpp, line 26
Any ideas?
Thx.
-
- Posts: 17
- Joined: Mon May 16, 2005 8:40 pm
Same story with 1.5.0_03:
Picked up JAVA_TOOL_OPTIONS: -agentlib:yjpagent=sessionname=Tomcat
[YourKit Java Profiler 4.5 EAP build 602] Using JVMTI
ERROR: JVMTI error err=98(JVMTI_ERROR_NOT_AVAILABLE) in JVMTI_Agent.cpp:447
Assertion failed: false, file Utils.cpp, line 26
java -version
^C$ java -version
java version "1.5.0_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
Java HotSpot(TM) Server VM (build 1.5.0_03-b07, mixed mode)
Picked up JAVA_TOOL_OPTIONS: -agentlib:yjpagent=sessionname=Tomcat
[YourKit Java Profiler 4.5 EAP build 602] Using JVMTI
ERROR: JVMTI error err=98(JVMTI_ERROR_NOT_AVAILABLE) in JVMTI_Agent.cpp:447
Assertion failed: false, file Utils.cpp, line 26
java -version
^C$ java -version
java version "1.5.0_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
Java HotSpot(TM) Server VM (build 1.5.0_03-b07, mixed mode)
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Hmm, very strange indeed.
This error happens when JVM is asked to turn on some profiling capabilities, and looks like it has some internal problems.
What is the exact output of java -version?
Are there any other VM parameters in the command line of profiled application (e.g. explicit choice of garbage collector)?
What does uname -a prints?
This error happens when JVM is asked to turn on some profiling capabilities, and looks like it has some internal problems.
What is the exact output of java -version?
Are there any other VM parameters in the command line of profiled application (e.g. explicit choice of garbage collector)?
What does uname -a prints?
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
-
- Posts: 17
- Joined: Mon May 16, 2005 8:40 pm
hmmh, yes, the GC and related options are quite elaborate:
-server
-XX:+UseConcMarkSweepGC -XX:+UseParNewGC
-XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled
-XX:SurvivorRatio=3 -XX:MaxTenuringThreshold=4
-XX:MaxPermSize=64m -XX:PermSize=64m
-Xms384m -Xmx512m -XX:MaxNewSize=128m
Any suggestions what could be interfering here?
Martin
-server
-XX:+UseConcMarkSweepGC -XX:+UseParNewGC
-XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled
-XX:SurvivorRatio=3 -XX:MaxTenuringThreshold=4
-XX:MaxPermSize=64m -XX:PermSize=64m
-Xms384m -Xmx512m -XX:MaxNewSize=128m
Any suggestions what could be interfering here?
Martin
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
-
- Posts: 5
- Joined: Mon Nov 28, 2005 3:20 pm
Thanks for the info.
By "blocks all profiling capabilities" I assume you mean both JVMTI and JVMPI? I haven't got around to trying JVMPI with CMS yet in our labs.
If you have any reference to Mustang's changes, please let me know. We have some contacts at Sun to which we can request this capability.
By "blocks all profiling capabilities" I assume you mean both JVMTI and JVMPI? I haven't got around to trying JVMPI with CMS yet in our labs.
If you have any reference to Mustang's changes, please let me know. We have some contacts at Sun to which we can request this capability.
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
This bug is fixed in Mustang
http://bugs.sun.com/bugdatabase/view_bu ... id=6278106
I've just tried latest Mustang buid #61 (https://mustang.dev.java.net) and JVMTI agent works fine.
http://bugs.sun.com/bugdatabase/view_bu ... id=6278106
I've just tried latest Mustang buid #61 (https://mustang.dev.java.net) and JVMTI agent works fine.