Karaf
  1. Karaf
  2. KARAF-254

Web configmanager did not list all available configurations

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.2.0
    • Component/s: None
    • Labels:
      None

      Description

      The current version does not list all available configurations in the web module configmgnr.
      An example from the base installation is the configuration of the "features". Others are also missing.

        Issue Links

          Activity

          Hide
          Achim Nierbeck added a comment -

          Have to wait till Webconsole 3.1.8 is available.

          Show
          Achim Nierbeck added a comment - Have to wait till Webconsole 3.1.8 is available.
          Hide
          Achim Nierbeck added a comment -

          done with switching to never version of web console.
          http://svn.apache.org/viewvc?rev=1059186&view=rev

          Show
          Achim Nierbeck added a comment - done with switching to never version of web console. http://svn.apache.org/viewvc?rev=1059186&view=rev
          Hide
          Achim Nierbeck added a comment - - edited

          I actually opened an issue at felix for this FELIX-2729.
          The proposed solution in my last comment doesn't work, another bug fooled me though.
          The ocdref of the Object is regarded as another service pid where somehow a text box appears
          but as duplicate entry for pax logging

          I attached a patch for the FELIX-2729 issue, we now only need somebody to apply it

          Show
          Achim Nierbeck added a comment - - edited I actually opened an issue at felix for this FELIX-2729 . The proposed solution in my last comment doesn't work, another bug fooled me though. The ocdref of the Object is regarded as another service pid where somehow a text box appears but as duplicate entry for pax logging I attached a patch for the FELIX-2729 issue, we now only need somebody to apply it
          Hide
          Achim Nierbeck added a comment -

          I tried to supply only the metatype.xml with follwing entries for the pax-logging:

          <?xml version="1.0" encoding="UTF-8"?>
          <metatype:MetaData xmlns:metatype="http://www.osgi.org/xmlns/metatype/v1.0.0">
          	<OCD description="PAX-LOGGING" name="Pax Logging" id="org.ops4j.pax.logging.pax-logging-service"/>
          	<Designate pid="org.ops4j.pax.logging">
                  <Object ocdref="org.ops4j.pax.logging.pax-logging-service"/>
              </Designate>
          </metatype:MetaData>
          

          That did help already.

          Show
          Achim Nierbeck added a comment - I tried to supply only the metatype.xml with follwing entries for the pax-logging: <?xml version= "1.0" encoding= "UTF-8" ?> <metatype:MetaData xmlns:metatype= "http: //www.osgi.org/xmlns/metatype/v1.0.0" > <OCD description= "PAX-LOGGING" name= "Pax Logging" id= "org.ops4j.pax.logging.pax-logging-service" /> <Designate pid= "org.ops4j.pax.logging" > < Object ocdref= "org.ops4j.pax.logging.pax-logging-service" /> </Designate> </metatype:MetaData> That did help already.
          Hide
          Achim Nierbeck added a comment -

          But one won't be able to do that, the configuration of the pax-logging bundle is just to generic, to fullfill that, unless I missed something on the meta-type service that is able of doing this

          on the other hand I recently had a meta-type configuration differ to the one use, and it still was able to visualize it, maybe you just need to add some meta-type stuff on it to start visualization. I will give it a try.

          Show
          Achim Nierbeck added a comment - But one won't be able to do that, the configuration of the pax-logging bundle is just to generic, to fullfill that, unless I missed something on the meta-type service that is able of doing this on the other hand I recently had a meta-type configuration differ to the one use, and it still was able to visualize it, maybe you just need to add some meta-type stuff on it to start visualization. I will give it a try.
          Hide
          Guillaume Nodet added a comment -

          Meaning that at least all the configurations used by karaf should provide a metatype descriptor.

          Show
          Guillaume Nodet added a comment - Meaning that at least all the configurations used by karaf should provide a metatype descriptor.
          Hide
          Achim Nierbeck added a comment -

          This is probably due to the fact that the web console plugin of the Felix Webmodule does only show configurations of bundles that also contain meta-type.

          Show
          Achim Nierbeck added a comment - This is probably due to the fact that the web console plugin of the Felix Webmodule does only show configurations of bundles that also contain meta-type.

            People

            • Assignee:
              Guillaume Nodet
              Reporter:
              Development OSE
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development