Hi Bhavdeep Sharma,
I tested the sample given at the link
http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm. I downloaded the zip
file and configured IIS as specified in the docs. It works fine. But I dont
know it is JK2 or JK. One thing to remember is you have to put the DLL in
the bin directory. Putting it at other places wont work. After this I
configured as per the docs in
http://localhost/tomcat-docs/jk2/jk/iishowto.html. Again here you have to
put the DLL in win32\i386 directory.
Antony Paul
----- Original Message -----
From: "Bhavdeep Sharma" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, November 27, 2003 6:06 PM
Subject: RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on
AJP13 connector
Thanks all (especially Walter do Valle, Wendell Holmes, Stéphane Brogi) for
the help. I will check on the link and try what they suggest.
Just an update that now I am getting the following error.
/jakarta/isapi_redirect_1.2.5.dll
----------------------------------------------------------------------------
----
type Status report
message /jakarta/isapi_redirect_1.2.5.dll
description The requested resource (/jakarta/isapi_redirect_1.2.5.dll) is
not available.
regards,
Bhavdeep
-----Original Message-----
From: Stéphane Brogi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 9:29 PM
To: Tomcat Users List
Subject: RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat
on AJP13 connector
You will find more infos here.
http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html
Remember to restart iis and tomcat after modify properties files
(workers.properties; uriworkermap.properties)
Stéphane Brogi
-----Message d'origine-----
De : Walter do Valle [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 26 novembre 2003 12:48
À : Tomcat Users List
Objet : Re: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat
on AJP13 connector
Try this
It helps me a lot.
http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm
----- Original Message -----
From: Bhavdeep Sharma
To: Tomcat Users List
Sent: Tuesday, November 25, 2003 11:21 AM
Subject: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on
AJP13 connector
Hi all,
I am running tomcat 4.0 as service on Win 2K
I am trying to connect IIS to tomcat on AJP 13 connector using JK1.2
(isapi_redirect_1.2.5.dll)
I try to access the sample JSP page using IIS and get the error "Page
cannot
be displayed"
The same JSP page works fine if I access it directly from Tomcat.
I have AJP 1.3 entry in server.xml file as un-commented.
To verify that IIS is connecting to Tomcat or not I stopped the Tomcat
service and then try to access the JSP page from IIS. I still get exactly
the same error.
Even the ISAPI log is also same irrespective of that Tomcat service is
running or not.
The content of the ISAPI log is pasted bellow.
[Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc
started
[Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc
Virtual Host redirection of /bhsharma/examples/jsp/num/numguess.jsp
[Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (477)]: Attempting to map
URI '/bhsharma/examples/jsp/num/numguess.jsp'
[Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (765)]: In HttpFilterProc
test Default redirection of /examples/jsp/num/numguess.jsp
[Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (477)]: Attempting to map
URI '/examples/jsp/num/numguess.jsp'
[Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (558)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 ->
*.jsp
[Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (775)]: HttpFilterProc
[/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to
ajp13
[Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (838)]: HttpFilterProc
check
if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory
[Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (878)]: HttpExtensionProc
started
[Tue Nov 25 17:21:18 2003] [jk_worker.c (132)]: Into
wc_get_worker_for_name
ajp13
[Tue Nov 25 17:21:18 2003] [jk_worker.c (136)]: wc_get_worker_for_name,
done found a worker
[Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (913)]: HttpExtensionProc
got
a worker for name ajp13
[Tue Nov 25 17:21:18 2003] [jk_ajp12_worker.c (242)]: Into
jk_worker_t::get_endpoint
[Tue Nov 25 17:21:18 2003] [jk_ajp12_worker.c (137)]: Into
jk_endpoint_t::service
[Tue Nov 25 17:21:18 2003] [jk_connect.c (158)]: Into jk_open_socket
[Tue Nov 25 17:21:18 2003] [jk_connect.c (165)]: jk_open_socket, try to
connect socket = 2852
[Tue Nov 25 17:21:19 2003] [jk_connect.c (174)]: jk_open_socket, after
connect ret = -1
[Tue Nov 25 17:21:19 2003] [jk_connect.c (203)]: jk_open_socket,
connect()
failed errno = 61
[Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (151)]: In
jk_endpoint_t::service, sd = -1
[Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (169)]: In
jk_endpoint_t::service, Error sd = -1
[Tue Nov 25 17:21:19 2003] [jk_isapi_plugin.c (928)]: HttpExtensionProc
error, service() failed
[Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (180)]: Into
jk_endpoint_t::done
I searched the Google on "jk_open_socket, connect() failed errno = 61".
Got
similarly faced problem but not able to get/understand the solution that
will work for me.
Your help is highly appreciated.
Thanks,
Bhavdeep
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]