Let's try saying this a different way...
Tomcat and Apache are completely separate servers and running one, the other, or both does not affect how the other operates independently. If you configure Tomcat to receive requests from Apache, then you are opening an additional port (8009 by default) for Tomcat to listen on. Port 8080 is still open and still listening for http requests (again, by default) and so Tomcat can still serve anything deployed on it from that port. Tomcat just sits there and does what it's told. If it's told to get a gif, it does it. If it's told to invoke a servlet, it does it. It is a server that serves stuff up ... just happens that requests generally come over the web. This makes it a "webserver". Simply, Tomcat is a server that serves web content (there is not, as you mentioned, a "webserver that comes with Tomcat"). In GENERAL, if you're proxying to Tomcat from Apache, then you restrict access to port 8080. This centralizes security and assures that all requests come from Apache. Administrators appreciate this. ;) Incidently, if you want to disable port 8080, remove the <Connector> in the server.xml that specifies the HttpConnector on that port. Cheers, justin At 02:55 PM 9/4/2002, you wrote: >but when Tomcat is integrated with Apache, what happens with the webserver >that comes with Tomcat???.... Are ports 80 and 8080 working when both of >them are integrated???... > >Alex > > > > > > >Andy Eastham <[EMAIL PROTECTED]> >04/09/2002 04:49 p.m. >Please respond to Tomcat Users List > > > To: Tomcat Users List <[EMAIL PROTECTED]> > cc: > Subject: RE: Is Tomcat just an add-on? > > >Ben, > >It's both, depending on how you configure it. It's pretty efficient >standalone, or you can integrate with a web server to serve static content >if you've got high traffic levels. > >Andy > > > -----Original Message----- > > From: Ben Austin [mailto:[EMAIL PROTECTED]] > > Sent: 04 September 2002 22:16 > > To: [EMAIL PROTECTED] > > Subject: Is Tomcat just an add-on? > > > > > > Is Tomcat a web server or is it just an add-on for web servers > > that are not > > servlet-enabled? > > > > > > > > > > _________________________________________________________________ > > MSN Photos is the easiest way to share and print your photos: > > http://photos.msn.com/support/worldwide.aspx > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
