In general, we're putting these LocalStrings.properties files in
src/main/java instead of src/main/resources, right? It's a lot
easier to keep them in sync with the code when they're right next
to the code.
Do we need a maven plugin to check for this error? :-)
Tim Quinn wrote on 06/14/11 11:52 AM:
> A LocalStrings.properties file added to src/main/resources last
> December is now hiding the original one in src/main/java -- hiding in
> the sense that when the module JAR is build the src/main/resources
> file is the one that "wins."
>
> So there are two problems to fix: merge the two properties files and
> tolerate a missing key.
>
> In progress...
>
> - Tim
>
> On Jun 14, 2011, at 12:29 AM, Koper, Dies wrote:
>
>> Who owns 'com.sun.enterprise.registration'?
>>
>> FYI, Hudson has been logging the following error to server.log (GF 3.2
>> continuous build):
>>
>> [#|2011-06-13T18:49:07.530-0700|SEVERE|glassfish3.2|
>> javax.enterprise.sys
>> tem.std.com.sun.enterprise.server.logging|
>> _ThreadID=12;_ThreadName=Threa
>> d-1;|Exception in thread "registration" |#]
>>
>> [#|2011-06-13T18:49:07.532-0700|SEVERE|glassfish3.2|
>> javax.enterprise.sys
>> tem.std.com.sun.enterprise.server.logging|
>> _ThreadID=12;_ThreadName=Threa
>> d-1;|java.util.MissingResourceException: Can't find resource for
>> bundle
>> java.util.PropertyResourceBundle, key xfmgr.errTransTags
>> at java.util.ResourceBundle.getObject(ResourceBundle.java:384)
>> at java.util.ResourceBundle.getString(ResourceBundle.java:344)
>> at
>> com
>> .sun.enterprise.registration.impl.StringManager.getString(StringManag
>> er.java:64)
>> at
>> com
>> .sun.enterprise.registration.impl.SysnetTransferManager.transferServi
>> ceTags(SysnetTransferManager.java:118)
>> at
>> com
>> .sun.enterprise.registration.impl.SysnetRegistrationService.transferE
>> ligibleServiceTagsToSysNet(SysnetRegistrationService.java:153)
>> at
>> com.sun.enterprise.registration.glassfish.TransferService
>> $1.run(Transfer
>> Service.java:85)
>> at java.util.TimerThread.mainLoop(Timer.java:512)
>> at java.util.TimerThread.run(Timer.java:462)
>> |#]
>>
>> Regards,
>> Dies
>>
>