Tomcat uses a Java class called CoyoteConnector to receive requests. Those requests can use several different protocols: HTTP, HTTPS, JK, etc.
There is a default CoyoteConnector configured on 8080...that is known as "Tomcat Stand-alone" and that's what people use when they want Tomcat to serve web content without using Apache. In other words, Tomcat can act as a "regular" webserver. If you were to change that Standalone port to 80, you wouldn't need Apache at all, but you'd have to run Tomcat for everything, and Tomcat doesn't handle things like CGI, PHP, etc. very well, whereas Apache does. John > -----Original Message----- > From: Denise Mangano [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 12, 2002 12:14 PM > To: 'Tomcat Users List' > Subject: RE: Apache-Tomcat mod_jk > > > Nope, its not commented out in server.xml. I'm not too sure what I am > looking for but from what I can tell there is nothing > abnormal in the logs. > > Question though - which if this is the case, you may get > angry with me for > bothering you with my dumb questions.... For Service Name it says > "Tomcat-Standalone".... Why would it say standalone if I am > using it only as > a servlet/JSP container? > > Denise Mangano > Help Desk Analyst > Complus Data Innovations, Inc. > > > -----Original Message----- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 12, 2002 11:43 AM > To: 'Tomcat Users List' > Subject: RE: Apache-Tomcat mod_jk > > > > The mod_jk.conf file should take care of your JkMounts as well as your > LoadModule line, too. > > My bad, I just re-read your message....http://localhost works but > localhost:8080 does not? If :8080 isn't working, that has > nothing to do > with Apache, I apologize for sending you down that path. Did > your HTTP > connector in server.xml on port 8080 get commented out > somehow? That would > be the only thing I can think of that would cause it not to respond to > requests. > > Is there anything in the Catalina logs? > > John > > > > -----Original Message----- > > From: Denise Mangano [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, December 12, 2002 11:41 AM > > To: 'Tomcat Users List' > > Subject: RE: Apache-Tomcat mod_jk > > > > > > I do have a workers.properties file. I checked that, my > > server.xml, and my > > httpd.conf and all server names are the same. > > > > I thought the mod_jk.conf file took care of the LoadModule > > directive that I > > would have had to place in my httpd.conf file. I tried > > searching for info > > on the JkMount directive but could not find any. Do I place JkMount > > path/to/modules/mod_jk-1.3-eapi.so? And where would I place > > that in the > > httpd.conf file? I just don't get why it was working before, > > but now it > > isn't.... > > > > Thanks again. > > > > Denise Mangano > > Help Desk Analyst > > Complus Data Innovations, Inc. > > > > > > -----Original Message----- > > From: Turner, John [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, December 12, 2002 10:52 AM > > To: 'Tomcat Users List' > > Subject: RE: Apache-Tomcat mod_jk > > > > > > > > Do you have a workers.properties file? Creating one is > > explained in my > > HOWTO...JK needs one to understand how to get to Tomcat. > > > > Do you have the JkMount statements in httpd.conf? Apache > > needs those to > > understand what to send to JK. > > > > John > > > > > > > -----Original Message----- > > > From: Denise Mangano [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, December 12, 2002 10:38 AM > > > To: 'Tomcat Users List' > > > Subject: RE: Apache-Tomcat mod_jk > > > > > > > > > Thank you very much for your help. The instructions were > > easy enough > > > to follow, with a few exceptions. I downloaded the > > > mod_jk-1.3-eapi.so because as per the site, that was the > module to > > > use if I am running Apache 1.3 with > > > mod_ssl. After doing all the steps I tried to restart Apache > > > and got the > > > following error message: > > > > > > Starting httpd: Syntax error on line 4 of > > > /var/jakarta-tomcat-4.1.12/conf/auto/mod_jk.conf: > > > Cannot load /etc/httpd/libexec/mod_jk.so into server: > > > /etc/httpd/libexec/mod_jk.so: cannot open shared object > > file: No such > > > file or directory > > > > > > I changed the path in the mod_jk.conf file to LoadModule > jk_module > > > /the/exact/path/to/mod_jk-1.3-eapi.so > > > > > > When I tried to restart Apache it restarted no problem. But now I > > > cannot get to http://localhost:8080 when before I could. > > > (http://localhost still > > > works though) Any thoughts? In the meantime I am going back > > > to double > > > check everything. > > > > > > Denise Mangano > > > Help Desk Analyst > > > Complus Data Innovations, Inc. > > > > > > > > > -----Original Message----- > > > From: Turner, John [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, December 12, 2002 9:14 AM > > > To: 'Tomcat Users List' > > > Subject: RE: Apache-Tomcat HOWTO > > > > > > > > > > > > #1: Yes. > > > > > > #2: No. :) > > > > > > You don't need ant. When I originally wrote the HOWTO, I > > thought you > > > did, so I hacked through getting it to work and put that in my > > > HOWTO. Then, based on a tip from someone on the list I > learned that > > > I didn't need to go > > > through all that, all I needed to do was follow connector > > > build option #2, > > > which is using the standard ./configure method. > > > > > > So, basically, if you want to build the connector from > > source, all you > > > have to do is (assuming a GNU-ready build environment): > > > > > > NOTE: the ./configure method assumes you have a sane build > > > environment: > > > libtool, GNU make, autoconf, m4 > > > > > > a) cd to CONNECTOR_HOME/jk/native. > > > > > > b) check README and README.configure. > > > > > > c) run buildconf.sh: ./buildconf.sh. This will create a > file called > > > "configure" in CONNECTOR_HOME/jk/native. > > > > > > d) run configure: ./configure > > > --with-apxs=/some/path/to/apache/bin/apxs > > > --with-java-home=${JAVA_HOME} > > > > > > e) run make: make > > > > > > g) You should end up with a mod_jk.so file in > > > CONNECTOR_HOME/jk/native/apache-1.3. Copy that mod_jk.so file to > > > /path/to/apache/libexec/. > > > > > > John > > > > > > > > > > -----Original Message----- > > > > From: Denise Mangano [mailto:[EMAIL PROTECTED]] > > > > Sent: Thursday, December 12, 2002 9:04 AM > > > > To: 'Tomcat Users List' > > > > Subject: Apache-Tomcat HOWTO > > > > > > > > > > > > Another trivial question... I am looking at John Turner's > > > how-to's for > > > > setting up Apache 1.3.26 + Tomcat 4.0.4. There was a post > > > that when > > > > reading the how-to's version numbers are not that critical. > > > Will this > > > > document help > > > > me for my Apache 1.3.27/Tomcat 4.1.12 set up? If so, > > then does that > > > > mean I have to install ant? > > > > > > > > Thanks! > > > > > > > > Denise Mangano > > > > Complus Data Innovations, Inc. > > > > > > > > -- > > > > 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]> > > > > -- > > 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]>
