[seam-issues] [JBoss JIRA] Created: (SOLDER-49) Unsatisfied dependencies for type-safe logger
Dan Allen (JIRA)
jira-events at lists.jboss.org
Wed Dec 8 18:33:31 EST 2010
Unsatisfied dependencies for type-safe logger
---------------------------------------------
Key: SOLDER-49
URL: https://jira.jboss.org/browse/SOLDER-49
Project: Seam Solder
Issue Type: Bug
Components: Core
Reporter: Dan Allen
JBoss Logging caches the value of the system property jboss.i18n.generate-proxies, which determines whether it will generate the proxies that the type-safe loggers in Solder rely on.
Although this property is set in a static block in the LoggerExtension, it may not be soon enough depending on the order that extension are loaded. In some cases, JBoss Logging caches a value of null, then all type-safe logging injection points break (and we get major complaints in the forums).
You can fix this temporarily by starting the application server with the following system property:
-Djboss.i18n.generate-proxies=true
The real issue is in JBoss Logging. It shouldn't be caching this system property so aggressively. But the use of a system property in general is way too fragile.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list