tracker issue : CF-4126529

select a category, or use search below
(searches all categories and all time range)
Title:

Locale error on "Coldfusion Collections" page in Coldfusion Administrator

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): A. Bakia / A. Bakia (A. Bakia)

Created: 03/09/2016

Components: Administrator

Versions: 2016

Failure Type: Unspecified

Found In Build/Fixed In Build: Alpha3_v12 /

Priority/Frequency: Minor / Unknown

Locale/System: English / Win All

Vote Count: 0

Problem Description:You get an error when you open the Coldfusion Administrator and navigate to "Data & Services" => "Coldfusion Collections"

Steps to Reproduce: (1) Open the Coldfusion Administrator; (2) Navigate to "Data & Services" then to "Coldfusion Collections".

Actual Result: You will get an error page saying "en_NL must be one of the ColdFusion supported locales." (I am in The Netherlands whose locale is, to my knowledge, nl_NL)

Expected Result: To get the "Coldfusion Collections" page without error.

Any Workarounds: I know of none.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4126529

External Customer Info:
External Company: (withheld for privacy)
External Customer Name: A. Bakia
External Customer Email: A.BAKIG@CHELLO.NL
External Test Config:  


Bug File Paths:
\\sjshare.corp.adobe.com\Prereleasebugfiles\ColdFusion\12.0\Alpha3_v12\4087461\cfadmin_collections_error.html
	 
\\sjshare.corp.adobe.com\Prereleasebugfiles\ColdFusion\12.0\Alpha3_v12\4087461\cfadmin_collections_error.png

Attachments:

  1. August 13, 2016 00:00:00: 1_ColdFusion_Administrator_Solr_Error.pdf

Comments:

Adding BUG AUDIT TRAIL ********action: updated fieldName: Priority newValue: 1 oldValue: 0 oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2016-02-16 15:17:18.0 action: updated fieldName: Fix By Milestone newValue: Alpha oldValue: Blank oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2016-02-14 15:38:34.0 action: updated fieldName: Fix By Product Milestone newValue: Alpha oldValue: Blank oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2016-02-14 15:38:34.0 action: updated fieldName: Status newValue: ToTrack oldValue: ToTrack oprid: prerelease recordName: RQ_DEFECT timpestamp: 2016-01-03 19:42:04.0 action: updated fieldName: Reason newValue: PRHaveInfo oldValue: PRNeedInfo oprid: prerelease recordName: RQ_DEFECT timpestamp: 2016-01-03 19:42:04.0 action: updated fieldName: State newValue: Open oldValue: Open oprid: prerelease recordName: RQ_DEFECT timpestamp: 2016-01-03 19:42:04.0 action: updated fieldName: Reason newValue: PRNeedInfo oldValue: PRHaveInfo oprid: pnayak recordName: RQ_DEFECT timpestamp: 2015-11-24 10:26:24.0 action: updated fieldName: State newValue: Open oldValue: Open oprid: prerelease recordName: RQ_DEFECT timpestamp: 2015-11-21 11:49:42.0 action: updated fieldName: Reason newValue: PRHaveInfo oldValue: PRNeedInfo oprid: prerelease recordName: RQ_DEFECT timpestamp: 2015-11-21 11:49:42.0 action: updated fieldName: Status newValue: ToTrack oldValue: ToTrack oprid: prerelease recordName: RQ_DEFECT timpestamp: 2015-11-21 11:49:42.0 action: updated fieldName: Reason newValue: PRNeedInfo oldValue: Blank oprid: pnayak recordName: RQ_DEFECT timpestamp: 2015-11-19 14:20:49.0 action: updated fieldName: Status newValue: ToTrack oldValue: Unverified oprid: pnayak recordName: RQ_DEFECT timpestamp: 2015-11-19 14:20:49.0 action: updated fieldName: Owner newValue: pnayak oldValue: nimsharm oprid: nimsharm recordName: RQ_DEFECT timpestamp: 2015-11-16 04:04:42.0 action: updated fieldName: QE Assigned newValue: pnayak oldValue: nimsharm oprid: nimsharm recordName: RQ_DEFECT timpestamp: 2015-11-16 04:04:42.0
Comment by CFwatson U.
3840 | March 09, 2016 02:28:56 AM GMT
Added By: PreRelease User User Name:A. Bakia Note Added: 1) Control Panel> Region and Language: Format: Dutch (Netherlands); System locale: English (United States). 2) The "Java Default Locale" setting in your CF admin > Server Settings > Settings Summary info page: en_NL 3) The output of writedump(getLocale()): English (US) 4) Your OS: Windows 7 (version 6.1) Date Added :2016-01-03 19:42:01.0 Added By:pnayak Note Added: A. Bakia, Can you please share the information requested in my previous note. Date Added :2015-12-19 19:25:26.0 Added By:pnayak Note Added: I think CF's JVM picks up the locale of it's host OS. Can you confirm the following: -The locale of your windows sys. control panel> region and language -The "Java Default Locale" setting in your CF admin > sever settings > settings summary info page. -The output of : writedump(getLocale()); - Your OS. Date Added :2015-11-24 10:26:26.0 Added By: PreRelease User User Name:A. Bakia Note Added: To be clear: Though I live in the Netherlands, I want my Coldfusion installation to have the default settings EN and US (not a mixture of two locales EN_NL). Date Added :2015-11-21 11:52:55.0 Added By: PreRelease User User Name:A. Bakia Note Added: The sys property is not incorrectly set. I installed Coldfusion using the default settings. I therefore expected the language and country to be EN and US, by default. In any case, you should not get an error after you install using the default settings. Hence, this is a bug. Date Added :2015-11-21 11:49:41.0 Added By:pnayak Note Added: set the system property in jvm.config to -Duser.language=nl -Duser.country=NL to set the locale to "Dutch". the CF admin collection page loads with no errors. Can observe the error reported by the reporter if the sys property is incorrectly set. Date Added :2015-11-19 14:23:05.0 Added By: PreRelease User User Name:A. Bakia Note Added: Entered Bug. Date Added :2015-11-15 10:32:01.0
Comment by CFwatson U.
3841 | March 09, 2016 02:28:57 AM GMT
A. Bakia, Can you pls. confirm if the locale settings picked up by CF is with the default system settings. Or are you setting it in jvm.config. If I set my OS (Windows 7 x64) to dutch locale and system (in control panel options listed below) and remove -Duser.language=en directive from CF's jvm.config, CF still starts up with en_US as the locale. control> region and language > format : Dutch(Netherlands) location:Netherlands administrative: system locale Dutch(Netherlands) en_NL is not a supported locale per server.ColdFusion.SupportedLocales output. I don't find it in the list of supported locales in Java as well. Ref. http://www.oracle.com/technetwork/java/javase/java8locales-2095355.html
Comment by Piyush K.
3842 | August 03, 2016 07:43:27 AM GMT
I have uploaded stack trace, following e-mail correspondence with Piyush
Comment by External U.
3843 | August 12, 2016 03:18:40 PM GMT
A. Bakia, Thank you for sharing the details, once again. I have tried simulating the issue by setting my Windows settings to a non-default locale, but I can't seem to get CF to pick the system timezone/locale settings. It is possible that you are running into the issue because we use the -Duser.language=en directive in our jvm.config file. Can you try the following: - remove or comment out the -Duser.language=en directive from your jvm.config file and restart CF. - If you are still running into the "unsupported locale" error, can you try use the following directive in your jvm.config: -Duser.language=en -Duser.country=NL
Comment by Piyush K.
3844 | August 16, 2016 05:45:55 AM GMT
Thanks, Piyush, also for your e-mail. Your suggestion is helpful, as it confirms the workaround that I eventually found. The error went away when I included the following options among the JVM arguments in the Coldfusion Administrator: -Duser.language=en -Duser.country=US
Comment by External U.
3845 | August 16, 2016 02:05:59 PM GMT
Did you not try simply removing the -Duser.language=en directive from jvm.config and restarting CF. Did that not help??
Comment by Piyush K.
3846 | August 18, 2016 04:41:23 AM GMT