[
https://issues.jboss.org/browse/JBLOGGING-79?page=com.atlassian.jira.plug...
]
David Lloyd commented on JBLOGGING-79:
--------------------------------------
There are in fact four CNFEs when this occurs, so it's not practical to log them all.
However logging the class loader makes sense.
Not enough context is shown when a Logger implementation can not be
found
-------------------------------------------------------------------------
Key: JBLOGGING-79
URL:
https://issues.jboss.org/browse/JBLOGGING-79
Project: JBoss Logging
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Affects Versions: 3.1.0.GA
Reporter: Carlo de Wolf
Assignee: David Lloyd
Both the class loader used and the original ClassNotFoundException should be available in
the stack trace.
{noformat}
13:13:21,520 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed
to start service jboss.messaging.default: org.jboss.msc.service.StartException in service
jboss.messaging.default: Failed to start service
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[rt.jar:1.6.0_30]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[rt.jar:1.6.0_30]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_30]
Caused by: java.lang.ExceptionInInitializerError
at org.jboss.as.messaging.HornetQService.start(HornetQService.java:92)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
... 3 more
Caused by: java.lang.IllegalArgumentException: Invalid logger interface
org.jboss.as.messaging.MessagingLogger (implementation not found)
at org.jboss.logging.Logger.getMessageLogger(Logger.java:2250)
at org.jboss.logging.Logger.getMessageLogger(Logger.java:2214)
at org.jboss.as.messaging.MessagingLogger.<clinit>(MessagingLogger.java:47)
... 6 more
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira