Details

    • Sub-task
    • Resolution: Done
    • Critical
    • 10.2.0.AM1
    • None
    • livereload
    • None

    Description

      I have an environment where I am using a different implementation of javax.servlet 3.1.0 that has a different bundle symbolic name.

      Because of this, some jboss bundles that use "Require-Bundle" fail to load with errors like the following:

      !ENTRY org.jboss.tools.livereload.core 4 0 2016-09-21 18:08:45.542
      !MESSAGE FrameworkEvent ERROR
      !STACK 0
      org.osgi.framework.BundleException: Could not resolve module: org.jboss.tools.livereload.core [1176]
        Unresolved requirement: Require-Bundle: javax.servlet; bundle-version="3.1.0"
      
              at org.eclipse.osgi.container.Module.start(Module.java:444)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1599)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
              at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
              at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
      

      Ideally, these dependencies should be specified instead with "Import-Package" as recommended by OSGi.

      Attachments

        Activity

          People

            xcoulon@redhat.com Xavier Coulon
            mat.booth Mat Booth (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: