You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2009/05/28 14:03:04 UTC

DO NOT REPLY [Bug 47280] New: Unable to start jmeter on dutch XP

https://issues.apache.org/bugzilla/show_bug.cgi?id=47280

           Summary: Unable to start jmeter on dutch XP
           Product: JMeter
           Version: 2.3.3
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: dereksmit@planet.nl


Jmeter 2.3.2 works fine on my system. I just downloaded the new version and
could not start jmeter with jmeter.bat

The error I found in my log is:



2009/05/28 14:01:17 INFO  - jmeter.util.JMeterUtils: Setting Locale to nl_NL 
2009/05/28 14:01:17 ERROR - jmeter.util.JMeterUtils: Unable to change language
to nl_NL 
2009/05/28 14:01:17 FATAL - jmeter.JMeter: An error occurred: 
org.apache.jorphan.util.JMeterError: Unable to change language to nl_NL
    at org.apache.jmeter.util.JMeterUtils.setLocale(JMeterUtils.java:335)
    at org.apache.jmeter.util.JMeterUtils.initLocale(JMeterUtils.java:153)
    at org.apache.jmeter.JMeter.initializeProperties(JMeter.java:497)
    at org.apache.jmeter.JMeter.start(JMeter.java:273)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.jmeter.NewDriver.main(NewDriver.java:207)



I found out that I can add this to jmeter.bat:
-Duser.language=en -Duser.region=en

So line 99 of jmeter.bat is changed to:
%JM_START% %JM_LAUNCH% %ARGS% %JVM_ARGS% -Duser.language=en -Duser.region=en
-jar "%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS%

This works for me, but its only a workaround not a real fix

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 47280] Unable to start jmeter on dutch XP

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47280


Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #3 from Sebb <se...@apache.org>  2009-05-28 12:26:41 PST ---
Fixed in SVN:

URL: http://svn.apache.org/viewvc?rev=779721&view=rev
Log:
Always allow Locale to be set, even if there is no corresponding properties
file.

If you get a chance to try a nightly build (r779721 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=779721 ) and later), it would be a
great help if you could confirm that the fix works for you.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 47280] Unable to start jmeter on dutch XP

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47280





--- Comment #2 from Sebb <se...@apache.org>  2009-05-28 08:37:18 PST ---
Rats! I fixed it so Polish would work, but the fix was obviously wrong.

Two other work-rounds:

1) Add

   language=en

to jmeter.properties

2) Provide property files in Dutch ;-)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 47280] Unable to start jmeter on dutch XP

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47280





--- Comment #1 from derko <de...@planet.nl>  2009-05-28 05:03:43 PST ---
just to be clear the problem is in jmeter 2.3.3 not 2.3.2

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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