Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: Re: tomcat-apache.conf pro_jsp book page 717


Message #1 by "Ramaraju Bhaskar" <ramaraju@n...> on Fri, 22 Mar 2002 05:49:14
Well,
U need to first configure the duo. Apache-Tomcat. Through which module u 
want them to interact? there is one called mod_jk. for this all u need to 
do is: 
put mod_jk.dll in the modules folder of apache.
in the httpd.conf, change document root and directory to tomcat (or 
relative path).
at the end of httpd.conf, simply include mod_jk.conf-auto.

now, first start tomcat, then apache, and check for http://hostname/
for more details, plz check jguru.com FAQs.
Thanks
Bhaskar

> I cannot get apache talking to tomcat when I use the generated
> tomcat-apache.conf file described on page 717 or pro jap appendix a.
> 
> Tomcat is ok, I can see http://localhost:8080/examples
> Apache is ok, i can see http://localhost
> I cannot see http://localhost/examples
> 
> I can get it working when I use tomcat.conf, also described on 717. With
> this config I can see
> 
> http://localhost/examples
> 
> This tells me Tomcat is ok, Apache is ok, and they talk to each other.
> Therefore, the generated tomcat-apache.conf is no good.
> 
> tomcat-apache.conf gets generated from server.xml, as described on page
> 718.
> 
> I added projsp successfully to server.xml and tomcat.conf, and this
> worked.
> I can now see
> http://localhost/projsp
> 
> But again this does not work when I use tomcat-apache.conf included in
> httpd.conf.
> 
> Any suggestions? I would prefer not adding extra web applications by 
hand.

  Return to Index