Discussion:
jmeter just shows a blank window on startup, hangs
Rainer Duffner
2009-08-20 14:18:59 UTC
Permalink
Hi,

I run opensuse 11.0:
***@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
***@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
sebb
2009-08-20 16:16:52 UTC
Permalink
Post by Rainer Duffner
Hi,
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
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.
Post by Rainer Duffner
Best Regards,
Rainer
---------------------------------------------------------------------
Rainer Duffner
2009-08-20 16:29:31 UTC
Permalink
Post by sebb
Post by Rainer Duffner
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
sebb
2009-08-20 16:37:45 UTC
Permalink
Post by Rainer Duffner
Post by sebb
Post by Rainer Duffner
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'
/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)
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
Function class names must contain the string: '.functions.'
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
Maximum connection retries = 10
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
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
Post by Rainer Duffner
cheers,
Rainer
---------------------------------------------------------------------
Rainer Duffner
2009-08-21 07:35:49 UTC
Permalink
Post by sebb
Post by Rainer Duffner
Post by sebb
Post by Rainer Duffner
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'
/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)
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
Function class names must contain the string: '.functions.'
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
Maximum connection retries = 10
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
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.
Post by sebb
Is the process using CPU?
A bit. But not very much.
Post by sebb
What command are you using?
I just type ./jmeter.sh in the bin-directory.
Post by sebb
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.


***@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
***@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
Mark Rotteveel
2009-08-21 08:03:19 UTC
Permalink
Post by Rainer Duffner
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).
Rainer Duffner
2009-08-21 08:25:15 UTC
Permalink
Post by Mark Rotteveel
Post by Rainer Duffner
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
Mark Rotteveel
2009-08-21 08:42:54 UTC
Permalink
Post by Rainer Duffner
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//

Noel O'Brien
2009-08-21 07:54:43 UTC
Permalink
I'm not sure if this is a JMeter issue. It sounds like a problem I had running eclipse on ubuntu (with Gnome). The application would start with absolutely no errors printed to stdout or to it's log files, yet I would be presented with a blank window and could not use the application. At first I thought it was a problem with SWT but nothing I did would fix it. That said, Swing based apps worked fine at the time. The issues you describe are so similar to what I had experienced I thought I'd comment :)

In the end I re-installed Eclipse :( but I suspected the problem may have been Gnome integration with Java GUIs. If it's possible I'd suggest installing a second desktop and try running it from within there. Fluxbox is quite small and should make for a quick test on the JMeter GUI

Regards,
Noel
Post by Rainer Duffner
Post by sebb
Post by Rainer Duffner
Post by sebb
Post by Rainer Duffner
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'
/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)
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
Function class names must contain the string: '.functions.'
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
Maximum connection retries = 10
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
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.
Post by sebb
Is the process using CPU?
A bit. But not very much.
Post by sebb
What command are you using?
I just type ./jmeter.sh in the bin-directory.
Post by sebb
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.
-t CSVSample.jmx
Created the tree successfully using CSVSample.jmx
Waiting for possible shutdown message on port 4445
... end of run
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
---------------------------------------------------------------------
Loading...