You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Rainer Duffner <ra...@ultra-secure.de> on 2009/08/20 16:18:59 UTC

jmeter just shows a blank window on startup, hangs

Hi,

I run opensuse 11.0:
rduffner@suse2:~> uname -a
Linux suse2 2.6.25.20-0.4-default #1 SMP 2009-06-01 09:57:12 +0200
x86_64 x86_64 x86_64 GNU/Linux
rduffner@suse2:~> java -version
java version "1.5.0_20"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_20-b02, mixed mode)

Tried again today, with latest version, 2.3.4.

What could be the reason for that?



Best Regards,
Rainer

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


Re: jmeter just shows a blank window on startup, hangs

Posted by Mark Rotteveel <ma...@pluton.nl>.
Rainer Duffner wrote:
> It's an xterm.
> I know it has a GUI. The GUI windows does come up (hard to achieve in a
> text-based console....), but is blank....
>   
Just wanted to be sure, in my days as a helpdesk engineer I have had 
enough situations where making even the simplest assumptions would bite 
you :)

If you were using Windows I would suggest you try adding 
-Dsun.java2d.noddraw=true to the java commandline, but that is not much 
help on Linux AFAIK. In the past I have seen some Swing applications on 
Windows fail when direct draw was enabled, but I believe direct draw 
here refers to the DirectX DirectDraw option, not to a generic 
mechanism. Maybe the similar option -Dsun.java2d.opengl=false (or =true) 
would have an effect.

Mark//

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


Re: jmeter just shows a blank window on startup, hangs

Posted by Rainer Duffner <ra...@ultra-secure.de>.
Mark Rotteveel schrieb:
> Rainer Duffner wrote:
>> I'm not a jmeter expert - I can run it on my Mac at home, but at work I
>> only have a PC with SuSE.
>> And I want to run it at work, too ;-)
>>   
>
> Where are you starting JMeter? On a console, or in an Xterm? Since
> JMeter uses a GUI, you do need to start it in a GUI environment (X
> Windows).


It's an xterm.
I know it has a GUI. The GUI windows does come up (hard to achieve in a
text-based console....), but is blank....



Rainer

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


Re: jmeter just shows a blank window on startup, hangs

Posted by Mark Rotteveel <ma...@pluton.nl>.
Rainer Duffner wrote:
> I'm not a jmeter expert - I can run it on my Mac at home, but at work I
> only have a PC with SuSE.
> And I want to run it at work, too ;-)
>   

Where are you starting JMeter? On a console, or in an Xterm? Since 
JMeter uses a GUI, you do need to start it in a GUI environment (X Windows).

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


Re: jmeter just shows a blank window on startup, hangs

Posted by Rainer Duffner <ra...@ultra-secure.de>.
sebb schrieb:
> On 20/08/2009, Rainer Duffner <ra...@ultra-secure.de> wrote:
>   
>> sebb schrieb:
>>
>>     
>>> On 20/08/2009, Rainer Duffner <ra...@ultra-secure.de> wrote:
>>>       
>>  >
>>  >>
>>
>>     
>>>>  What could be the reason for that?
>>>>         
>>  >>
>>  >
>>  > Almost anything ;-)
>>  >
>>  > See if the jmeter.log file gives any clues.
>>  >
>>
>>
>>
>> Well...
>>
>>
>>
>>  2009/08/20 12:39:15 INFO  - jmeter.util.JMeterUtils: Setting Locale to
>>  de_DE
>>  2009/08/20 12:39:15 WARN  - jmeter.util.JMeterUtils: Could not find
>>  resources for 'de_DE', using 'de'
>>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: Loading user properties from:
>>  /home/rduffner/work/jakarta-jmeter-2.3.4/bin/user.properties
>>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: Loading system properties
>>  from: /home/rduffner/work/jakarta-jmeter-2.3.4/bin/system.properties
>>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: Copyright (c) 1998-2009 The
>>  Apache Software Foundation
>>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: Version 2.3.4 r785646
>>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: java.version=1.5.0_20
>>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: java.vm.name=Java HotSpot(TM)
>>  64-Bit Server VM
>>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: os.name=Linux
>>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: os.arch=amd64
>>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: os.version=2.6.25.20-0.4-default
>>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: file.encoding=UTF-8
>>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: Default Locale=Deutsch
>>  (Deutschland)
>>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: JMeter  Locale=Deutsch
>>  (Deutschland)
>>  2009/08/20 12:39:15 INFO  - jmeter.JMeter:
>>  JMeterHome=/home/rduffner/work/jakarta-jmeter-2.3.4
>>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: user.dir
>>  =/home/rduffner/work/jakarta-jmeter-2.3.4/bin
>>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: PWD
>>  =/home/rduffner/work/jakarta-jmeter-2.3.4/bin
>>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: IP: 127.0.0.2 Name: suse2
>>  FullName: suse2.domain.internal
>>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: Loaded icon properties from
>>  org/apache/jmeter/images/icon.properties
>>  2009/08/20 12:39:16 INFO  - jmeter.engine.util.CompoundVariable: Note:
>>  Function class names must contain the string: '.functions.'
>>  2009/08/20 12:39:16 INFO  - jmeter.engine.util.CompoundVariable: Note:
>>  Function class names must not contain the string: '.gui.'
>>  2009/08/20 12:39:17 INFO  - jmeter.util.BSFTestElement: Registering
>>  JMeter version of JavaScript engine as work-round for BSF-22
>>  2009/08/20 12:39:18 INFO  -
>>  jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className
>>  property for htmlParser, using default
>>  2009/08/20 12:39:18 INFO  -
>>  jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is
>>  2009/08/20 12:39:18 INFO  -
>>  jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for
>>  application/xhtml+xml is
>>  2009/08/20 12:39:18 INFO  -
>>  jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml
>>  is
>>  2009/08/20 12:39:18 INFO  -
>>  jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is
>>  2009/08/20 12:39:18 INFO  -
>>  jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for
>>  text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
>>  2009/08/20 12:39:19 INFO  - jmeter.protocol.http.sampler.HTTPSampler:
>>  Maximum connection retries = 10
>>  2009/08/20 12:39:19 INFO  - jmeter.protocol.http.sampler.HTTPSampler:
>>  Connection and read timeouts are available on this JVM
>>  2009/08/20 12:39:20 WARN  - jmeter.gui.util.MenuFactory: Missing jar?
>>  Could not create org.apache.jmeter.visualizers.MailerVisualizer.
>>  java.lang.NoClassDefFoundError: javax/mail/MessagingException
>>  2009/08/20 12:39:20 INFO  - jmeter.samplers.SampleResult: Note: Sample
>>  TimeStamps are START times
>>  2009/08/20 12:39:20 INFO  - jmeter.samplers.SampleResult:
>>  sampleresult.default.encoding is set to ISO-8859-1
>>
>>
>>  ...no obvious ones, IMO.
>>
>>     
>
> That's all normal output.
>
> Presumably there is nothing at all in the console window?
>   


Nope.


> Is the process using CPU?
>
>   

A bit. But not very much.


> What command are you using?
>   

I just type ./jmeter.sh in the bin-directory.


> Does JMeter work in non-GUI mode?
>
> e.g. change to the examples directory and run
>
> jmeter -n -t CSVSample.jmx
>
>   

Hm. This seems to work.


rduffner@suse2:~/work/jakarta-jmeter-2.3.4/bin/examples> ../jmeter.sh -n
-t CSVSample.jmx
Created the tree successfully using CSVSample.jmx
Starting the test @ Fri Aug 21 09:31:32 CEST 2009 (1250839892462)
Waiting for possible shutdown message on port 4445
Tidying up ...    @ Fri Aug 21 09:31:36 CEST 2009 (1250839896148)
... end of run
rduffner@suse2:~/work/jakarta-jmeter-2.3.4/bin/examples>


I'm not a jmeter expert - I can run it on my Mac at home, but at work I
only have a PC with SuSE.
And I want to run it at work, too ;-)




Regards,
Rainer

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


Re: jmeter just shows a blank window on startup, hangs

Posted by sebb <se...@gmail.com>.
On 20/08/2009, Rainer Duffner <ra...@ultra-secure.de> wrote:
> sebb schrieb:
>
> > On 20/08/2009, Rainer Duffner <ra...@ultra-secure.de> wrote:
>  >
>  >>
>
> >>  What could be the reason for that?
>  >>
>  >
>  > Almost anything ;-)
>  >
>  > See if the jmeter.log file gives any clues.
>  >
>
>
>
> Well...
>
>
>
>  2009/08/20 12:39:15 INFO  - jmeter.util.JMeterUtils: Setting Locale to
>  de_DE
>  2009/08/20 12:39:15 WARN  - jmeter.util.JMeterUtils: Could not find
>  resources for 'de_DE', using 'de'
>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: Loading user properties from:
>  /home/rduffner/work/jakarta-jmeter-2.3.4/bin/user.properties
>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: Loading system properties
>  from: /home/rduffner/work/jakarta-jmeter-2.3.4/bin/system.properties
>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: Copyright (c) 1998-2009 The
>  Apache Software Foundation
>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: Version 2.3.4 r785646
>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: java.version=1.5.0_20
>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: java.vm.name=Java HotSpot(TM)
>  64-Bit Server VM
>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: os.name=Linux
>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: os.arch=amd64
>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: os.version=2.6.25.20-0.4-default
>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: file.encoding=UTF-8
>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: Default Locale=Deutsch
>  (Deutschland)
>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: JMeter  Locale=Deutsch
>  (Deutschland)
>  2009/08/20 12:39:15 INFO  - jmeter.JMeter:
>  JMeterHome=/home/rduffner/work/jakarta-jmeter-2.3.4
>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: user.dir
>  =/home/rduffner/work/jakarta-jmeter-2.3.4/bin
>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: PWD
>  =/home/rduffner/work/jakarta-jmeter-2.3.4/bin
>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: IP: 127.0.0.2 Name: suse2
>  FullName: suse2.domain.internal
>  2009/08/20 12:39:15 INFO  - jmeter.JMeter: Loaded icon properties from
>  org/apache/jmeter/images/icon.properties
>  2009/08/20 12:39:16 INFO  - jmeter.engine.util.CompoundVariable: Note:
>  Function class names must contain the string: '.functions.'
>  2009/08/20 12:39:16 INFO  - jmeter.engine.util.CompoundVariable: Note:
>  Function class names must not contain the string: '.gui.'
>  2009/08/20 12:39:17 INFO  - jmeter.util.BSFTestElement: Registering
>  JMeter version of JavaScript engine as work-round for BSF-22
>  2009/08/20 12:39:18 INFO  -
>  jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className
>  property for htmlParser, using default
>  2009/08/20 12:39:18 INFO  -
>  jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is
>  2009/08/20 12:39:18 INFO  -
>  jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for
>  application/xhtml+xml is
>  2009/08/20 12:39:18 INFO  -
>  jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml
>  is
>  2009/08/20 12:39:18 INFO  -
>  jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is
>  2009/08/20 12:39:18 INFO  -
>  jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for
>  text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
>  2009/08/20 12:39:19 INFO  - jmeter.protocol.http.sampler.HTTPSampler:
>  Maximum connection retries = 10
>  2009/08/20 12:39:19 INFO  - jmeter.protocol.http.sampler.HTTPSampler:
>  Connection and read timeouts are available on this JVM
>  2009/08/20 12:39:20 WARN  - jmeter.gui.util.MenuFactory: Missing jar?
>  Could not create org.apache.jmeter.visualizers.MailerVisualizer.
>  java.lang.NoClassDefFoundError: javax/mail/MessagingException
>  2009/08/20 12:39:20 INFO  - jmeter.samplers.SampleResult: Note: Sample
>  TimeStamps are START times
>  2009/08/20 12:39:20 INFO  - jmeter.samplers.SampleResult:
>  sampleresult.default.encoding is set to ISO-8859-1
>
>
>  ...no obvious ones, IMO.
>

That's all normal output.

Presumably there is nothing at all in the console window?

Is the process using CPU?

What command are you using?

Does JMeter work in non-GUI mode?

e.g. change to the examples directory and run

jmeter -n -t CSVSample.jmx

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

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


Re: jmeter just shows a blank window on startup, hangs

Posted by Rainer Duffner <ra...@ultra-secure.de>.
sebb schrieb:
> On 20/08/2009, Rainer Duffner <ra...@ultra-secure.de> wrote:
>   
>>
>>  What could be the reason for that?
>>     
>
> Almost anything ;-)
>
> See if the jmeter.log file gives any clues.
>   


Well...



2009/08/20 12:39:15 INFO  - jmeter.util.JMeterUtils: Setting Locale to
de_DE
2009/08/20 12:39:15 WARN  - jmeter.util.JMeterUtils: Could not find
resources for 'de_DE', using 'de'
2009/08/20 12:39:15 INFO  - jmeter.JMeter: Loading user properties from:
/home/rduffner/work/jakarta-jmeter-2.3.4/bin/user.properties
2009/08/20 12:39:15 INFO  - jmeter.JMeter: Loading system properties
from: /home/rduffner/work/jakarta-jmeter-2.3.4/bin/system.properties
2009/08/20 12:39:15 INFO  - jmeter.JMeter: Copyright (c) 1998-2009 The
Apache Software Foundation
2009/08/20 12:39:15 INFO  - jmeter.JMeter: Version 2.3.4 r785646
2009/08/20 12:39:15 INFO  - jmeter.JMeter: java.version=1.5.0_20
2009/08/20 12:39:15 INFO  - jmeter.JMeter: java.vm.name=Java HotSpot(TM)
64-Bit Server VM
2009/08/20 12:39:15 INFO  - jmeter.JMeter: os.name=Linux
2009/08/20 12:39:15 INFO  - jmeter.JMeter: os.arch=amd64
2009/08/20 12:39:15 INFO  - jmeter.JMeter: os.version=2.6.25.20-0.4-default
2009/08/20 12:39:15 INFO  - jmeter.JMeter: file.encoding=UTF-8
2009/08/20 12:39:15 INFO  - jmeter.JMeter: Default Locale=Deutsch
(Deutschland)
2009/08/20 12:39:15 INFO  - jmeter.JMeter: JMeter  Locale=Deutsch
(Deutschland)
2009/08/20 12:39:15 INFO  - jmeter.JMeter:
JMeterHome=/home/rduffner/work/jakarta-jmeter-2.3.4
2009/08/20 12:39:15 INFO  - jmeter.JMeter: user.dir 
=/home/rduffner/work/jakarta-jmeter-2.3.4/bin
2009/08/20 12:39:15 INFO  - jmeter.JMeter: PWD      
=/home/rduffner/work/jakarta-jmeter-2.3.4/bin
2009/08/20 12:39:15 INFO  - jmeter.JMeter: IP: 127.0.0.2 Name: suse2
FullName: suse2.domain.internal
2009/08/20 12:39:15 INFO  - jmeter.JMeter: Loaded icon properties from
org/apache/jmeter/images/icon.properties
2009/08/20 12:39:16 INFO  - jmeter.engine.util.CompoundVariable: Note:
Function class names must contain the string: '.functions.'
2009/08/20 12:39:16 INFO  - jmeter.engine.util.CompoundVariable: Note:
Function class names must not contain the string: '.gui.'
2009/08/20 12:39:17 INFO  - jmeter.util.BSFTestElement: Registering
JMeter version of JavaScript engine as work-round for BSF-22
2009/08/20 12:39:18 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className
property for htmlParser, using default
2009/08/20 12:39:18 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is 
2009/08/20 12:39:18 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for
application/xhtml+xml is 
2009/08/20 12:39:18 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml
is 
2009/08/20 12:39:18 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is 
2009/08/20 12:39:18 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for
text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2009/08/20 12:39:19 INFO  - jmeter.protocol.http.sampler.HTTPSampler:
Maximum connection retries = 10
2009/08/20 12:39:19 INFO  - jmeter.protocol.http.sampler.HTTPSampler:
Connection and read timeouts are available on this JVM
2009/08/20 12:39:20 WARN  - jmeter.gui.util.MenuFactory: Missing jar?
Could not create org.apache.jmeter.visualizers.MailerVisualizer.
java.lang.NoClassDefFoundError: javax/mail/MessagingException
2009/08/20 12:39:20 INFO  - jmeter.samplers.SampleResult: Note: Sample
TimeStamps are START times
2009/08/20 12:39:20 INFO  - jmeter.samplers.SampleResult:
sampleresult.default.encoding is set to ISO-8859-1


...no obvious ones, IMO.



cheers,
Rainer


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


Re: jmeter just shows a blank window on startup, hangs

Posted by sebb <se...@gmail.com>.
On 20/08/2009, Rainer Duffner <ra...@ultra-secure.de> wrote:
> Hi,
>
>  I run opensuse 11.0:
>  rduffner@suse2:~> uname -a
>  Linux suse2 2.6.25.20-0.4-default #1 SMP 2009-06-01 09:57:12 +0200
>  x86_64 x86_64 x86_64 GNU/Linux
>  rduffner@suse2:~> java -version
>  java version "1.5.0_20"
>  Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_20-b02)
>  Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_20-b02, mixed mode)
>
>  Tried again today, with latest version, 2.3.4.
>
>  What could be the reason for that?

Almost anything ;-)

See if the jmeter.log file gives any clues.

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

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