You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Ignacio J. Ortega" <na...@siapi.es> on 2002/06/27 16:14:16 UTC

RE: TC 4.1.3: JK2 connector dies? cant get isapi_redirector to t alkto tomcat

4.1.3 uses 8019 as ajp13 port, so you need to change your
worker.properties to match, jk2.properties.. ( it's not a typo it's
jk2.properties at conf :)

Saludos ,
Ignacio J. Ortega


> -----Mensaje original-----
> De: Mark Prins [mailto:Mark.Prins@caris.nl]
> Enviado el: 27 de junio de 2002 15:52
> Para: Tomcat Users List (E-mail)
> Asunto: TC 4.1.3: JK2 connector dies? cant get isapi_redirector to
> talkto tomcat
> Importancia: Alta
> 
> 
> 
> I'm trying to set up TC4.1.3 with Win2K/IIS5 
> 
> Tomcat runs OK standalone on port 8080,
> (http://160.160.160.17:8080/examples/jsp/snp/snoop.jsp works)
> but when I try 
> http://160.160.160.17/examples/jsp/snp/snoop.jsp I get a host
> not found error.
> 
> IIS runs ok, the isapi_filter seems configured OK (green 
> arrow) I get loads
> of messages that it tries to map the url to a servlet... 
> 
> [jk_isapi_plugin.c (657)]: HttpFilterProc started
> 
> [jk_isapi_plugin.c (705)]: In HttpFilterProc Virtual Host 
> redirection of
> /160.160.160.17/examples/jsp/snp/snoop.jsp 
> [jk_uri_worker_map.c (447)]: Into 
> jk_uri_worker_map_t::map_uri_to_worker
> 
> [jk_uri_worker_map.c (464)]: Attempting to map URI
> '/160.160.160.17/examples/jsp/snp/snoop.jsp'                     
> [jk_uri_worker_map.c (529)]: 
> jk_uri_worker_map_t::map_uri_to_worker, Found a
> suffix match ajp13 -> *.jsp            
> [jk_isapi_plugin.c (721)]: HttpFilterProc 
> [/examples/jsp/snp/snoop.jsp] is a
> servlet url - should redirect to ajp13 
> [jk_isapi_plugin.c (784)]: HttpFilterProc check if
> [/examples/jsp/snp/snoop.jsp] is points to the web-inf directory 
> [jk_isapi_plugin.c (824)]: HttpExtensionProc started
> 
> [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13
> 
> [jk_worker.c (136)]: wc_get_worker_for_name, done  found a worker
> 
> [jk_isapi_plugin.c (860)]: HttpExtensionProc got a worker for 
> name ajp13
> 
> [jk_ajp_common.c (1352)]: Into jk_worker_t::get_endpoint
> 
> [jk_ajp_common.c (1075)]: Into jk_endpoint_t::service
> 
> [jk_ajp_common.c (280)]: Into ajp_marshal_into_msgb
> 
> [jk_ajp_common.c (413)]: ajp_marshal_into_msgb - Done
> 
> [jk_connect.c (116)]: Into jk_open_socket
> 
> [jk_connect.c (123)]: jk_open_socket, try to connect socket = 2304
> 
> [jk_connect.c (132)]: jk_open_socket, after connect ret = -1
> 
> [jk_connect.c (151)]: jk_open_socket, connect() failed errno = 61
> 
> [jk_ajp_common.c (598)]: In 
> jk_endpoint_t::ajp_connect_to_endpoint, failed
> errno = 61                               
> [jk_ajp_common.c (843)]: Error connecting to the Tomcat process.
> 
> [jk_ajp_common.c (1149)]: In jk_endpoint_t::service, 
> ajp_send_request failed
> in send loop 0                         
> [jk_connect.c (116)]: Into jk_open_socket
> 
> [jk_connect.c (123)]: jk_open_socket, try to connect socket = 2304
> 
> [jk_connect.c (132)]: jk_open_socket, after connect ret = -1
> 
> [jk_connect.c (151)]: jk_open_socket, connect() failed errno = 61
> 
> [jk_ajp_common.c (598)]: In 
> jk_endpoint_t::ajp_connect_to_endpoint, failed
> errno = 61                               
> [jk_ajp_common.c (843)]: Error connecting to the Tomcat process.
> 
> [jk_ajp_common.c (1149)]: In jk_endpoint_t::service, 
> ajp_send_request failed
> in send loop 1                         
> [jk_connect.c (116)]: Into jk_open_socket
> 
> [jk_connect.c (123)]: jk_open_socket, try to connect socket = 2304
> 
> [jk_connect.c (132)]: jk_open_socket, after connect ret = -1
> 
> [jk_connect.c (151)]: jk_open_socket, connect() failed errno = 61
> 
> [jk_ajp_common.c (598)]: In 
> jk_endpoint_t::ajp_connect_to_endpoint, failed
> errno = 61                               
> [jk_ajp_common.c (843)]: Error connecting to the Tomcat process.
> 
> [jk_ajp_common.c (1149)]: In jk_endpoint_t::service, 
> ajp_send_request failed
> in send loop 2                         
> [jk_isapi_plugin.c (875)]: HttpExtensionProc error, service() failed
> 
> [jk_ajp_common.c (1307)]: Into jk_endpoint_t::done
> 
> [jk_ajp_common.c (535)]: In jk_endpoint_t::ajp_close_endpoint
> 
> 
> My stderr.log says:
> [INFO] Registry - -Loading registry information
> [INFO] Registry - -Creating new Registry instance
> [INFO] Registry - -Creating MBeanServer
> [INFO] Http11Protocol - -Attribute port: 8080
> [INFO] Http11Protocol - -Attribute maxThreads: 75
> [INFO] Http11Protocol - -Attribute backlog: 10
> [INFO] Http11Protocol - -Attribute tcpNoDelay: true
> [INFO] Http11Protocol - -Attribute soTimeout: 20000
> [INFO] Http11Protocol - -Attribute timeout: 20000
> [INFO] Http11Protocol - -Attribute secure: false
> [INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8080
> [INFO] JkMain - -Starting Jk2, base dir= C:\Program Files\Apache
> Group\Tomcat 4.1 conf=C:\Program Files\Apache Group\Tomcat
> 4.1\conf\jk2.properties
> [INFO] JkMain - -APR not loaded, disabling jni components:
> java.io.IOException: no jkjni in java.library.path
> [INFO] ChannelSocket - -JK: listening on tcp port 8019
> [INFO] ChannelUn - -No file, disabling unix channel
> [INFO] JkMain - -Jk running ID=0 ... init time=460 ms
> [INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080
> 
> It seems to die? why?
> 
> My stdout.log says:
> 
> Bootstrap: Create Catalina server
> XXX native so /opt/apache2/modules/mod_jk2.so
> Bootstrap: Starting service
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.3
> Bootstrap: Service started
> 
> any thoughts?
> 
> -
> Mark C. Prins
> Spatial Fusion Specialist
> 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>