jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Oliver <joli...@john-oliver.net>
Subject Getting JMeter working under Linux
Date Wed, 28 Jun 2006 23:40:50 GMT
On two machines, I downloaded and installed j2re-1.4.2_12-fcs and
jakarta-jmeter-2.2  On one, a CentOS 4.1 machine, I get:

[root@dev jakarta-jmeter-2.2]# bin/jmeter
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/opt/j2sdk1.4.2_05/jre/lib/i386/libawt.so: libXp.so.6: cannot open
shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1503)
        at java.lang.Runtime.loadLibrary0(Runtime.java:788)
        at java.lang.System.loadLibrary(System.java:834)
        at
sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
        at java.security.AccessController.doPrivileged(Native Method)
        at
sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
        at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
        at java.awt.Component.<clinit>(Component.java:506)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at org.apache.jmeter.JMeter.class$(JMeter.java:747)
        at org.apache.jmeter.JMeter.<clinit>(JMeter.java:746)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        at java.lang.Class.newInstance0(Class.java:308)
        at java.lang.Class.newInstance(Class.java:261)
        at org.apache.jmeter.NewDriver.main(NewDriver.java:173)


[root@dev jakarta-jmeter-2.2]# ls -l
/opt/j2sdk1.4.2_05/jre/lib/i386/libawt.so
-rwxrwxr-x  1 root root 3059052 Jun  3  2004
/opt/j2sdk1.4.2_05/jre/lib/i386/libawt.so


On the other, a CentOS 4.3 machine, I get:

[root@mrtg ~]# jakarta-jmeter-2.2/bin/jmeter
Warning: -server not understood. Ignoring.
Warning: -Xms256m not understood. Ignoring.
Warning: -Xmx256m not understood. Ignoring.
Warning: -XX:NewSize=128m not understood. Ignoring.
Warning: -XX:MaxNewSize=128m not understood. Ignoring.
Warning: -XX:MaxTenuringThreshold=2 not understood. Ignoring.
Warning: -XX:PermSize=64m not understood. Ignoring.
Warning: -XX:MaxPermSize=64m not understood. Ignoring.
Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError:
jakarta-jmeter-2.2.bin.ApacheJMeter.jar
   at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
   at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean)
(/usr/lib/libgcj.so.5.0.0)
   at __gcj_personality_v0 (/root/java.version=1.4.2)
   at __libc_start_main (/lib/tls/libc-2.3.4.so)
   at _Jv_RegisterClasses (/root/java.version=1.4.2)



Googling isn't helping. :-(

-- 
***********************************************************************
* John Oliver                             http://www.john-oliver.net/ *
*                                                                     *
***********************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message