Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-2644

Allow property initializer to use also servlet context attributes.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.1
    • 3.6.3, 4.0
    • core
    • None
    • Yes

      On some application servers is very useful to have the property configurer use also servlet context attributes and/or parameters to choose what configuration file should be loaded.
      This is mainly a WebSphere issue, because one of the "recommended" cluster configuration is to have multiple jvm instances on the same server. (I'm not trying to say this is a good or bad choice, I only found it on some servers) With the current property configurer there is no way to have a different configuration for each jvm, because the only difference is the "com.ibm.websphere.servlet.application.host" attribute in servlet context. This particular attribute obviously works only for WebSphere, but with the simple path I attached you could use any other servlet context attribute or parameter.

        Acceptance criteria

              fgiust Fabrizio Giustina
              dfghi Danilo Ghirardelli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD