Hide Forgot
Description of problem: On a server on which ipv6 is enabled and ipv4 is not enabled - and the ipv4 localhost is configured in /etc/hosts, tomcat fails to start because the shutdown port will attempt to bind to the ipv4 localhost. A better approach might be to cycle through both ipv4 and ipv6 interfaces - and only fail if neither is available. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux.
tomcat assumes localhost so perhaps a better solution is to use InetAddress.getLocalHost().getHostAddress()
unfortunately, tomcat6-6.0.24 hard codes 'localhost' in several places. there has been success on ipv6-only systems when localhost is mapped to the ipv6 address.
Development Management has reviewed and declined this request. You may appeal this decision by reopening this request.