Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Users cannot get to Websphere hosted pages via IIS 6 - Could not write headers error.

Posted on 2006-07-13
4
Medium Priority
?
1,895 Views
Last Modified: 2013-12-11
Hi,
We have IIS 6 on the same server as Websphere 5.0.2.5 along with the generated plugin.  I enabled trace logging and monitored a page request.  Everything seems ok except the following error message shows up in the http_plugin.log file when a page is requested.

[Thu Jul 13 13:35:48 2006] 000006fc 00001448 - TRACE: ESI: esiResponseCreate: no Surrogate-Control header found
[Thu Jul 13 13:35:48 2006] 000006fc 00001448 - TRACE: ESI: esiResponseCreate: bypassing ESI
[Thu Jul 13 13:35:48 2006] 000006fc 00001448 - TRACE: ESI: esiResponseGet: success
[Thu Jul 13 13:35:48 2006] 000006fc 00001448 - TRACE: ESI: esiResponsePassThru
[Thu Jul 13 13:35:48 2006] 000006fc 00001448 - TRACE: iis_plugin: cb_write_headers: In the write headers callback
[Thu Jul 13 13:35:48 2006] 000006fc 00001448 - TRACE: iis_plugin: getServerVariable: Getting server variable: SERVER_PROTOCOL
[Thu Jul 13 13:35:48 2006] 000006fc 00001448 - WARNING: iis_plugin: cb_write_headers: Could not write headers, OS err: 10054
[Thu Jul 13 13:35:48 2006] 000006fc 00001448 - ERROR: ESI: esiResponsePassThru: failed to write headers: rc = 7
[Thu Jul 13 13:35:48 2006] 000006fc 00001448 - TRACE: ESI: esiRequestUrlStackDestroy

I have searched the web for the "failed to write headers" error but can not find a solution!  I am fairly certain that IIS is configured properly, could this be a security setting?  I have been down that road quite often also....

Thanks...
0
Comment
Question by:threed45
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
Waswiz earned 2000 total points
ID: 17210636
This is some what long shot but it might just help you.

See the errors:

[Thu Jul 13 13:35:48 2006] 000006fc 00001448 - TRACE: iis_plugin: getServerVariable: Getting server variable: SERVER_PROTOCOL
[Thu Jul 13 13:35:48 2006] 000006fc 00001448 - WARNING: iis_plugin: cb_write_headers: Could not write headers, OS err: 10054

I think there was error when the WebSphere plugin calls "getServerVariable" , the header variable used is "SERVER_PROTOCOL"

I remember we had similar problem with IIS integration with other products. As far as I can remember IIS can be configured to name these variables with underscore and without underscore say for example "SERVERPROTOCOL" as against "SERVER_PROTOCOL".

Use any http tracing tool and check the headers and I guess there is a header name mismatch.

We definitely had this issue before and vendor gave a fix so that it checks for both.

Hope this helps.
0
 
LVL 5

Expert Comment

by:Waswiz
ID: 17621778
We have had exact similar problem and we had fixed it using the solution I suggested.
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
Before we dive into the marketing strategies involved with creating an effective homepage, it’s crucial that EE members know what a homepage is. In essence, a homepage is the introductory, or default page, of a website that typically highlights the …
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question