tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Bauer" <>
Subject Apache cannot connect to Tomcat in httpd.conf
Date Sun, 05 Jun 2005 12:35:36 GMT

Can somebody help me, please?

My OS is Suse 9.2 pro. Apache and Tomcat work for me.
But If I start Apache with normal httpd.conf, Apache works for me.
If I paste my lines for Apache-Tomcat Connection, Apache doesn't
work for me, only Tomcat. It must be something wrong with this lines, but
the same lines in httpd.conf

in a windows XP Tomcat-Apache configuration works for me:

The pasted lines in httpd.conf are:

LoadModule jk2_module modules/
<Location "/*.jsp">
JkUriSet worker ajp13:localhost:8009
<Location "/mywebapp">
JkUriSet worker ajp13:localhost:8009

The Tomcat Connector Modul is in the rigth directory
and Apache doesn't send an errormessage,, because of the module, when I
start Apache from the commandoline. If I took another Tomcatconnectormodul,
I got errormessage.

With the old one, not.

My is:
TOMCAT_DIR/conf/, adding the following line:

Configuration of server.xml is:
server.xml configuration from Tomcat/conf directory:
look for the "non-SSL Coyote HTTP/1.1 Connector". This is
the standard Tomcat-only connector and comment it out since we'll be using
Apache for handling HTTP requests. In the same file, look for a commented
line that says "<Context path="" docBase="ROOT" debug="0">". Right after
that line, add the following Context path:
<Context path="" docBase="APACHE_DIR/htdocs" debug="0" reloadable="true"
crossContext="true"/> is:
APACHE_DIR/conf directory/
# socket channel

# worker for the connector

The working script is from

The same T-A Connector Configuration with a windows Connector Module works
for me in a windows system.

Best regards and many thanks



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message