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

Provide a more dynamic default for serviceUrl configuration

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.3, 3.0.5
    • Fix Version/s: 2.4.4, 3.0.6
    • Component/s: karaf
    • Labels:
      None

      Description

      The default value for serviceUrl in the org.apache.karaf.management PID is now defined as

      service:jmx:rmi://localhost:44444/jndi/rmi://localhost:1099/karaf-$[karaf.name]
      

      Blueprint's ConfigAdmin support does allow us to use replacement variables in those defaults too, so it would be nice to reuse the rmiServerHost, rmiServerPort, rmiRegistryHost and rmiRegistryPort values.

      (This issue is only relevant for Karaf 2.4.x and 3.0.x - in 4.0.x the code already behaves this way)

        Attachments

          Activity

            People

            • Assignee:
              gertvanthienen Gert Vanthienen
              Reporter:
              gertvanthienen Gert Vanthienen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: