tomcat-users mailing list archives

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

Hi, 

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:127.0.0.1:8009 
</Location> 

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? 

~Kranthi 


Christopher Schultz-2 wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> 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="192.168.139.202:7080">
>> 	<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
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFHJ1Mm9CaO5/Lv0PARAqVrAJ9KH+yngsKlyAX3pOxwx33c2DiVBQCZAXFI
> Elth8SFyUFC+x3OHutoSnKs=
> =q0Ms
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Apache-%2B-Tomcat-Integration-tf4719336.html#a13528858
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message