dev@glassfish.java.net

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

From: Byron Nevins <byron.nevins_at_oracle.com>
Date: Tue, 14 Jun 2011 10:44:01 -0700

Ah if only the world was as described in /Candide/ (best of all possible
worlds where the strings are ALWAYS in the resource bundles where they
are supposed to be)

*public static String getString(String messageKey, Object... args) {
         String message = resourceBundle.getString(messageKey); // OOPS!!!
         return MessageFormat.format(message, args);
     }*



On 6/13/2011 10:29 PM, 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
>

-- 
Oracle <http://www.oracle.com>
Byron Nevins | Principal MTS
Phone: +1 6503958992 <tel:+1%206503958992>
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to 
developing practices and products that help protect the environment