Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-1920

Startup doesn't print some config properties defined outside the default properties files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.5.0, 2.4.1
    • Component/s: API
    • Labels:
      None

      Description

      WARN GrouperStartup.printConfigOnce(177) - Grouper starting up: version: 2.4.0, build date: null, env: <no label configured>

      ...

      grouper.hibernate.properties: null@null

       

      We do have a settings for grouper.env.name, and the hibernate properties. However, they are not in the default conf/grouper*properties. They are in environment-specific cascade files defined outside the classpath. We then set the grouper.*.config.hierarchy with the file last in the list, so that it can override.

       

      It seems that the startup is looking only at conf/grouper.properties and conf/grouper.hibernate.properties for certain settings during startup. Other than the startup, the rest of the API reads the override values just fine.

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  chad.redman@at.internet2.edu Chad Redman (unc.edu)
                  Reporter:
                  chad.redman@at.internet2.edu Chad Redman (unc.edu)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: