Title:
Bug 80217:HttpServletRequest#getRequestURL() contains "http://null:8500/test/test
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/
Reporter/Name(from Bugbase): Darren Pywell / Darren Pywell (dapywell)
Created: 09/29/2009
Components: Installation/Config, JEE Deployment
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Normal / Unknown
Locale/System: English / Win All
Vote Count: 0
Problem:
HttpServletRequest#getRequestURL() contains "http://null:8500/test/test.jdbc.cfm" when the HTTP request text does not contain the port number that the request arrived on.
Method:
Using WCAT send the following request to a ColdFusion9 server that is installed on JRun to the JWS server on port 8500. Note that the HTTP request does not have the port number in the request. "null" appears in the Request URL (getRequestURL()) instead of the hostname:GET /test.cfm HTTP/1.1Host: 127.0.0.1User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 98)Accept: */*Accept-Encoding: gzip, deflateAccept-Language: en-usConnection: CloseThis request however works corretly:GET /test.cfm HTTP/1.1Host: 127.0.0.1:8500User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 98)Accept: */*Accept-Encoding: gzip, deflateAccept-Language: en-usConnection: Close
Result:
The hostname on a call to HttpServletRequest#getRequestURL() returns "null"
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3040230
External Customer Info:
External Company:
External Customer Name: Darren Pywell
External Customer Email: 2692646C44608135992015D5
External Test Config: 09/29/2009
Attachments:
Comments: