MFP Server: Specifying a particular interface on a multi-homed host

76 views Asked by At

MFP 7.0.0 with IF201506081356 on WebSphere Liberty 8.5.5.5 on Linux

My idea was to modify server.xml

<httpEndpoint id="defaultHttpEndpoint"
                  httpPort="9080"
                  httpsPort="9443" 
          host="*" >  <=== change this to a specific ipaddress

And change this JNDI entry

  <jndiEntry jndiName="ibm.worklight.admin.jmx.host" value="localhost"/>

to specify the same ipaddress.

After making those changes server does not initialise correctly, it attempts to access JMX on the localhost, even though nowhere in my serverl.xml is the word "localhost"

[6/11/15 13:19:24:232 CEST] 00000040 com.worklight.common.util.jmx.LibertyRuntimeMBeanHandler     I Establishing REST connection to service:
 jmx:rest://localhost:9443/IBMJMXConnectorREST SSL handler=null

That attempt just repeats ad nauseum ...

Is there some cached value somewhere? Something else I need to set?

1

There are 1 answers

4
Bruno Charpentier On BEST ANSWER

During the startup of the runtimes "localhost" is always used for the JMX connection. It is a defect, an APAR will be created.