tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mike niemaz <nie...@xrce.xerox.com>
Subject Re: Apache & Tomcat cooperation
Date Mon, 10 Jul 2000 07:26:28 GMT
THis is exactly what I'm trying to do: Make Tomcat & Apache cooperate.
My goal is simple to do JSP/servlets techno on my Apache server.
Any clue why it is not working or I should why  I can not use it?

Regards,

--mike

"Rob S." wrote:

> I don't believe the start order matters, so long as they both end up running
> =)  Tomcat listens on whichever ports you specify in the server.xml file
> (8007 by default for the PoolTCPConnector and 8080 for HTTP).  Neither
> Tomcat nor Apache initiates communication(s) on startup to each other.
>
> I'm not quite sure what your goal(s) is/are.  It doesn't appear as though
> you want Tomcat running standalone, so you should comment out the HTTP
> handler listening on port 8080 (in your server.xml file).  If you try and
> start Apache, and it also wants to listen on this port, you'll obviously
> have a problem.
>
> If you want Tomcat and Apache working together, the MUG should be a good
> starting point.  If you're still having problems, let us know =)
>
> - Rob
>
> > -----Original Message-----
> > From: Michael.Niemaz@xrce.xerox.com
> > [mailto:Michael.Niemaz@xrce.xerox.com]On Behalf Of mike niemaz
> > Sent: July 10, 2000 12:04 AM
> > To: tomcat-user@jakarta.apache.org; Amos Shapira
> > Subject: Re: Apache & Tomcat cooperation
> >
> >
> > Hi,
> >     You're right about the "plugin" fact but it says in the
> >     "Minimalistic User's guide" of Tomcat that it should be
> >     launched before Apache because the automatic start
> >     is not implemented yet ...
> >     I tried to launch Apache without Tomcat but the Tomcat's
> >     servlets & JSP examples won't work anymore ... Ohhh maybe
> >     that's normal behavior. Maybe I should put these examples
> >     somewhere else ...
> >     Any clue?
> >
> > Thanx,
> >
> > --mike
> >
> >
> > Amos Shapira wrote:
> >
> > > Hi,
> > >
> > > Don't have first-hand experience with this combination, but
> > > could it be that you shouldn't run Tomcat separatly?  Since
> > > Tomcat is ment to be used as a "plugin" to Apache it could
> > > be that running it stand-alone before running Apache causes
> > > Apache to find that the port is already bound by someone else
> > > and exit.  Look in Apache's log files.
> >
> > >
> > > > -----Original Message-----
> > > > From: mike niemaz [mailto:niemaz@xrce.xerox.com]
> > > > Sent: Monday, July 10, 2000 9:45 AM
> > > > To: tomcat-user
> > > > Subject: Apache & Tomcat cooperation
> > > >
> > > >
> > > > Hi all,
> > > >     I've succesfully installed & tested seperately Tomcat, Apache
> > > >     & mod_jserv on  my machine, but I'm struggling to make them
> > > >     cooperate.
> > > >     I've followed to user guide intructions. I included the
> > > > tomcat conf
> > > >     files in httpd.conf.
> > > >     While Tomcat is working in standalone mode, I somehow doubt
> > > >     that Apache & tomcat are working together.
> > > >     Here's what I do:
> > > >         - run startup.sh (Tomcat launcher)
> > > >         - run Apache server
> > > >     Now if I check the processes running on my machine,
> > > >     I can see no apache processes, whereas it works when
> > > >     run without apache....
> > > >     Am i missing something at some point?
> > > >
> > > >     Thanx in advance,
> > > >
> > > > --mike
> > > >
> > > >
> > > >
> >


Mime
View raw message