tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sierra <>
Subject Re: Apache + Tomcat Integration
Date Thu, 01 Nov 2007 13:35:27 GMT


I have made the integration work. 

I did changes to the indexpage of apache (i.e. I included frameset and
called my tomcat page) 

I have removed virtual host from http file and made it simple by inlusind
only location.. 

<Location "/AjaxSample"> 
JkUriSet worker ajp13: 

Its redirecting to my tomcat. 

TIll now its okei, but for displaying static pages I have included the files
in httpd doc, and its working fine but I want to make it in another location
so that I can put my files in a different location. How can I do? 


Christopher Schultz-2 wrote:
> Hash: SHA1
> Kranthi,
> Sierra wrote:
>> I got a document and integrated but the output I am getting is [B]It
>> works[/B].
> Sounds like it works ;)
>> I want to get my home page with my IP. but If I give Ip followed by
>> 7080(full URL)  I am able to see the home page.
> Is your home page served by httpd or by Tomcat? On what port number?
> Usually, Apache httpd binds to port 80, and Tomcat is somewhere else. Do
> you have Tomcat configured to listen to port 7080, or is Apache httpd
> listening on that port?
>> I used jakarta-tomcat-connectors-jk2-2.0.4-src.tar.tar
> You should use mod_jk instead of mod_jk2. In spite of the version
> numbers, mod_jk is far more up-to-date than mod_jk2. mod_jk2 is no
> longer supported by anyone.
>> <Host name="">
>> 	<Context path="/AjaxSample" 
>> 	docBase=" /home/oracle/apache-tomcat-5.5.20/webapps/AjaxSample "
>> debug="0"
>> reloadable="true" crossContext="true"/>
>> </Host>
> You'll want to post your <Connector> element from server.xml as well
> (the ones that are enabled).
> - -chris
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla -
> Elth8SFyUFC+x3OHutoSnKs=
> =q0Ms
> ---------------------------------------------------------------------
> To start a new topic, e-mail:
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View this message in context:
Sent from the Tomcat - User mailing list archive at

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message