Karaf
  1. Karaf
  2. KARAF-796

Editing Pax Web Configuration Via Karaf Console

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.2
    • Fix Version/s: 2.2.3, 3.0.0
    • Component/s: karaf-webconsole
    • Labels:
      None
    • Environment:

      Mac Snow Leopard 10.6.8, java 1.6.0_26, installed features: config/http/webconsole-base/webconsole/ssh/management (2.2.2), jetty(7.4.2.v20110526)

      Description

      If you try to change any PAX Web configuration via the karaf web console, it breaks PAX Web. After some research, I found at least one of the offending values created by Karaf webconsole:

      org.osgi.service.http.secure.enabled=B"true"

      PAX Web appears to expect this to be a string, not a boolean, so if I change this configuration value to this:

      org.osgi.service.http.secure.enabled="true"

      and I was able to get PAX Web working again.

      This may not be the only error in the file produced by Karaf (as I removed all the configuration items irrelevant to me currently).
      I only setup the minimum to get SSL working.

        Issue Links

          Activity

          Hide
          Achim Nierbeck added a comment - - edited

          thanx for reporting. will be fixed in PaxWeb it's probably in the metatype.xml

          corresponding pax web issue: http://team.ops4j.org/browse/PAXWEB-294

          Show
          Achim Nierbeck added a comment - - edited thanx for reporting. will be fixed in PaxWeb it's probably in the metatype.xml corresponding pax web issue: http://team.ops4j.org/browse/PAXWEB-294
          Hide
          Achim Nierbeck added a comment -

          corresponding pax web bug has been fixed,
          all entries are strings now
          and karaf has been upgraded to either 1.0.5 or 1.1.1

          Show
          Achim Nierbeck added a comment - corresponding pax web bug has been fixed, all entries are strings now and karaf has been upgraded to either 1.0.5 or 1.1.1

            People

            • Assignee:
              Unassigned
              Reporter:
              Gareth Collins
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development