Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4183

Cannot reference fragments in autostart capabilities

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.2.Final (EAP)
    • None
    • OSGi
    • None

    Description

      When enabling the felix admin console like this

      <capability name="org.ops4j.pax.web:pax-web-jsp:1.1.2" startlevel="1"/>
      <capability name="org.ops4j.pax.web:pax-web-jetty-bundle:1.1.2" startlevel="1"/>
      <capability name="org.apache.felix:org.apache.felix.webconsole:3.1.6.SP1" startlevel="1"/>
      <capability name="org.jboss.osgi.webconsole:jbosgi-webconsole:1.0.6" startlevel="1"/>
      

      I see

      12:18:33,516 ERROR MSC00001: Failed to start service jbosgi.AutoInstallProvider.COMPLETE: org.jboss.msc.service.StartException in service jbosgi.AutoInstallProvider.COMPLETE: 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_29]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_29]
      	at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_29]
      Caused by: java.lang.IllegalArgumentException: Not a HostBundleState: jbosgi-webconsole:1.0.6
      	at org.jboss.osgi.framework.internal.HostBundleState.assertBundleState(HostBundleState.java:70)
      	at org.jboss.osgi.framework.internal.StartLevelPlugin.setBundleStartLevel(StartLevelPlugin.java:165)
      	at org.jboss.as.osgi.service.AutoInstallIntegration.startBundle(AutoInstallIntegration.java:268)
      	at org.jboss.as.osgi.service.AutoInstallIntegration$1.start(AutoInstallIntegration.java:180)
      	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]
      

      Attachments

        Activity

          People

            tdiesler@redhat.com Thomas Diesler
            tdiesler@redhat.com Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: