Hey EC

The packets are reaching the other computer, I can
ping to it succesfully. Also Tomcat is running and
listening to 8009. The listener definitions have not
been commented out.

--Steven

> Maybe the packets from one computer can't reach the
> other. Some firewall
> settings, maybe. Also, make sure Tomcat is running
> and listening on 8009
> port (connector not commented out and so on)
> 
> EC
> 
> -----Original Message-----
> From: Steven Perry [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 25, 2004 9:26 AM
> To: [EMAIL PROTECTED]
> Subject: Apache & Tomcat & JK - Connection Problem.
> 
> Hello All,
> 
> I am running Apache 2 and Tomcat 5. Both are running
> on 2 different Win-2k machines.
> 
> I've configured the httpd.conf / workers.properties
> and server.xml and below. My problem is :: I cannot
> seem to connect to Tomcat, below is the mod_jk.log
> too.
> 
> ----------
> httpd.conf
> ----------
> 
> LoadModule jk_module "E:/Apache2/modules/mod_jk.dll"
> 
> JkWorkersFile "E:/Apache2/conf/workers.properties"
> JkLogFile "E:/Apache2/logs/mod_jk.log"
> JkLogLevel debug
> 
> JkMount / tomcat1
> JkMount /* tomcat1
> 
> ------------------
> workers.properties
> ------------------
>  
>  workers.apache_log= E:\Apache2\httpd
>  workers.tomcat_home= C:\Tomcat
>  workers.java_home= C:\j2sdk1.4.1_06
>  
>  ps=\
> 
>  worker.list= tomcat1
> 
>  worker.tomcat1.type=ajp13 
>  worker.tomcat1.host= 192.168.100.10
>  worker.tomcat1.port=8009 
>  worker.tomcat1.cachesize=10 
>  worker.tomcat1.cache_timeout=600 
>  worker.tomcat1.socket_keepalive=1 
>  worker.tomcat1.socket_timeout=300 
> 
> ----------
> server.xml
> ----------
> 
> <Connector
> className="org.apache.ajp.tomcat4.Ajp13Connector"
> port="8009" minProcessors="5" maxProcessors="75"
> acceptCount="10" debug="0"/>
> 
> 
> 
> ----------
> mod_jk.log
> ----------
> 
> [Thu Mar 25 12:42:25 2004]  [jk_uri_worker_map.c
> (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
> [Thu Mar 25 12:42:25 2004]  [jk_uri_worker_map.c
> (477)]: Attempting to map URI '/'
> [Thu Mar 25 12:42:25 2004]  [jk_uri_worker_map.c
> (491)]: jk_uri_worker_map_t::map_uri_to_worker,
> Found
> an exact match tomcat1 -> /
> [Thu Mar 25 12:42:25 2004]  [mod_jk.c (1708)]: Into
> handler r->proxyreq=0 r->handler=jakarta-servlet
> r->notes=4670648 worker=tomcat1
> [Thu Mar 25 12:42:25 2004]  [jk_worker.c (132)]:
> Into
> wc_get_worker_for_name tomcat1
> [Thu Mar 25 12:42:25 2004]  [jk_worker.c (136)]:
> wc_get_worker_for_name, done  found a worker
> [Thu Mar 25 12:42:25 2004]  [mod_jk.c (497)]:
> agsp=80
> agsn=localhost hostn=localhost
> shostn=server.ebizrusserver.com cbsport=80 sport=80 
> [Thu Mar 25 12:42:25 2004]  [jk_ajp_common.c
> (1546)]:
> Into jk_worker_t::get_endpoint
> [Thu Mar 25 12:42:25 2004]  [jk_ajp_common.c
> (1208)]:
> Into jk_endpoint_t::service
> [Thu Mar 25 12:42:25 2004]  [jk_ajp_common.c (295)]:
> Into ajp_marshal_into_msgb
> [Thu Mar 25 12:42:25 2004]  [jk_ajp_common.c (463)]:
> ajp_marshal_into_msgb - Done
> [Thu Mar 25 12:42:25 2004]  [jk_connect.c (158)]:
> Into
> jk_open_socket
> [Thu Mar 25 12:42:25 2004]  [jk_connect.c (165)]:
> jk_open_socket, try to connect socket = 1408
> [Thu Mar 25 12:42:25 2004]  [jk_connect.c (174)]:
> jk_open_socket, after connect ret = -1
> [Thu Mar 25 12:42:25 2004]  [jk_connect.c (203)]:
> jk_open_socket, connect() failed errno = 49
> [Thu Mar 25 12:42:25 2004]  [jk_ajp_common.c (676)]:
> Error connecting to tomcat. Tomcat is probably not
> started or is listenning on the wrong port. Failed
> errno = 49
> [Thu Mar 25 12:42:25 2004]  [jk_ajp_common.c (955)]:
> Error connecting to the Tomcat process.
> [Thu Mar 25 12:42:25 2004]  [jk_ajp_common.c
> (1309)]:
> sending request to tomcat failed in send loop. err=0
> 
> 
> Any help is appreciated. 
> 
> Thank you,
> Steve.
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance Tax Center - File online. File on
> time.
> http://taxes.yahoo.com/filing.html
> 
>
---------------------------------------------------------------------
> 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]
> 


__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to