Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.2.1
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

I proposed the DEPLOY-8, but there is still room for improvement.
The server host name now is not exposed anymore as system property, unless you want to expose every property as system property. But exposing the server name (being a system property or a normal property) might be useful for the application and for some libraries (i.e. log4j), so I'd like a way to either expose it as system property as before, or to add it implicitly to the resolved properties.

The simplest way I found (in the attached patch) is to add a new setting in the configuration, "exposeServerName", that allow the server name to be exposed as system property, without exposing all the others. There should be no problem regarding overwriting, because you can expose only if needed, the result should be consistent on the same server, and you can always choose a different name per application. The feature is disabled as default.

Activity

There are no comments yet on this issue.

People

  • Assignee:
    Fabrizio Giustina
    Reporter:
    Danilo Ghirardelli
Vote (0)
Watch (1)

Dates

  • Created:
    Updated: