Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-796

Editing Pax Web Configuration Via Karaf Console

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.2
    • 2.2.3, 3.0.0
    • karaf
    • None
    • 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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gcollins Gareth Collins
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: