MMBase

MMServers only considers 'machinename', not host, if host overriden with -Dmmbaseroot.host, that has no effect on the default machinename

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.8.2
  • Fix Version/s: 1.8.3, 1.9.0
  • Component/s: Core
  • Description:
    Hide
    You can not specify 'machinename' in mmbaseroot.xml, it then defaults to java.net.InetAddress.getLocalHost().getHostName() + the context.

    You can however have several servers on the same machine, and even on the same context (using a different mmbaseroot.host), then, there don't arise different MMServer entries.

    This can be fixed by either considering also the 'host' entry in mmserver, or by having a different default machinename based on the host-setting. (this is possble already, using ${HOST} but then it does not any more contain the context.

    So, we could also fix that last thing (recognition of ${CONTEXT} in the machinename setting)
    Show
    You can not specify 'machinename' in mmbaseroot.xml, it then defaults to java.net.InetAddress.getLocalHost().getHostName() + the context. You can however have several servers on the same machine, and even on the same context (using a different mmbaseroot.host), then, there don't arise different MMServer entries. This can be fixed by either considering also the 'host' entry in mmserver, or by having a different default machinename based on the host-setting. (this is possble already, using ${HOST} but then it does not any more contain the context. So, we could also fix that last thing (recognition of ${CONTEXT} in the machinename setting)

Activity

Repository Revision Date User Message
MMBase SVN #21699 Tue Dec 05 20:40:04 CET 2006 michiel MMB-1345, consider also 'host' field when comparing mmserver nodes. Plus some java 1.5 featurism.
Files Changed
MODIFY /mmbase/trunk/src/org/mmbase/module/builders/MMServers.java
MODIFY /mmbase/branches/MMBase-1_8/src/org/mmbase/module/builders/MMServers.java

People

Dates

  • Created:
    2006-12-05 16:48
    Updated:
    2006-12-05 20:00
    Resolved:
    2006-12-05 18:05