TOMCAT IIS redirector troubles
Hi all, Any help appreciated greatly. We've succesfully installed Tomcat on top of IIS on NT4 in a test environment. After some fiddling all is working fine. However we've now tried to transfer that setup across to the production server and are having problems. After setup and restarting all w3svc and IISadmin services, the system will succesfully serve up one servlet or JSP, but no more than one. After that first load all attempts fail. The isapi_log (below) suggests that after that one load the wc is closing and no further logging is taking place, which it's not doing on the test server. The configs and setups are almost identical (java_home and tomcat_home are on E: in production rather then D: in test) with the only major difference being that the live server is also running ColdFusion. I've attempted to run with cold fusion services stopped but no success. When attempting to make the connection the error message suggests that the HTTP redirect failed. When running independently both Tomcat and IIS are behaving themselves well (tomcat on port 8090), it's only when we ask them to play together that we're coming to grief. As I said earlier, any help will be appreciated. Tref Gare isapi_log follows [jk_isapi_plugin.c (439)]: HttpFilterProc [/tref/index.jsp] is a servlet url - should redirect to ajp12 [jk_isapi_plugin.c (461)]: HttpFilterProc check if [/tref/index.jsp] is points to the web-inf directory [jk_isapi_plugin.c (517)]: HttpExtensionProc started [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12 [jk_worker.c (127)]: wc_get_worker_for_name, done found a worker [jk_isapi_plugin.c (539)]: HttpExtensionProc got a worker for name ajp12 [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service [jk_connect.c (108)]: Into jk_open_socket [jk_connect.c (115)]: jk_open_socket, try to connect socket = 1888 [jk_connect.c (124)]: jk_open_socket, after connect ret = -1 [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61 [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = -1 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 [jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed [jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done [jk_uri_worker_map.c (176)]: Into jk_uri_worker_map_t::uri_worker_map_free [jk_uri_worker_map.c (327)]: Into jk_uri_worker_map_t::uri_worker_map_close [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters [jk_worker.c (109)]: Into wc_close [jk_worker.c (111)]: wc_close, done Tref Gare Web Developer MCSD eCommerce Group Phone: (03) 9221 4106 Mobile: 0409 556 478 Fax:(03) 9941 4295 === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: TOMCAT IIS redirector troubles
It looks like the attempt to open a socket on port 1888 fails. Are you sure that port is available? I would check into other services running on the machine that might be using the port. Justy - Original Message - From: Gare, Trefor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 20, 2001 3:45 PM Subject: TOMCAT IIS redirector troubles Hi all, Any help appreciated greatly. We've succesfully installed Tomcat on top of IIS on NT4 in a test environment. After some fiddling all is working fine. However we've now tried to transfer that setup across to the production server and are having problems. After setup and restarting all w3svc and IISadmin services, the system will succesfully serve up one servlet or JSP, but no more than one. After that first load all attempts fail. The isapi_log (below) suggests that after that one load the wc is closing and no further logging is taking place, which it's not doing on the test server. The configs and setups are almost identical (java_home and tomcat_home are on E: in production rather then D: in test) with the only major difference being that the live server is also running ColdFusion. I've attempted to run with cold fusion services stopped but no success. When attempting to make the connection the error message suggests that the HTTP redirect failed. When running independently both Tomcat and IIS are behaving themselves well (tomcat on port 8090), it's only when we ask them to play together that we're coming to grief. As I said earlier, any help will be appreciated. Tref Gare isapi_log follows [jk_isapi_plugin.c (439)]: HttpFilterProc [/tref/index.jsp] is a servlet url - should redirect to ajp12 [jk_isapi_plugin.c (461)]: HttpFilterProc check if [/tref/index.jsp] is points to the web-inf directory [jk_isapi_plugin.c (517)]: HttpExtensionProc started [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12 [jk_worker.c (127)]: wc_get_worker_for_name, done found a worker [jk_isapi_plugin.c (539)]: HttpExtensionProc got a worker for name ajp12 [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service [jk_connect.c (108)]: Into jk_open_socket [jk_connect.c (115)]: jk_open_socket, try to connect socket = 1888 [jk_connect.c (124)]: jk_open_socket, after connect ret = -1 [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61 [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = -1 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 [jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed [jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done [jk_uri_worker_map.c (176)]: Into jk_uri_worker_map_t::uri_worker_map_free [jk_uri_worker_map.c (327)]: Into jk_uri_worker_map_t::uri_worker_map_close [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters [jk_worker.c (109)]: Into wc_close [jk_worker.c (111)]: wc_close, done Tref Gare Web Developer MCSD eCommerce Group Phone: (03) 9221 4106 Mobile: 0409 556 478 Fax:(03) 9941 4295 === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: TOMCAT IIS redirector troubles
Thanks Justy, I've done a netstat -an on all the box and 1888 isn't amongst the currenlty opened ports. But it does look suss doesn't it. I'll keep looking into it. Tref Gare Web Developer MCSD eCommerce Group Phone: (03) 9221 4106 Mobile: 0409 556 478 Fax:(03) 9941 4295 -Original Message- From: horwat [SMTP:[EMAIL PROTECTED]] Sent: Wednesday,21 November 2001 11:09 To: [EMAIL PROTECTED] Subject: Re: TOMCAT IIS redirector troubles It looks like the attempt to open a socket on port 1888 fails. Are you sure that port is available? I would check into other services running on the machine that might be using the port. Justy - Original Message - From: Gare, Trefor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 20, 2001 3:45 PM Subject: TOMCAT IIS redirector troubles Hi all, Any help appreciated greatly. We've succesfully installed Tomcat on top of IIS on NT4 in a test environment. After some fiddling all is working fine. However we've now tried to transfer that setup across to the production server and are having problems. After setup and restarting all w3svc and IISadmin services, the system will succesfully serve up one servlet or JSP, but no more than one. After that first load all attempts fail. The isapi_log (below) suggests that after that one load the wc is closing and no further logging is taking place, which it's not doing on the test server. The configs and setups are almost identical (java_home and tomcat_home are on E: in production rather then D: in test) with the only major difference being that the live server is also running ColdFusion. I've attempted to run with cold fusion services stopped but no success. When attempting to make the connection the error message suggests that the HTTP redirect failed. When running independently both Tomcat and IIS are behaving themselves well (tomcat on port 8090), it's only when we ask them to play together that we're coming to grief. As I said earlier, any help will be appreciated. Tref Gare isapi_log follows [jk_isapi_plugin.c (439)]: HttpFilterProc [/tref/index.jsp] is a servlet url - should redirect to ajp12 [jk_isapi_plugin.c (461)]: HttpFilterProc check if [/tref/index.jsp] is points to the web-inf directory [jk_isapi_plugin.c (517)]: HttpExtensionProc started [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12 [jk_worker.c (127)]: wc_get_worker_for_name, done found a worker [jk_isapi_plugin.c (539)]: HttpExtensionProc got a worker for name ajp12 [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service [jk_connect.c (108)]: Into jk_open_socket [jk_connect.c (115)]: jk_open_socket, try to connect socket = 1888 [jk_connect.c (124)]: jk_open_socket, after connect ret = -1 [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61 [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = -1 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 [jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed [jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done [jk_uri_worker_map.c (176)]: Into jk_uri_worker_map_t::uri_worker_map_free [jk_uri_worker_map.c (327)]: Into jk_uri_worker_map_t::uri_worker_map_close [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters [jk_worker.c (109)]: Into wc_close [jk_worker.c (111)]: wc_close, done Tref Gare Web Developer MCSD eCommerce Group Phone: (03) 9221 4106 Mobile: 0409 556 478 Fax:(03) 9941 4295 == = To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com == = To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some