You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Dobbins, Tim" <Ti...@PremierInc.com> on 2007/03/14 20:15:22 UTC

JK 1.2.21 DLL does not work with IIS 6?

> Greetings, 
> 
> I'm trying to get the 1.2.21 JK connector working with IIS 6 and
> TomCat 5.5.  Thus far, I have not been successful.  Is there anyone
> out there who has successfully configured this?  I have followed the
> documentation to a 'T' and have been frigging around with this for
> days trying to get it working.  As far as I'm concerned, the 1.2.21
> version simply does not work.  Can somebody please prove me otherwise?
> I have RTFM and I am NOT a newbie.
> 
> Based on debug data from the JK, the ISAPI is intercepting the request
> and catching the uri worker rule.  It also appears that the ajp
> connector is servicing the request.  But the response never makes it
> back through IIS.  As a result, the browser displays a generic "page
> can't be displayed" error.  The IIS logs capture NO data as if the IIS
> process was never aware that a request was made.  Incidentally, I
> attempted to debug IIS with the new tracing feature available with
> service pack 1, but I was not able to get the damn tracing working
> either.  I don't know why Microsoft makes everything so damn
> difficult, but I'll save that for another post elsewhere.  :)
> 
> 
> I have included parts of the JK debug logs below.  I can send the
> complete logs, configuration files and anything else to whomever is
> interested.  The error printed to the logs,
> "HSE_REQ_SEND_RESPONSE_HEADER_EX failed" has shown up in a few
> previous posts.  However, in those cases, the error event occurring
> only after IIS/TomCat had been working properly for a few hours.  In
> my case, it does not work at all and I get that error on this first
> request.
> 
> 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_isapi_plugin.c
> (910): [/servlets-examples/servlet/RequestHeaderExample] is a servlet
> url - should redirect to local 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_worker.c (321):
> Maintaining worker local 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_worker.c (114):
> found a worker local 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_isapi_plugin.c
> (1098): got a worker for name local 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_ajp_common.c
> (2329): acquired connection pool slot=0 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_ajp_common.c
> (548): ajp marshaling done 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_ajp_common.c
> (1785): processing local with 2 retries 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_connect.c (335):
> socket TCP_NODELAY set to On 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_connect.c (433):
> trying to connect socket 1056 to 10.2.0.163:8009 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_connect.c (459):
> socket 1056 connected to 10.2.0.163:8009 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_ajp_common.c
> (850): Connected socket 1056 to (10.2.0.163:8009) 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_ajp_common.c
> (896): sending to ajp13 pos=4 len=527 max=8192 
> ...
> ...
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_ajp_common.c
> (1287): request body to send 0 - request body to resend 0 
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (1043): received from ajp13 pos=0 len=80 max=8192 
> ...
> ...
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (603): status = 200 
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (610): Number of headers is = 2 
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (666): Header[0] [Content-Type] = [text/html;charset=ISO-8859-1] 
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (666): Header[1] [Content-Length] = [1258] 
> [Wed Mar 14 13:38:39 2007] [22868:21600] [error] jk_isapi_plugin.c
> (588): HSE_REQ_SEND_RESPONSE_HEADER_EX failed 
> ...
> ...
> [Wed Mar 14 13:38:39 2007] [22868:21600] [error] jk_isapi_plugin.c
> (680): WriteClient failed with 00002746 
> [Wed Mar 14 13:38:39 2007] [22868:21600] [info]  jk_ajp_common.c
> (1447): Writing to client aborted or client network problems 
> [Wed Mar 14 13:38:39 2007] [22868:21600] [info]  jk_ajp_common.c
> (1846): (local) request failed, because of client write error without
> recovery in send loop attempt=0 
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_isapi_plugin.c
> (1112): service() returned OK 
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (2243): will be shutting down socket 1056 for worker local 
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (2265): Shutting down held socket 1056 in worker local 
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (2272): recycling connection pool slot=0 for worker local 
> ...
> ...
> 
> 
> Save your breath if your suggestion is to ditch IIS in favor of
> Apache.  Trust me, you would be preaching to the quire.
> 
> 
> Timothy Dobbins
> Senior Systems Administrator
> tim_dobbins@premierinc.com
> 704-733-5545
> 
> Premier, Inc <http://www.premierinc.com> . 
> 2320 Cascade Pointe Blvd. Charlotte, NC 28208
> 
> 
> 
> Timothy Dobbins
> Senior Systems Administrator
> tim_dobbins@premierinc.com
> 704-733-5545
> 
> Premier, Inc <http://www.premierinc.com> . 
> 2320 Cascade Pointe Blvd. Charlotte, NC 28208
> 
> 


-----------------------------------------
***Note:The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify the Sender
immediately by replying to the message and deleting it from your
computer. Thank you. Premier Inc.

Re: JK 1.2.21 DLL does not work with IIS 6?

Posted by Mladen Turk <ml...@gmail.com>.
Cory.Bestgen@courts.mo.gov wrote:
> I just deployed it and everything appears to be working for us with
> internet explorer now.
>

Great. We'll release 1.2.22 probably early next week.

Regards,
Mladen.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: JK 1.2.21 DLL does not work with IIS 6?

Posted by Co...@courts.mo.gov.
I just deployed it and everything appears to be working for us with
internet explorer now.

Thanks,
Cory



                                                                           
             Mladen Turk                                                   
             <mladen.turk@gmai                                             
             l.com>                                                     To 
                                       Tomcat Users List                   
             03/15/2007 09:04          <us...@tomcat.apache.org>           
             AM                                                         cc 
                                                                           
                                                                   Subject 
             Please respond to         Re: JK 1.2.21 DLL does not work     
               "Tomcat Users           with IIS 6?                         
                   List"                                                   
             <users@tomcat.apa                                             
                 che.org>                                                  
                                                                           
                                                                           
                                                                           




Cory.Bestgen@courts.mo.gov wrote:
> I have noticed some funny behavior with 1.2.21 also...
>
> We have tomcat hosting jira and jira is using the ntlm plugin for sso
> authentication.
>

Can you guys check the 1.2.22-dev binary from:
http://people.apache.org/~mturk/jk-1.2.22-dev/win32/isapi_redirect.dll

There was a possible missuse of Windows API with 1.2.21, that could
close the Keep-Alive connection.

Regards,
Mladen.



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: JK 1.2.21 DLL does not work with IIS 6?

Posted by Mladen Turk <ml...@gmail.com>.
Cory.Bestgen@courts.mo.gov wrote:
> I have noticed some funny behavior with 1.2.21 also...
> 
> We have tomcat hosting jira and jira is using the ntlm plugin for sso
> authentication.
> 

Can you guys check the 1.2.22-dev binary from:
http://people.apache.org/~mturk/jk-1.2.22-dev/win32/isapi_redirect.dll

There was a possible missuse of Windows API with 1.2.21, that could
close the Keep-Alive connection.

Regards,
Mladen.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: JK 1.2.21 DLL does not work with IIS 6?

Posted by Co...@courts.mo.gov.
I have noticed some funny behavior with 1.2.21 also...

We have tomcat hosting jira and jira is using the ntlm plugin for sso
authentication.

With 1.2.21 -
  1. We are unable to use internet explorer to connect to jira(page cannot
be displayed error).
  2. Firefox with the ntlm options turned on in about:config works just
fine to login to jira.

Since internet explorer is the supported application here we have had to
downgrade to 1.2.20 to get internet explorer working with jira again.

Cory



                                                                           
             "Dobbins, Tim"                                                
             <Tim_Dobbins@Prem                                             
             ierInc.com>                                                To 
                                       <us...@tomcat.apache.org>           
             03/14/2007 02:16                                           cc 
             PM                                                            
                                                                   Subject 
                                       JK 1.2.21 DLL does not work with    
             Please respond to         IIS 6?                              
               "Tomcat Users                                               
                   List"                                                   
             <users@tomcat.apa                                             
                 che.org>                                                  
                                                                           
                                                                           





> Greetings,
>
> I'm trying to get the 1.2.21 JK connector working with IIS 6 and
> TomCat 5.5.  Thus far, I have not been successful.  Is there anyone
> out there who has successfully configured this?  I have followed the
> documentation to a 'T' and have been frigging around with this for
> days trying to get it working.  As far as I'm concerned, the 1.2.21
> version simply does not work.  Can somebody please prove me otherwise?
> I have RTFM and I am NOT a newbie.
>
> Based on debug data from the JK, the ISAPI is intercepting the request
> and catching the uri worker rule.  It also appears that the ajp
> connector is servicing the request.  But the response never makes it
> back through IIS.  As a result, the browser displays a generic "page
> can't be displayed" error.  The IIS logs capture NO data as if the IIS
> process was never aware that a request was made.  Incidentally, I
> attempted to debug IIS with the new tracing feature available with
> service pack 1, but I was not able to get the damn tracing working
> either.  I don't know why Microsoft makes everything so damn
> difficult, but I'll save that for another post elsewhere.  :)
>
>
> I have included parts of the JK debug logs below.  I can send the
> complete logs, configuration files and anything else to whomever is
> interested.  The error printed to the logs,
> "HSE_REQ_SEND_RESPONSE_HEADER_EX failed" has shown up in a few
> previous posts.  However, in those cases, the error event occurring
> only after IIS/TomCat had been working properly for a few hours.  In
> my case, it does not work at all and I get that error on this first
> request.
>
>
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_isapi_plugin.c
> (910): [/servlets-examples/servlet/RequestHeaderExample] is a servlet
> url - should redirect to local
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_worker.c (321):
> Maintaining worker local
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_worker.c (114):
> found a worker local
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_isapi_plugin.c
> (1098): got a worker for name local
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_ajp_common.c
> (2329): acquired connection pool slot=0
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_ajp_common.c
> (548): ajp marshaling done
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_ajp_common.c
> (1785): processing local with 2 retries
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_connect.c (335):
> socket TCP_NODELAY set to On
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_connect.c (433):
> trying to connect socket 1056 to 10.2.0.163:8009
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_connect.c (459):
> socket 1056 connected to 10.2.0.163:8009
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_ajp_common.c
> (850): Connected socket 1056 to (10.2.0.163:8009)
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_ajp_common.c
> (896): sending to ajp13 pos=4 len=527 max=8192
> ...
> ...
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_ajp_common.c
> (1287): request body to send 0 - request body to resend 0
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (1043): received from ajp13 pos=0 len=80 max=8192
> ...
> ...
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (603): status = 200
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (610): Number of headers is = 2
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (666): Header[0] [Content-Type] = [text/html;charset=ISO-8859-1]
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (666): Header[1] [Content-Length] = [1258]
> [Wed Mar 14 13:38:39 2007] [22868:21600] [error] jk_isapi_plugin.c
> (588): HSE_REQ_SEND_RESPONSE_HEADER_EX failed
> ...
> ...
> [Wed Mar 14 13:38:39 2007] [22868:21600] [error] jk_isapi_plugin.c
> (680): WriteClient failed with 00002746
> [Wed Mar 14 13:38:39 2007] [22868:21600] [info]  jk_ajp_common.c
> (1447): Writing to client aborted or client network problems
> [Wed Mar 14 13:38:39 2007] [22868:21600] [info]  jk_ajp_common.c
> (1846): (local) request failed, because of client write error without
> recovery in send loop attempt=0
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_isapi_plugin.c
> (1112): service() returned OK
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (2243): will be shutting down socket 1056 for worker local
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (2265): Shutting down held socket 1056 in worker local
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (2272): recycling connection pool slot=0 for worker local
> ...
> ...
>
>
> Save your breath if your suggestion is to ditch IIS in favor of
> Apache.  Trust me, you would be preaching to the quire.
>
>
> Timothy Dobbins
> Senior Systems Administrator
> tim_dobbins@premierinc.com
> 704-733-5545
>
> Premier, Inc <http://www.premierinc.com> .
> 2320 Cascade Pointe Blvd. Charlotte, NC 28208
>
>
>
> Timothy Dobbins
> Senior Systems Administrator
> tim_dobbins@premierinc.com
> 704-733-5545
>
> Premier, Inc <http://www.premierinc.com> .
> 2320 Cascade Pointe Blvd. Charlotte, NC 28208
>
>


-----------------------------------------
***Note:The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify the Sender
immediately by replying to the message and deleting it from your
computer. Thank you. Premier Inc.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: JK 1.2.21 DLL does not work with IIS 6?

Posted by "Dobbins, Tim" <Ti...@PremierInc.com>.
So you don't believe this error is related to real problem, the fact the
IIS fails to serve TomCat resources? 


Timothy Dobbins
Senior Systems Administrator
tim_dobbins@premierinc.com
704-733-5545

Premier, Inc. 
2320 Cascade Pointe Blvd. Charlotte, NC 28208


-----Original Message-----
From: Mladen Turk [mailto:mladen.turk@gmail.com] 
Sent: Monday, March 19, 2007 11:05 AM
To: Tomcat Users List
Subject: Re: JK 1.2.21 DLL does not work with IIS 6?

Dobbins, Tim wrote:
> Mladen,
> 
> I have attached the log files and properties files.
>

[Mon Mar 19 09:43:00 2007] [41704:24112] [error] jk_isapi_plugin.c
(679): WriteClient failed with 00002746

This is: WSAECONNRESET 10054 (2746 hex)
Connection reset by peer.
An existing connection was forcibly closed by the remote host.
(see MSDN for detailed explanation)

It means that you client has closed the connection while mod_jk was
sending the data. Very normal and nothing to worry about.

Regards,
Mladen.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

-----------------------------------------
***Note:The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify the Sender
immediately by replying to the message and deleting it from your
computer. Thank you. Premier Inc.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: JK 1.2.21 DLL does not work with IIS 6?

Posted by Mladen Turk <ml...@gmail.com>.
Dobbins, Tim wrote:
> Mladen, 
> 
> I have attached the log files and properties files.
>

[Mon Mar 19 09:43:00 2007] [41704:24112] [error] jk_isapi_plugin.c (679): WriteClient failed with 00002746

This is: WSAECONNRESET 10054 (2746 hex)
Connection reset by peer.
An existing connection was forcibly closed by the remote host.
(see MSDN for detailed explanation)

It means that you client has closed the connection while
mod_jk was sending the data. Very normal and nothing to worry about.

Regards,
Mladen.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: JK 1.2.21 DLL does not work with IIS 6?

Posted by Mladen Turk <ml...@gmail.com>.
Dobbins, Tim wrote:
> Mladen, 
> 
> I have attached the log files and properties files.
>

Apache users list doesn't allow to have large
attachments (entire email can be up to 40K I think).

Please use some public repository for those files,
or send them directly to my email address

Regards,
Mladen.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: JK 1.2.21 DLL does not work with IIS 6?

Posted by "Dobbins, Tim" <Ti...@PremierInc.com>.
Mladen, 

I have attached the log files and properties files.

Thanks for your help.



Timothy Dobbins
Senior Systems Administrator
tim_dobbins@premierinc.com
704-733-5545

Premier, Inc. 
2320 Cascade Pointe Blvd. Charlotte, NC 28208







-----Original Message-----
From: Mladen Turk [mailto:mladen.turk@gmail.com] 
Sent: Friday, March 16, 2007 2:19 PM
To: Tomcat Users List
Subject: Re: JK 1.2.21 DLL does not work with IIS 6?

Dobbins, Tim wrote:
> Well, I tried the 1.2.22 build.  No difference.  Same error.  Are 
> there any tricks to getting this working that I should be aware of?

I'm really not sure why it doesn't work for you.
Can you post the log from 1.2.22 where WriteClient fails?

Regards,
Mladen.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



-----------------------------------------
***Note:The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify the Sender
immediately by replying to the message and deleting it from your
computer. Thank you. Premier Inc.

Re: JK 1.2.21 DLL does not work with IIS 6?

Posted by Mladen Turk <ml...@gmail.com>.
Dobbins, Tim wrote:
> Well, I tried the 1.2.22 build.  No difference.  Same error.  Are there
> any tricks to getting this working that I should be aware of?

I'm really not sure why it doesn't work for you.
Can you post the log from 1.2.22 where WriteClient fails?

Regards,
Mladen.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: JK 1.2.21 DLL does not work with IIS 6?

Posted by Co...@courts.mo.gov.
Timothy,

The Tomcat install that I am using came as part of the stand-alone JIRA
installation.

I followed the instructions at the link below to integrate it with IIS 6.

http://www.atlassian.com/software/jira/docs/latest/iisintegration.html

Step 11 is IIS 6 specific.

Maybe they can be of some help to you.

Regards,
Cory




                                                                           
             "Dobbins, Tim"                                                
             <Tim_Dobbins@Prem                                             
             ierInc.com>                                                To 
                                       <us...@tomcat.apache.org>           
             03/16/2007 12:28                                           cc 
             PM                                                            
                                                                   Subject 
                                       RE: JK 1.2.21 DLL does not work     
             Please respond to         with IIS 6?                         
               "Tomcat Users                                               
                   List"                                                   
             <users@tomcat.apa                                             
                 che.org>                                                  
                                                                           
                                                                           




Well, I tried the 1.2.22 build.  No difference.  Same error.  Are there
any tricks to getting this working that I should be aware of?
Considering the fact that Mr. Cory Bestgen has it working, I must be
doing something wrong.  I would be most grateful if someone could give
me some advice.  I hesitate to spam this list with my configs and logs,
but I'll gladly send them to anyone who might like to offer assistance.

Thanks


Timothy Dobbins
Senior Systems Administrator
tim_dobbins@premierinc.com
704-733-5545

Premier, Inc <http://www.premierinc.com> .
2320 Cascade Pointe Blvd. Charlotte, NC 28208



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: JK 1.2.21 DLL does not work with IIS 6?

Posted by "Dobbins, Tim" <Ti...@PremierInc.com>.
Well, I tried the 1.2.22 build.  No difference.  Same error.  Are there
any tricks to getting this working that I should be aware of?
Considering the fact that Mr. Cory Bestgen has it working, I must be
doing something wrong.  I would be most grateful if someone could give
me some advice.  I hesitate to spam this list with my configs and logs,
but I'll gladly send them to anyone who might like to offer assistance. 

Thanks


Timothy Dobbins
Senior Systems Administrator
tim_dobbins@premierinc.com
704-733-5545

Premier, Inc <http://www.premierinc.com> . 
2320 Cascade Pointe Blvd. Charlotte, NC 28208



> _____________________________________________ 
> From: 	Dobbins, Tim  
> Sent:	Wednesday, March 14, 2007 3:15 PM
> To:	'users@tomcat.apache.org'
> Subject:	JK 1.2.21 DLL does not work with IIS 6?
> 
> 
> Greetings, 
> 
> I'm trying to get the 1.2.21 JK connector working with IIS 6 and
> TomCat 5.5.  Thus far, I have not been successful.  Is there anyone
> out there who has successfully configured this?  I have followed the
> documentation to a 'T' and have been frigging around with this for
> days trying to get it working.  As far as I'm concerned, the 1.2.21
> version simply does not work.  Can somebody please prove me otherwise?
> I have RTFM and I am NOT a newbie.
> 
> Based on debug data from the JK, the ISAPI is intercepting the request
> and catching the uri worker rule.  It also appears that the ajp
> connector is servicing the request.  But the response never makes it
> back through IIS.  As a result, the browser displays a generic "page
> can't be displayed" error.  The IIS logs capture NO data as if the IIS
> process was never aware that a request was made.  Incidentally, I
> attempted to debug IIS with the new tracing feature available with
> service pack 1, but I was not able to get the damn tracing working
> either.  I don't know why Microsoft makes everything so damn
> difficult, but I'll save that for another post elsewhere.  :)
> 
> 
> I have included parts of the JK debug logs below.  I can send the
> complete logs, configuration files and anything else to whomever is
> interested.  The error printed to the logs,
> "HSE_REQ_SEND_RESPONSE_HEADER_EX failed" has shown up in a few
> previous posts.  However, in those cases, the error event occurring
> only after IIS/TomCat had been working properly for a few hours.  In
> my case, it does not work at all and I get that error on this first
> request.
> 
> 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_isapi_plugin.c
> (910): [/servlets-examples/servlet/RequestHeaderExample] is a servlet
> url - should redirect to local 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_worker.c (321):
> Maintaining worker local 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_worker.c (114):
> found a worker local 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_isapi_plugin.c
> (1098): got a worker for name local 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_ajp_common.c
> (2329): acquired connection pool slot=0 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_ajp_common.c
> (548): ajp marshaling done 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_ajp_common.c
> (1785): processing local with 2 retries 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_connect.c (335):
> socket TCP_NODELAY set to On 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_connect.c (433):
> trying to connect socket 1056 to 10.2.0.163:8009 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_connect.c (459):
> socket 1056 connected to 10.2.0.163:8009 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_ajp_common.c
> (850): Connected socket 1056 to (10.2.0.163:8009) 
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_ajp_common.c
> (896): sending to ajp13 pos=4 len=527 max=8192 
> ...
> ...
> [Wed Mar 14 13:38:38 2007] [22868:21600] [debug] jk_ajp_common.c
> (1287): request body to send 0 - request body to resend 0 
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (1043): received from ajp13 pos=0 len=80 max=8192 
> ...
> ...
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (603): status = 200 
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (610): Number of headers is = 2 
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (666): Header[0] [Content-Type] = [text/html;charset=ISO-8859-1] 
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (666): Header[1] [Content-Length] = [1258] 
> [Wed Mar 14 13:38:39 2007] [22868:21600] [error] jk_isapi_plugin.c
> (588): HSE_REQ_SEND_RESPONSE_HEADER_EX failed 
> ...
> ...
> [Wed Mar 14 13:38:39 2007] [22868:21600] [error] jk_isapi_plugin.c
> (680): WriteClient failed with 00002746 
> [Wed Mar 14 13:38:39 2007] [22868:21600] [info]  jk_ajp_common.c
> (1447): Writing to client aborted or client network problems 
> [Wed Mar 14 13:38:39 2007] [22868:21600] [info]  jk_ajp_common.c
> (1846): (local) request failed, because of client write error without
> recovery in send loop attempt=0 
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_isapi_plugin.c
> (1112): service() returned OK 
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (2243): will be shutting down socket 1056 for worker local 
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (2265): Shutting down held socket 1056 in worker local 
> [Wed Mar 14 13:38:39 2007] [22868:21600] [debug] jk_ajp_common.c
> (2272): recycling connection pool slot=0 for worker local 
> ...
> ...
> 
> 
> Save your breath if your suggestion is to ditch IIS in favor of
> Apache.  Trust me, you would be preaching to the quire.
> 
> 
> Timothy Dobbins
> Senior Systems Administrator
> tim_dobbins@premierinc.com
> 704-733-5545
> 
> Premier, Inc <http://www.premierinc.com> . 
> 2320 Cascade Pointe Blvd. Charlotte, NC 28208
> 
> 
> 
> Timothy Dobbins
> Senior Systems Administrator
> tim_dobbins@premierinc.com
> 704-733-5545
> 
> Premier, Inc <http://www.premierinc.com> . 
> 2320 Cascade Pointe Blvd. Charlotte, NC 28208
> 
> 


-----------------------------------------
***Note:The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify the Sender
immediately by replying to the message and deleting it from your
computer. Thank you. Premier Inc.