This is the snippet where the connectors are defined. It is identical
to my older development system and it's pretty much the Tomcat comes out
of the box (or the tarball):
<!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="100" debug="0" connectionTimeout="20000"
useURIValidationHack="false" disableUploadTimeout="true" />
<!-- <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8080" enableLookups="true" redirectPort="8443"
acceptCount="100" connectionTimeout="20000"
useURIValidationHack="false" disableUploadTimeout="true"
/> -->
<!-- Note : To disable connection timeouts, set connectionTimeout value
to 0 -->
<!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
<!--
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8443" enableLookups="true" scheme="https" secure="true"
acceptCount="100"
useURIValidationHack="false" disableUploadTimeout="true"
clientAuth="false" sslProtocol="TLS" />
-->
<!-- Define a Coyote AJP/1.3 Connector on port 8009 -->
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8009" enableLookups="true" redirectPort="8443"
connectionTimeout="0"
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" />
On 08/14/2006 05:50 PM, Yassine ELassad (YEL) wrote:
Hi Rob,
I'm just curious to know how you manage to access your application
from port 8009 via browser while your Config shows :
worker.ajp13.port=8009
either you specified the wrong port number for the http connector or
you stated the wrong one.
AFAIK the port 8009 is used by mod_jk to communicates with Apache
and since your page keeps loading for ever i assume you create a kind
of loop request -> Apache port 80 -> mod_jk -> 8009 tomcat > 8009
can you please provide a snippet of your server.xml where your jk
connector is defined and where you http connectors is defined too.
here are configurations that do works for me you can adjust them for
your needs:
http://tomcat.anfatech.com/cocoon/tomcat/g12/19.html
Greetings
Yassine Elassad
00 49 221 800 8961
00 49 160 6223 9000
Cologne, Germany
On 8/15/06, Rob Tanner <[EMAIL PROTECTED]> wrote:
Hi,
I'm building a new development system. I can access my applications
directly from my browser 0n port 8009, but not through Apache. I'm have
j2sdk1.4.2_12 and apache-tomcat-4.1.32 installed. The version of Apache
is 2.0.54 (from the FC4 distro). I built the connector from the
tomcat-connectors-1.2.18-src, using the included directions.
The workers.properties file:
worker.list=ajp13
worker.ajp13.host=localhost
worker.ajp13.port=8009
worker.ajp13.type=ajp13
The httpd.conf file:
LoadModule jk_module modules/mod_jk.so
JkWorkersFile /var/apache-tomcat-4.1.32/conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel info
JkMount /*.jsp ajp13
JkMount /accntManager/* ajp13
When I attempt to access the servlet via Apache, the page just keeps
loading forever (oodly enough, it doesn't even timeout).
Any ideas?
Thanks,
Rob
--
Rob Tanner
Linfield College
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]