1748269 Members
3551 Online
108760 Solutions
New Discussion юеВ

hp jmeter 3.0.0

 
FERRARI MARCO
Advisor

hp jmeter 3.0.0

Hi everyone.
We just downloaded HPjmeter 3.0.0 and I can't get it to work. Error message:
(root@ducadam):/var/tmp# /opt/java1.5/jre/bin/java -agentlib:jmeter=noalloc myapp
Error occurred during initialization of VM
Could not find agent library on the library path or in the local directory: jmeter
Abort(coredump)

My environment is:
- HP-UX 11.11
- Java 1.5.06 downloaded today

Frankly, I don't know much about java but this core dumping conflicts with a previous easy installation of an old version of HPjmeter that went quite straight ahead.

I guess my SHLIB_PATH is correct.

Regards,
Marco
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: hp jmeter 3.0.0

Shalom,

You need to be sure about SHLIB_PATH. More likely however is a missng required java patch. check the hp jmeter and http://www.hp.com/go/java site for patches and make sure they and required dependencies are installed.

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
FERRARI MARCO
Advisor

Re: hp jmeter 3.0.0

My config is:

$ uname -a
HP-UX d****** B.11.11 U 9000/800 1883899791 unlimited-user license
$ getconf KERNEL_BITS
64
JMETER_HOME=/opt/hpjmeter
SHLIB_PATH=/opt/hpjmeter/lib/PA_RISC2.0W

and ....

$ ll $SHLIB_PATH
total 1776
-r-xr-xr-x 1 bin bin 902264 Nov 13 18:13 libjmeter.sl
$ file $SHLIB_PATH/libjmeter.sl
/opt/hpjmeter/lib/PA_RISC2.0W/libjmeter.sl: ELF-64 shared object file - PA-RISC 2.0 (LP64)

My idea is I need some mandatory parameter, due to big kernel parms for shared mem and the like, as we have a custom front-end now under stress test ( 20000 tpm ).

That works fine, so it is puzzling why HPjmeter is core dumping.

TIA,

Marco


JZ2
Advisor

Re: hp jmeter 3.0.0

Marco,

It looks like you are trying to use the 64-bit version of jmeter with the 32-bit version of Java. In other words, you use the libjmeter.sl that is in the PA_RISC2.0W directory when you are using the command 'java -d64'. When -d64 is not specified, you need the PA_RISC2.0/libjmeter.sl instead.

Also, when you install HPjmeter 3.0, it creates symbolic links from the jre directory to the appropriate libjmeter.sl/so files. So, in the normal case, you do not have to set SHLIB_PATH or LD_LIBRARY_PATH anymore.