Hi Team,

Now I Installed java version "1.5.0_10" from sun web
site. 
I set the java path on linux and catalina_home and
tomcat server is working fine.

still getting some errors when I run the jmeter shell
script on linux machine.

# sh jmeter
java.awt.HeadlessException: 
No X11 DISPLAY variable was set, but this program
performed an operation which requires it.
        at
java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
        at java.awt.Window.<init>(Window.java:317)
        at java.awt.Frame.<init>(Frame.java:419)
        at java.awt.Frame.<init>(Frame.java:384)
        at javax.swing.JFrame.<init>(JFrame.java:150)
        at
org.apache.jmeter.gui.MainFrame.<init>(MainFrame.java:120)
        at
org.apache.jmeter.JMeter.startGui(JMeter.java:196)
        at
org.apache.jmeter.JMeter.start(JMeter.java:288)
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at
java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.jmeter.NewDriver.main(NewDriver.java:175)
An error occurred: 
No X11 DISPLAY variable was set, but this program
performed an operation which requires it.

Thanks,
Raghavendra.

--- git <[EMAIL PROTECTED]> wrote:

> My guess is that the correct version of java is not
> being picked up by
> the script file.
> 
> Make sure you have the sun version.
> 
> Then edit the batch file so that the line which
> invokes java has the
> absolute path to the sun jvm (which lives in the bin
> directory under the
> java installation).
> 
> Cheers
> 
> AJ
> 
> On Tue, 2007-01-16 at 12:33 +0000, sebb wrote:
> 
> > On 16/01/07, Raghavendra Kristam
> <[EMAIL PROTECTED]> wrote:
> > >
> > > Yes, jmeter is available in bin directory.
> > >
> > > I Installed jakarta-tomcat-5.0.30, jdk1.5.0_08
> and
> > 
> > Which provider of Java?
> > 
> > > jakarta-jmeter-2.2.
> > >
> > > Tomcat server is running fine.
> > >
> > > On Windows system jmeter is working fine when I
> > > clicked jmeter.bat. When I run the jmeter shell
> script
> > > getting following errors.
> > >
> > > # sh 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.
> > 
> > The above are because -X flags are not standard -
> just comment out in
> > the shell script
> > 
> > > Warning: -jar not understood. Ignoring.
> > 
> > This is a serious problem - if your version of
> Java does not
> > understand the -jar flag then it is not a standard
> version of java.
> > 
> > If this problem still persists after you have
> eliminated the -X
> > warnings, then you will need a different version
> of Java.
> > 
> > > Exception in thread "main"
> > > java.lang.NoClassDefFoundError:
> ..ApacheJMeter.jar
> > 
> > That's because the -jar flag is not recognised.
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > 
> > 
> > 
> 
> www.cubicalland.com
> www.nerds-central.blogspot.com
> 
> 
> 
> 


             









 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to