  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | Apache+Tomcat error -101 cannot connect to tomcat | Apache+Tomcat error -101 cannot connect to tomcat 2004-01-29 - By Charles Daniel
Back I get an error -101 when Apache attempts to get a *.jsp from Tomcat. Please Help! daniel_charles@(protected)
SUSE Linux 8.0, Apache 2.048, Tomcat 4.1.29, mod_jk.
Installation Instructions @ http://www.johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html
The http.conf is reverted to the original distribution version with appended by the include of the Tomcat autoconfig.conf file "Include /usr/local/tomcat/conf /auto/mod_jk.config"
The server.xml file is edited as follows:
<Server port="8005" shutdown="SHUTDOWN" debug="0"> # <!-- My Listener --> <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig " modJk="/usr/local/apache2/modules/mod_jk.so" /> <!-- End My Listener -->
Coyote Connector, but AJP 13 fails as well so I've tried them both
<!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector " port="8009" minProcessors="5" maxProcessors="75" enableLookups="true" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="0" useURIValidationHack="false" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler "/>
Host container here. <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="true"> # <!-- My Listener (inside of host container) --> <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig " append = "true" forwardAll="false" modJk="/usr/local/apache2/modules/mod_jk.so" /> <!-- End My Listener -->
The workers.properties: worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13
Error Log:
[Thu Jan 29 14:44:33 2004] [jk_ajp_common.c (955)]: Error connecting to the Tomcat process. [Thu Jan 29 14:44:33 2004] [jk_ajp_common.c (1309)]: sending request to tomcat failed in send loop. err=1 [Thu Jan 29 14:44:33 2004] [jk_connect.c (188)]: Into jk_open_socket [Thu Jan 29 14:44:33 2004] [jk_connect.c (195)]: jk_open_socket, try to connect socket = 10 [Thu Jan 29 14:44:33 2004] [jk_connect.c (204)]: jk_open_socket, after connect ret = -1 [Thu Jan 29 14:44:33 2004] [jk_connect.c (233)]: jk_open_socket, connect() failed errno = 101 [Thu Jan 29 14:44:33 2004] [jk_ajp_common.c (676)]: Error connecting to tomcat . Tomcat is probably not started or is listenning on the wrong port. Failed errno = 101
|
|
 |