After setting the DISPLAY variable I am able to view
the Jmeter UI.
Thanks alot.
Regards,
Raghavendra.
--- git <[EMAIL PROTECTED]> wrote:
> It seems to me that you should set the DISPLAY
> variable to something
> sensible (If you have X11).
>
> It all depends how you are launching the script and
> how the script
> initiation files are working.
>
> Cheers
>
> AJ
>
> On Tue, 2007-01-16 at 08:20 -0800, Raghavendra
> Kristam wrote:
>
> > a) are you running in a machine with X?
> > - please provide some more information on this I
> am
> > not clear with this line.
> >
> > b) Perhaps you don't intend to run the jmeter UI?
> try
> > ./jmeter -?
> >
> > Getting same errors
> >
> > # ./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.
> >
> > --- Alexander Wallace <[EMAIL PROTECTED]> wrote:
> >
> > > are you running in a machine with X?
> > >
> > > Perhaps you don't intend to run the jmeter UI?
> try
> > > ./jmeter -?
> > >
> > > On Jan 16, 2007, at 9:36 AM, Raghavendra Kristam
> > > wrote:
> > >
> > > > 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.
>
=== message truncated ===
____________________________________________________________________________________
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]