Operating System - HP-UX
1753259 Members
5477 Online
108792 Solutions
New Discussion юеВ

Re: Jmeter 4.0 error when monitoring 1.6 JVM

 
SOLVED
Go to solution
Chetan_5
Frequent Advisor

Jmeter 4.0 error when monitoring 1.6 JVM

Hello,

I am trying to monitor a Tomcat JVM with Jmeter 4.0. Jmeter attaches dynamically to the JVM gives me the following error when I try to monitor it from the console...

Exception in thread "communicator thread" java.lang.NoSuchMethodError: javax.xml.parsers.SAXParser.reset()V
at com.hp.jmeter.jvmagent.jmx.c.a.a(Unknown Source)
at com.hp.jmeter.jvmagent.jmx.JMXManager.invokeCommand(Unknown Source)
The HPjmeter Agent has encountered an error (log file: /var/opt/hpjmeter/log/HPjmeter.jvmagent_8599.log).
Please contact java-tools-support@hp.com
HPjmeter Agent terminated.

The environment is HP-UX 11.23, JDK 1.6.0.04.00. Email to java-tools-support bounces back...
14 REPLIES 14
Chetan_5
Frequent Advisor

Re: Jmeter 4.0 error when monitoring 1.6 JVM

This is the content of the log file ..
Jun 19, 2009 10:44:12 AM
At /proj/jd/jinteg/jm/src/jvmagent/jmxMetrics.cpp:line 135:
Exception occurred during JNI call

Jun 19, 2009 10:44:13 AM
At /proj/jd/jinteg/jm/src/jvmagent/universalAgent.cpp:line 200:
WARNING: at com.hp.jmeter.jvmagent.AgentLogger.b(Unknown Source)
Find break failed, line length=51181

Jun 19, 2009 10:44:13 AM
At /proj/jd/jinteg/jm/src/jvmagent/universalAgent.cpp:line 200:
WARNING: at com.hp.jmeter.jvmagent.AgentL
Steven E. Protter
Exalted Contributor

Re: Jmeter 4.0 error when monitoring 1.6 JVM

Shalom,

This is a peer to peer forum, not a substitute for Java support from HP. To deal with the email bounce, contact your nearest HP response center.

If you have a software service contract you can contact support.

JVM 1.6 is relatively new, you may need a new version of Jmeter to work with it.

http://www.hp.com/go/java

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Chetan_5
Frequent Advisor

Re: Jmeter 4.0 error when monitoring 1.6 JVM

Hi Steven,

I guess I didnt ask the question.. I just wanted to find out if anybody out there ran into this issue Im having.

I have been using ITRC for 10 years now and am aware that its a peer to peer forum ..

THanks,
Chetan
Steven E. Protter
Exalted Contributor

Re: Jmeter 4.0 error when monitoring 1.6 JVM

Sorry for the misunderstanding there. The post read like a support request. No offense intended. The response was supposed to illustrate that actual support requests should go elsewhere. I'm sure the email address is misconfigured or the application has an email address in it that was never authorized.

I have run into similar problems in the past. When I first found jmeter and started playing with it, it failed to work with the bleeding edge version of java. Subsequent versions of jmeter did work with that version of java/jvm.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dennis Handly
Acclaimed Contributor

Re: Jmeter 4.0 error when monitoring 1.6 JVM

>Email to java-tools-support bounces back.

(It would have been helpful if you had shown the details of where it got the error.)
Ah, that's another victim of the site alias massacre. ;-)

I'll send your request on and let them know the alias is broken.
JZ2
Advisor

Re: Jmeter 4.0 error when monitoring 1.6 JVM

Chetan,

I work on HPjmeter and would like to gather a little more information. Have you tried adding the -agentlib:jmeter option to the command line when starting Tomcat? I am trying to find out if you see a failure only when using the dynamic attach feature of HPjmeter.

Jeff
JZ2
Advisor

Re: Jmeter 4.0 error when monitoring 1.6 JVM

I forgot to ask - what version of Tomcat are you using?
Chetan_5
Frequent Advisor

Re: Jmeter 4.0 error when monitoring 1.6 JVM

Hi Jeff,

I get the same error when using agentlib ...

Jun 22, 2009 10:53:04 AM
At /proj/jd/jinteg/jm/src/jvmagent/jmxMetrics.cpp:line 135:
Exception occurred during JNI call

Jun 22, 2009 10:53:04 AM
At /proj/jd/jinteg/jm/src/jvmagent/universalAgent.cpp:line 200:
WARNING: at com.hp.jmeter.jvmagent.AgentLogger.b(Unknown Source)
Find break failed, line length=51181

Jun 22, 2009 10:53:04 AM
At /proj/jd/jinteg/jm/src/jvmagent/universalAgent.cpp:line 200:
WARNING: at com.hp.jmeter.jvmagent.AgentLogger.b(Unknown Source)
Find break failed, line length=2285

Thanks,
Chetan
Chetan_5
Frequent Advisor

Re: Jmeter 4.0 error when monitoring 1.6 JVM

I am on Tomcat 5.0.30