Mantis - Resin
Viewing Issue Advanced Details
174 minor always 05-16-05 00:00 11-01-05 14:44
ferg  
 
urgent  
closed 3.0.14  
3.0.14 fixed  
none    
none 3.0.14  
0000174: isapi_srun flushing issue
RSN-174
(rep by Jason Fotinatos)

1) Yes, this works fine. If I save a failing page as a jsp that is its flat html output (that doesnt work through IIS but does work through standalone resin) and then load it through IIS - it loads fine.

2) Yes there is an out.flush call after every include, including the failing one.

3) The output for the failing page looks like: (it fails after the "nav_bar" include) - nothing gets outputted after that.

[11:44:34.515] [9] s 200 OK
[11:44:34.515] [9] H Content-Type
[11:44:34.515] [9] S text/html
[11:44:34.515] [9] G
[11:44:34.515] [9] chunk: 84
[11:44:34.515] [9] D:data 106
[11:44:34.515] [9] f:flush
[11:44:34.515] query: component_name=head_meta_content
[11:44:34.515] [9] chunk: 2633
[11:44:34.515] [9] D:data 2633
[11:44:34.515] [9] f:flush
[11:44:34.515] query: component_name=header
[11:44:34.546] [9] chunk: 965
[11:44:34.546] [9] D:data 965
[11:44:34.546] [9] f:flush
[11:44:34.546] query: component_name=nav_bar
[11:44:34.562] [9] chunk: 8243
[11:44:34.562] [9] D:data 8243
[11:44:34.562] [9] f:flush
[11:44:34.562] query: component_name=special_offer
setting page context attribute:imgFileName to: img_offer1.gif
[11:44:34.562] [9] chunk: 1046
[11:44:34.562] [9] D:data 1046
[11:44:34.562] [9] f:flush
[11:44:34.562] query: component_name=survey
[11:44:34.578] [16] s 302 Found
[11:44:34.578] [16] H Location
[11:44:34.578] [16] S http://localhost/kwwd-jason/web/css/font-small.css [^]
[11:44:34.578] [16] H Content-Length
[11:44:34.578] [16] S 88
[11:44:34.578] [16] H Content-Type
[11:44:34.578] [16] S text/html
[11:44:34.578] [16] G
[11:44:34.578] [16] chunk: 88
[11:44:34.578] [16] D:data 88
[11:44:34.671] [16] s 404 Not Found
[11:44:34.671] [16] H Content-Type
[11:44:34.671] [16] S text/html
[11:44:34.671] [16] G
[11:44:34.671] [16] D:data 261
[11:44:34.687] create: PoolItem[jdbc/kwwd_db,22,com.caucho.sql.ManagedConnectionImpl@60029d](active:0, total:0)
[11:44:34.687] allocate PoolItem[jdbc/kwwd_db,22,com.caucho.sql.ManagedConnectionImpl@60029d]
[11:44:34.687] [13] s 404 Not Found
[11:44:34.687] [13] H Content-Type
[11:44:34.687] [13] S text/html
[11:44:34.687] [13] G
[11:44:34.687] [13] D:data 256
[11:44:34.703] [16] s 404 Not Found
[11:44:34.703] [16] H Content-Type
[11:44:34.703] [16] S text/html
[11:44:34.703] [16] G
[11:44:34.703] [16] D:data 264
[11:44:34.703] [13] s 404 Not Found
[11:44:34.703] [13] H Content-Type
[11:44:34.703] [13] S text/html
[11:44:34.703] [13] G
[11:44:34.703] [13] D:data 259
[11:44:34.703] [16] s 404 Not Found
[11:44:34.703] [16] H Content-Type
[11:44:34.703] [16] S text/html
[11:44:34.703] [16] G
[11:44:34.703] [16] D:data 262
[11:44:34.718] [13] s 404 Not Found
[11:44:34.718] [13] H Content-Type
[11:44:34.718] [13] S text/html
[11:44:34.718] [13] G
[11:44:34.718] [13] D:data 257
[11:44:34.734] create: PoolItem[jdbc/kwwd_db,24,com.caucho.sql.ManagedConnectionImpl@14bc4e6](active:1, total:1)
[11:44:34.734] allocate PoolItem[jdbc/kwwd_db,24,com.caucho.sql.ManagedConnectionImpl@14bc4e6]
[11:44:34.734] idle PoolItem[jdbc/kwwd_db,24,com.caucho.sql.ManagedConnectionImpl@14bc4e6]
[11:44:34.734] idle PoolItem[jdbc/kwwd_db,22,com.caucho.sql.ManagedConnectionImpl@60029d]
[11:44:34.734] allocate PoolItem[jdbc/kwwd_db,24,com.caucho.sql.ManagedConnectionImpl@14bc4e6]
[11:44:34.750] idle PoolItem[jdbc/kwwd_db,24,com.caucho.sql.ManagedConnectionImpl@14bc4e6]
[11:44:34.750] [9] chunk: 2361
[11:44:34.750] [9] D:data 2361
[11:44:34.750] [9] f:flush
[11:44:34.750] query: component_name=welcome_text
[11:44:34.750] [9] chunk: 779
[11:44:34.750] [9] D:data 779
[11:44:34.750] [9] f:flush
[11:44:34.750] query: component_name=tools_feature
[11:44:34.750] [9] chunk: 708
[11:44:34.750] [9] D:data 708
[11:44:34.750] [9] f:flush
[11:44:34.750] query: component_name=main_feature
[11:44:34.750] [9] chunk: 1468
[11:44:34.750] [9] D:data 1468
[11:44:34.750] [9] f:flush
[11:44:34.750] query: component_name=sign_in_area
[11:44:34.750] [9] chunk: 2839
[11:44:34.750] [9] D:data 2839
[11:44:34.750] [9] f:flush
[11:44:34.750] query: component_name=raf
[11:44:34.750] [9] chunk: 4185
[11:44:34.750] [9] D:data 4185
[11:44:34.750] [9] f:flush
[11:44:34.750] query: component_name=rotational_feature
[11:44:34.750] [9] chunk: 1257
[11:44:34.750] [9] D:data 1257
[11:44:34.750] [9] f:flush
[11:44:34.750] query: component_name=qotd
[11:44:34.765] [9] chunk: 738
[11:44:34.765] [9] D:data 738
[11:44:34.765] [9] f:flush
[11:44:34.765] query: component_name=newsletter_feature
[11:44:34.765] [9] chunk: 1473
[11:44:34.765] [9] D:data 1473
[11:44:34.765] [9] f:flush
[11:44:34.765] query: component_name=bottom_nav
[11:44:34.765] [9] chunk: 944
[11:44:34.765] [9] D:data 948

Where as going straight though IIS uses chunked encoding, and its output looks like this:

[11:46:06.046] [2] HTTP/1.1 200 OK
[11:46:06.046] [2] Content-Type: text/html
[11:46:06.046] [2] Transfer-Encoding: chunked
[11:46:06.046] [2] chunk: 84
[11:46:06.046] query: component_name=head_meta_content
[11:46:06.046] [2] chunk: 2633
[11:46:06.046] query: component_name=header
[11:46:06.046] [2] chunk: 965
[11:46:06.046] query: component_name=nav_bar
[11:46:06.046] [2] chunk: 8243
[11:46:06.062] query: component_name=special_offer
setting page context attribute:imgFileName to: img_offer1.gif
[11:46:06.078] [2] chunk: 1046
[11:46:06.078] query: component_name=survey
[11:46:06.093] [6] s 302 Found
[11:46:06.093] [6] H Location
[11:46:06.093] [6] S http://localhost/kwwd-jason/web/css/font-small.css [^]
[11:46:06.093] [6] H Content-Length
[11:46:06.093] [6] S 88
[11:46:06.093] [6] H Content-Type
[11:46:06.093] [6] S text/html
[11:46:06.093] [6] G
[11:46:06.093] [6] chunk: 88
[11:46:06.093] [6] D:data 88


.... etc.

There are no notes attached to this issue.