System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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
JZ2
Advisor
Solution

Re: Jmeter 4.0 error when monitoring 1.6 JVM

We are working on reproducing your problem. In the meantime, I have a suggestion for a temporary workaround that you can try. The messages indicate a problem when processing the JMX data, so you can try turning off all the JMX related metrics when opening a session. You would need to uncheck the "JVM Summary" and "JMX Support" check boxes in the Session Preferences popup window.
Chetan_5
Frequent Advisor

Re: Jmeter 4.0 error when monitoring 1.6 JVM

Hi Jeff,

Turning off those options helped. I noticed another odd behaviour. The Jmeter node agent dies when I use JVM 1.6 in the hpjmeter.conf file & connect to the agent from a Jmeter console.

The nodeagent process is replaced by the following process which starts listening on the jmeter port 9505

root 2621 1 0 12:17:36 ? 0:00 /opt/java6/bin/IA64N/java -Xmx64m -cp /opt/java6/lib/tools.jar:/opt/hpjmeter/lib/communicator.jar com.hp.jmeter.nodeagent.JavaC

Chetan
JZ2
Advisor

Re: Jmeter 4.0 error when monitoring 1.6 JVM

Chetan,

I would like to take this discussion offline. The java-tools-support email alias is working again, can you send a message to the alias so I can get your email address?
Chetan_5
Frequent Advisor

Re: Jmeter 4.0 error when monitoring 1.6 JVM

Still not working ...

Your message for list 'java-tools-support' (attached below) was rejected.
You are not allowed to send this message for the following reason :

Message distribution for this list is restricted to list subscribers and local domain users.


For further information, please contact java-tools-support-request@lists.hp.com
JZ2
Advisor

Re: Jmeter 4.0 error when monitoring 1.6 JVM

OK, I'll have to check on that. Can you send me email then - jeffrey dot zeeb@hp.com