good point.. try to determine if tc is running before trying to start it
again

netstat -a | grep PortNumber

M--
----- Original Message -----
Wrom: TZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJ
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Tuesday, December 18, 2007 8:44 AM
Subject: Re: apache and tomcat


> Which is complaining of a port in use -- tomcat or a httpd?  Can you
> post the message your are getting?
>
> These two don't typically use the same ports by default.  It may be
> tomcat is installed as a service and already running when you try to
> start it.
>
> --David
>
> --David
>
> Richard Dunne wrote:
>
> >I have installed Apache server on port 80 as per installation recommened.
Problem is port seems to be in use.  Tomcat 6 is on port 8080, does this
affect the Apache server in any way?
> >
> >Richard.
> >
> >
> >----- Original Message ----
> >Wrom: JPHSCRTNHGSWZIDREXCAXZOWCONEUQ
> >To: Tomcat Users List <users@tomcat.apache.org>
> >Sent: Tuesday, December 18, 2007 12:53:56 PM
> >Subject: Re: apache and tomcat
> >
> >You're right -- Apache Tomcat doesn't handle PHP especially well.  It's
> >designed to handle and execute code in java web applications built to
> >the servlet spec very well though.
> >
> >Think of Apache Httpd as a general web server -- it serves content very
> >well and with the right modules can hand off some requests to
> >interpreters like PHP and Perl.  Apache Tomcat on the other hand
> >specializes in providing a container and API for handling Java web
> >applications -- which Apache Httpd doesn't do at all.  As such, Tomcat
> >Httpd can hand off requests for PHP and Perl to their interpreters but
> >not nearly as well as Apache Httpd.
> >
> >They can coincide on the same system as long as they are on different
> >ports.  If you want Apache Httpd to server content generated in Tomcat,
> >you can use either mod_jk or Apache Httpd's reverse proxy
> >
> >--David
> >
> >
> >Richard Dunne wrote:
> >
> >
> >
> >>Can someone please explain the fundamental difference between Httpd and
Tomcat?  I installed Tomcat 6, but it doesn't seem to be liking PHP a whole
lot.  Do I need to un-install Tomcat 6 and install Apache 2 on its own? Just
a bit confused as I am trying to get Apache and PHP5 working together.
> >>
> >>Any words of wisdom?
> >>Thanks,
> >>
> >>Richard
> >>
> >>
> >>
____________________________________________________________________________
________
> >>Be a better friend, newshound, and
> >>know-it-all with Yahoo! Mobile.  Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> >>
> >>
> >>
> >>
> >>
> >
> >
> >---------------------------------------------------------------------
> >To start a new topic, e-mail: users@tomcat.apache.org
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
____________________________________________________________________________
________
> >Looking for last minute shopping deals?
> >Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
> >
> >
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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

Reply via email to