Uploaded image for project: 'JBoss Logging'
  1. JBoss Logging
  2. JBLOGGING-79

Not enough context is shown when a Logger implementation can not be found

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 3.1.2.GA, 3.2.0.Beta1
    • 3.1.0.GA
    • None
    • None

      Both the class loader used and the original ClassNotFoundException should be available in the stack trace.

      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
      

              dlloyd@redhat.com David Lloyd
              rhn-engineering-cdewolf Carlo de Wolf
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: