You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jorge <14...@arnet.com.ar> on 2002/08/01 01:11:48 UTC
Re: How can i connect Apache to Tomcat in different machines?
I will assume that you setup the Apache (1.3.xx ??) side fully
virtual host
load of mod_jk (already check httpd.conf)
copy of mod_jk.so to libexec or suitable path
As you mention
>Now, Apache connects to Tomcat on the TCP port 8009 but it receive no
>answer!
>
Again assuming you assert this (via snoop / tcpdump, etc.) it it time
to configure the Tomcat side of the conversation :
configure conector type / Host / Port
check $CATALINA_HOME/conf/server.xml and startup server.
Once you have Tomcat running you should "see" the LISTEN status on the
configured port (8009 and 8005) of the server running Tomcat.
jorge
Toby Saville wrote:
>The apache-tomcat HOWTO suggests the following:
><VirtualHost 9.148.16.139>
> ServerName www.virtualhost.com
> DocumentRoot path-to-your-docbase
> ApJServMount /servlet ajp12://localhost:8007/vhostExamples
></VirtualHost>
>
>Now if you modify this to work with mod_jk and your IP's, you get something
>like:
><VirtualHost 172.24.96.56>
> ServerName www.whatever.com
> DocumentRoot path-to-your-docbase
> ApJServMount / ajp13://172.24.96.57:8009/
></VirtualHost>
>
>I havent trie this but it might be what your looking for...
>
>-t0bes
>
>
>
>-----Original Message-----
>From: Luigi Savini [mailto:lsavini@akros.it]
>Sent: Wednesday, July 31, 2002 5:27 PM
>To: tomcat-user@jakarta.apache.org
>Subject: How can i connect Apache to Tomcat in different machines?
>
>
>I have Apache Web Server on host 172.24.96.56
>and Jakarta Tomcat 4.0.4 on host 172.24.96.57
>
>Apache connects to Tomcat by mod_jk.
>
>In my workers.properties i have specified the following code:
>----------------------------------------
>worker.ajp13.port=8009
>worker.ajp13.host=172.24.96.57
>worker.ajp13.type=ajp13
>worker.ajp13.lbfactor=1
>----------------------------------------
>
>Now, Apache connects to Tomcat on the TCP port 8009 but it receive no
>answer!
>Should i define a virtual host in tomcat/apache to handle request from
>Apache?
>
>thanx,
>Luigi
>
>
>--
>To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>
>***************************************************************
>This message is intended for the addressee named and
>may contain confidential information. If you are not the
>intended recipient, please delete it and notify the sender.
>Views expressed in this message are those of the
>individual sender, and are not necessarily the views of the
>Department of Information Technology & Management.
>
>This email message has been swept by MIMEsweeper
>for the presence of computer viruses.
>***************************************************************
>
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>