The Hostname in Request URL's show "null" instead of the server name or IP address in ColdFusion 9
Description
Due to an issue in the JRun version used with ColdFusion 9, the Hostname in Request URL's can sometimes contain the string "null" instead of the actual hostname.
Finished: 18:48:30.774 28-Sep-2009 200 192.168.0.11 11841 web-0 http://null:8500/test/test.cfm 0 Cur:(13%)67,809 Free:437,086
The problem occurs when a request is made against a port that is not the default port (e.g. 80) and the port number is not included in the HTTP Host header sent to the ColdFusion server by the web client. For example:
http://server.yourdomain.com:8500/test/test.cfm
Some web clients incorrectly do not include the port number in the Host: header that is sent for the request. For example:
GET /test/test.jdbcfast.cfm HTTP/1.1 Host: server.yourdomain.com User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 98) Accept: */* Accept-Encoding: gzip, deflate Accept-Language: en-us Connection: Close
This problem has been confirmed for Microsoft Web Application Stress (which does not send the port number in the Host header), but other clients may suffer from the same bug.
Workaround
To work around the issue you should use the default web port (e.g. 80), or use a different client that correctly sends the port number in the Host: header of HTTP requests.
A bug report has been submitted to Adobe for this issue.
Issue Details
| Type: | Technote |
|---|---|
| Issue Number: | FRS-231 |
| Components: | Request Managment |
| Environment: | Windows XP (Darren's laptop)<br/> ColdFusion GM2<br/> Via internal webserver. |
| Resolution: | Won't Fix |
| Added: | 30/09/2009 13:37:46 |
| Affects Version: | 1.0 |
| Fixed Version: | Pending |
| Server: | ColdFusion 9 |
| Platform: | Windows XP, Windows 2000, Windows 2003, Linux, MacOS, Solaris, Windows Vista, Windows x64, Windows 7, Windows 2008 |
| Related Issues: | None |
Issue Feedback
Did you find this issue helpful?
0 out of 0 people found this article helpful

