Java Mailing List Archive

http://www.junlu.com/

Google
Google
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
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
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 Source code of 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 Source code of 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 Source code of 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 Source code of 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

©2008 junlu.com - Jax Systems, LLC, U.S.A.