Application Server 7
  1. Application Server 7
  2. AS7-4183

Cannot reference fragments in autostart capabilities

    Details

    • Similar Issues:
      Show 10 results 

      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]
      

        Activity

        Thomas Diesler
        made changes -
        Field Original Value New Value
        Forum Reference https://community.jboss.org/thread/196538
        Thomas Diesler
        made changes -
        Status Open [ 1 ] Coding In Progress [ 3 ]
        Thomas Diesler
        made changes -
        Status Coding In Progress [ 3 ] Pull Request Sent [ 10011 ]
        Git Pull Request https://github.com/jbossas/jboss-as/pull/1841
        Thomas Diesler
        made changes -
        Status Pull Request Sent [ 10011 ] Resolved [ 5 ]
        Resolution Done [ 1 ]

          People

          • Assignee:
            Thomas Diesler
            Reporter:
            Thomas Diesler
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: