Uploaded image for project: 'JBoss OSGi'
  1. JBoss OSGi
  2. JBOSGI-439

Bundle resolution error should provide reason

    Details

      Description

      When a bundle fails to resolve there is an exception in the log, but the exception doesn't provide us with any information about why the resolution fails. The error reporting should be enhanced.

      12:44:19,692 ERROR [org.jboss.as.osgi] (MSC service thread 1-2) Cannot start bundle: jboss-osgi-jndi:1.0.5.SNAPSHOT: org.osgi.framework.BundleException: Cannot resolve bundle: jboss-osgi-jndi:1.0.5.SNAPSHOT
      at org.jboss.osgi.framework.bundle.HostBundle.startInternal(HostBundle.java:207)
      at org.jboss.osgi.framework.bundle.AbstractBundle.start(AbstractBundle.java:411)
      at org.jboss.as.osgi.deployment.OSGiDeploymentService$OSGiDeploymentListener.processDeployment(OSGiDeploymentService.java:229)
      at org.jboss.as.osgi.deployment.OSGiDeploymentService$OSGiDeploymentListener.serviceStarted(OSGiDeploymentService.java:180)
      at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1149)
      at org.jboss.msc.service.ServiceControllerImpl.access$2300(ServiceControllerImpl.java:44)
      at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:1513)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_20]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_20]
      at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                thomas.diesler Thomas Diesler
                Reporter:
                bosschaert David Bosschaert
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: