You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/12/23 20:32:48 UTC
DO NOT REPLY [Bug 25733] New: -
Apache-Tomcat connector problem
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25733>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25733
Apache-Tomcat connector problem
Summary: Apache-Tomcat connector problem
Product: Tomcat 5
Version: 5.0.16
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: Other
Component: Connector:AJP
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: eugene_moreau@sympatico.ca
Subject: Apache-Tomcat connector problem.
Have the following installed
System: windows xp professional
Java: j2sdk1.4.1
Connector: JK2.0.2
TomCat: 5.0.16
HTTP server: Apache2
This works: http://localhost for Apache
This works: http://localhost:8080/servlets-examples for Tomcat
After installing JK2 in modules directory and configuring httpd.conf for
Apache with
LoadModule jk2_module modules/mod_jk2-2.0.43.dll
and...
using the following minimum configuration as suggested from Jakarta site...
-------------------------------------------------------------------------------
---------------
Minimum configuration is the simplest one to make the JK2 working. The used
channel will be socket, and lot of options are used by default. Both the
Tomcat and web server are on the same computer.
jk2.properties:
# The default port is 8009 but you can use another one
# channelSocket.port=8019
That is all needed on the Tomcat side to configure the JK2.
workers2.properties:
# Define the communication channel
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009
# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp
Start the Tomcat and Web server and browse to the http://localhost/examples/
-------------------------------------------------------------------------------
---------------
I get, [Tue Dec 23 10:01:34 2003] [error] mod_jk child init 1 0, from the
Apache Error log
-------------------------------------------------------------------------------
---------------
[Tue Dec 23 10:01:34 2003] [error] mod_jk child init 1 0
[Tue Dec 23 10:01:34 2003] [notice] Child 2688: Acquired the start mutex.
[Tue Dec 23 10:01:34 2003] [notice] Child 2688: Starting 250 worker threads.
This doesn't work: http://localhost/examples/
This doesn't work: http://localhost/servlets-examples.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org