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

          Development OSE created issue -
          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.
          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 -

          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
          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 - - 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 -

          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
          Achim Nierbeck made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 2.2.0 [ 12315328 ]
          Resolution Fixed [ 1 ]
          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.
          Achim Nierbeck made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Guillaume Nodet made changes -
          Link This issue depends on KARAF-446 [ KARAF-446 ]
          Guillaume Nodet made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Assignee Guillaume Nodet [ gnt ]
          Resolution Fixed [ 1 ]
          Jamie goodyear made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Gavin made changes -
          Link This issue depends on KARAF-446 [ KARAF-446 ]
          Gavin made changes -
          Link This issue depends upon KARAF-446 [ KARAF-446 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          85d 13h 50m 1 Achim Nierbeck 14/Jan/11 22:15
          Resolved Resolved Reopened Reopened
          21h 7m 1 Achim Nierbeck 15/Jan/11 19:23
          Reopened Reopened Resolved Resolved
          22d 15h 28m 1 Guillaume Nodet 07/Feb/11 10:51
          Resolved Resolved Closed Closed
          212d 1h 35m 1 Jamie goodyear 07/Sep/11 13:27

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development