You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by sbpdvlpr <sh...@yahoo.com> on 2010/11/03 14:38:59 UTC

IIS-Tomcat Integration

We are trying to integrate IIS and Tomcat. We get the Service temporarily
unavailable or Bad Gateway message.

isapi_redirect.properties
extension_uri=/tomcat/isapi_redirect.dll
log_file=C:\apps\Tomcat 6.0\logs\jk_iis.log
log_level=trace
worker_file=C:\apps\Tomcat 6.0\conf\workers.properties
worker_mount_file=C:\apps\Tomcat 6.0\conf\uriworkermap.properties

workers.properties
worker.list=testWorker
worker.testWorker.type=ajp13
worker.testWorker.host=localhost
worker.testWorker.port=8009
worker.testWorker.ping_mode=A
worker.testWorker.socket_timeout=60
worker.testWorker.prepost_timeout=10000
worker.testWorker.socket_connect_timeout=10000
worker.testWorker.connection_pool_size=200
worker.testWorker.connection_pool_timeout=300
worker.testWorker.retries=20
worker.testWorker.socket_keepalive=1
worker.testWorker.socket_timeout=10
worker.testWorker.cachesize=10
worker.testWorker.cache_timeout=600

Error:
2): (testWorker) cping/cpong after connecting to the backend server failed
(errno=60)
[Tue Nov 02 15:59:57.941 2010] [2000:2584] [trace] jk_ajp_common.c (996):
exit
[Tue Nov 02 15:59:57.941 2010] [2000:2584] [error] jk_ajp_common.c (1585):
(testWorker) connecting to backend failed. Tomcat is probably not started or
is listening on the wrong port (errno=60)
[Tue Nov 02 15:59:57.941 2010] [2000:2584] [trace] jk_ajp_common.c (1589):
exit
[Tue Nov 02 15:59:57.941 2010] [2000:2584] [info] jk_ajp_common.c (2540):
(testWorker) sending request to tomcat failed (recoverable), because of
error during request sending (attempt=17)
[Tue Nov 02 15:59:57.941 2010] [2000:2584] [trace] jk_ajp_common.c (801):
enter

Any help would be greatly appreciated. I can do a screen share if that will
help resolve the issue.

Thanks!
-- 
View this message in context: http://old.nabble.com/IIS-Tomcat-Integration-tp30122863p30122863.html
Sent from the Tomcat - User mailing list archive at Nabble.com.

RE: IIS-Tomcat Integration

Posted by "dB." <db...@dblock.org>.
A side question: why are you doing this IIS + Tomcat integration?

Thx
dB.

dB. @ dblock.org 
Moscow|Geneva|Seattle|New York


-----Original Message-----
From: sbpdvlpr [mailto:shubhamk@yahoo.com] 
Sent: Wednesday, November 03, 2010 9:39 AM
To: users@tomcat.apache.org
Subject: IIS-Tomcat Integration


We are trying to integrate IIS and Tomcat. We get the Service temporarily unavailable or Bad Gateway message.

isapi_redirect.properties
extension_uri=/tomcat/isapi_redirect.dll
log_file=C:\apps\Tomcat 6.0\logs\jk_iis.log log_level=trace worker_file=C:\apps\Tomcat 6.0\conf\workers.properties worker_mount_file=C:\apps\Tomcat 6.0\conf\uriworkermap.properties

workers.properties
worker.list=testWorker
worker.testWorker.type=ajp13
worker.testWorker.host=localhost
worker.testWorker.port=8009
worker.testWorker.ping_mode=A
worker.testWorker.socket_timeout=60
worker.testWorker.prepost_timeout=10000
worker.testWorker.socket_connect_timeout=10000
worker.testWorker.connection_pool_size=200
worker.testWorker.connection_pool_timeout=300
worker.testWorker.retries=20
worker.testWorker.socket_keepalive=1
worker.testWorker.socket_timeout=10
worker.testWorker.cachesize=10
worker.testWorker.cache_timeout=600

Error:
2): (testWorker) cping/cpong after connecting to the backend server failed
(errno=60)
[Tue Nov 02 15:59:57.941 2010] [2000:2584] [trace] jk_ajp_common.c (996):
exit
[Tue Nov 02 15:59:57.941 2010] [2000:2584] [error] jk_ajp_common.c (1585):
(testWorker) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=60) [Tue Nov 02 15:59:57.941 2010] [2000:2584] [trace] jk_ajp_common.c (1589):
exit
[Tue Nov 02 15:59:57.941 2010] [2000:2584] [info] jk_ajp_common.c (2540):
(testWorker) sending request to tomcat failed (recoverable), because of error during request sending (attempt=17) [Tue Nov 02 15:59:57.941 2010] [2000:2584] [trace] jk_ajp_common.c (801):
enter

Any help would be greatly appreciated. I can do a screen share if that will help resolve the issue.

Thanks!
--
View this message in context: http://old.nabble.com/IIS-Tomcat-Integration-tp30122863p30122863.html
Sent from the Tomcat - User mailing list archive at Nabble.com.

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


RE: IIS-Tomcat Integration

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: sbpdvlpr [mailto:shubhamk@yahoo.com] 
> Subject: IIS-Tomcat Integration

> We are trying to integrate IIS and Tomcat. We get the Service temporarily
> unavailable or Bad Gateway message.

You gave us the IIS side of the configuration, but not Tomcat's server.xml - which is rather critical.

Also tell us the *exact* versions of Tomcat and mod_jk you're using, and how you start Tomcat.

Are you sure Tomcat is running?  Do you have any firewalls between IIS and Tomcat that might be blocking traffic?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


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