dev@glassfish.java.net

Re: who owns 'com.sun.enterprise.registration'?

From: Tim Quinn <tim.quinn_at_oracle.com>
Date: Tue, 14 Jun 2011 13:52:03 -0500

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
>