FYI, what might also contribute to the 'caching' of host names is the fact
that CXF updates the endpoint address on every request by default, this can
be disabled with

<init-param>
     <param-name>disable-address-updates</param-name>
     <param-value>true</param-value>    
</init-param>

This can also be set as "org.apache.cxf.servlet.disable-address-updates"
OSGI property.
FYI, I'm also updating HTTP transport a bit so that the runtime will always
get the correct current address irrespectively of whether this property is
enabled or not.




--
View this message in context: 
http://openejb.979440.n4.nabble.com/UriInfo-always-returning-localhost-in-URIs-tp4660587p4663756.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to