Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 334372

Summary: Missing key when using locale different than EN
Product: [RT] Virgo Reporter: Hristo Iliev <hsiliev>
Component: runtimeAssignee: Hristo Iliev <hsiliev>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipse
Version: unspecified   
Target Milestone: 3.0.0.M01   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Hristo Iliev CLA 2011-01-14 07:23:40 EST
When dumping, Virgo outputs:

[2011-01-14 13:58:01.289] startup-tracker              <ME0001W> A message with the key 'ME0003I' was not found. The inserts for the message were '[serviceability\dump\2011-01-14-13-57-304]'

The problem seems to be that my locale is bg_BG. There is a similar message (ME0003I) in bug 328492 reported by Thomas Kratz that I guess uses a german locale.

The files scanned for the message by ResourceBundleUtils in my case are:
[EventLogMessages_bg_BG.properties, EventLogMessages_bg.properties, EventLogMessages.properties]

But the message can be found in properties file with _en.
Comment 1 Hristo Iliev CLA 2011-01-14 07:25:43 EST
The problem can be reproduced with:
startup -clean "-Forg.eclipse.virgo.kernel.startup.wait.limit=10"
Comment 2 Hristo Iliev CLA 2011-01-14 08:36:20 EST
Renamed 

org.eclipse.virgo.medic.core/src/main/resources/EventLogMessages_en.properties 
to
org.eclipse.virgo.medic.core/src/main/resources/EventLogMessages.properties 

with commit b4b82b5a7e9539c6f86757cd1dafed17ee54649c