dev@glassfish.java.net

Re: [Fwd: [Issue 6099] [ejb_container] Error in formatting Logrecord occurs in ejb test]

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Mon, 15 Sep 2008 20:28:00 -0700

Marina Vatkina wrote:
> Jerome Dochez wrote:
>> Marina Vatkina wrote:
>>
>>> Jerome, Carla,
>>>
>>> Do we have now several bugs that can't load resource bundle for
>>> their loggers?
>>>
>>> Looking at the dependencies, I've noticed that the
>>> common/common-util/osgi.bundle exports only com.sun.logging, but not
>>> its sub-packages. Doesn't this mean that any other bundle won't be
>>> able to load its resource bundle if it is (still) located in the old
>>> place?
>>
>> yes individual modules need to either move the resources to their
>> bundle or add the package to the export list. Were you expecting
>> Carla to add blanket exports ?
>
> I re-read Carla's email again, and you are right, everybody needs to
> make a change. Looks like we didn't read the requirements carefully
> enough :(.
been there, done that :)
I will remind folks tomorrow at the engineering meeting.

Jerome
>
> thanks,
> -marina
>
>>
>>>
>>> thanks,
>>> -marina
>>>
>>> -------- Original Message --------
>>> Subject: [Issue 6099] [ejb_container] Error in formatting Logrecord
>>> occurs in ejb test
>>> Date: Mon, 15 Sep 2008 18:35:16 +0000
>>> From: cf126330_at_dev.java.net
>>> Reply-To: issues_at_glassfish.dev.java.net
>>> To: issues_at_glassfish.dev.java.net
>>>
>>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=6099
>>>
>>>
>>>
>>>
>>>
>>>
>>> ------- Additional comments from cf126330_at_dev.java.net Mon Sep 15
>>> 18:35:14 +0000 2008 -------
>>> This error also occurred in a simple ejb 3.1 test app, with just
>>> stateless beans
>>> and no interceptors. It makes it hard to detect real errors, and
>>> the real
>>> errors may have failed to be printed due to this MissResourceException.
>>>
>>> There are several bugs that are similar to this one, or may be just
>>> duplicates:
>>> 6063, 6105, 6110
>>>
>>> Another annoyance is that ONE stacktrace is printed as multiple log
>>> entries, one
>>> line per entry, instead of one WHOLE stacktrace as a log entry:
>>> [#|2008-09-15T14:20:39.175-0400|INFO|GlassFish10.0|null|_ThreadID=15;_ThreadName=Thread-4;|class
>>>
>>> name that failed com.sun.ejb.containers.EjbContainerUtilImpl|#]
>>>
>>> [#|2008-09-15T14:20:39.176-0400|SEVERE|GlassFish10.0|null|_ThreadID=15;_ThreadName=Thread-4;|java.util.logging.ErrorManager:
>>>
>>> 5: Error in formatting Logrecord|#]
>>>
>>> [#|2008-09-15T14:20:39.176-0400|SEVERE|GlassFish10.0|null|_ThreadID=15;_ThreadName=Thread-4;|java.util.MissingResourceException:
>>>
>>> Can't find bundle for base name
>>> com.sun.logging.enterprise.system.container.ejb.LogStrings, locale
>>> en_US|#]
>>>
>>> [#|2008-09-15T14:20:39.176-0400|SEVERE|GlassFish10.0|null|_ThreadID=15;_ThreadName=Thread-4;|
>>>
>>> at
>>> java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1521)|#]
>>>
>>>
>>> [#|2008-09-15T14:20:39.176-0400|SEVERE|GlassFish10.0|null|_ThreadID=15;_ThreadName=Thread-4;|
>>>
>>> at
>>> java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260)|#]
>>>
>>> [#|2008-09-15T14:20:39.177-0400|SEVERE|GlassFish10.0|null|_ThreadID=15;_ThreadName=Thread-4;|
>>>
>>> at java.util.ResourceBundle.getBundle(ResourceBundle.java:962)|#]
>>>
>>> [#|2008-09-15T14:20:39.177-0400|SEVERE|GlassFish10.0|null|_ThreadID=15;_ThreadName=Thread-4;|
>>>
>>> at
>>> com.sun.logging.LogDomains$1.getResourceBundle(LogDomains.java:260)|#]
>>>
>>> [#|2008-09-15T14:20:39.177-0400|SEVERE|GlassFish10.0|null|_ThreadID=15;_ThreadName=Thread-4;|
>>>
>>> at
>>> com.sun.enterprise.server.logging.UniformLogFormatter.getResourceBundle(UniformLogFormatter.java:308)|#]
>>>
>>>
>>> [#|2008-09-15T14:20:39.177-0400|SEVERE|GlassFish10.0|null|_ThreadID=15;_ThreadName=Thread-4;|
>>>
>>> at
>>> com.sun.enterprise.server.logging.UniformLogFormatter.uniformLogFormat(UniformLogFormatter.java:264)|#]
>>>
>>>
>>> [#|2008-09-15T14:20:39.177-0400|SEVERE|GlassFish10.0|null|_ThreadID=15;_ThreadName=Thread-4;|
>>>
>>> at
>>> com.sun.enterprise.server.logging.UniformLogFormatter.format(UniformLogFormatter.java:147)|#]
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: issues-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: issues-help_at_glassfish.dev.java.net
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>