Thanks for the setup info. Very nicely laid out. I gave it a quick shot, but could not get Tomcat to fire up...go figure...I usually never get it right my first time through with these things anyways. I'm developing on a Win2k machine and apache 2.0, so I'm going to have to pay a little more attention to your instructions and try again later. It's a great configuration. I hope to have it working soon. I'll let ya know when I get it right. Thanks again...
Beau -----Original Message----- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 1:48 PM To: 'Tomcat Users List' Subject: RE: Tomcat Root Context Problem Solved! On that note, I hacked up a quick HOWTO today on apache 1.3 + tomcat 4.0.4 + mod_jk. You can find it here: http://www.johnturner.com/howto/apache-tomcat-howto.html If you scroll down to step #10, you can pick up the info on the Listener directives. John Turner [EMAIL PROTECTED] -----Original Message----- From: Beau Hebert [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 1:22 PM To: 'Tomcat Users List' Subject: RE: Tomcat Root Context Problem Solved! I like the connector approach that you explained. I'll look into it.... Sounds like less of a hassle.... Beau -----Original Message----- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 1:01 PM To: 'Tomcat Users List' Subject: RE: Tomcat Root Context Problem Solved! No problem, glad to help. Incidentally, I've been playing a bit with server.xml. You can leave httpd.conf completely alone if you set up the Listener directives in tomcat's server.xml correctly. For example, I now only have one line in my httpd.conf file, an Include directive. All of the necessary mod_jk directives are generated by tomcat on startup. Very very nice, something I hadn't worked with in the past. Wish I had understood/found it sooner. Makes admin much easier...basically if you can access your app on 8080 with tomcat stand-alone, and you have your Listener directives setup correctly, apache will just work on its own. Documentation for the Listener directives is here: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html John Turner [EMAIL PROTECTED] -----Original Message----- From: Beau Hebert [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 12:50 PM To: 'Tomcat Users List' Subject: RE: Tomcat Root Context Problem Solved! The solution is contained in the original message that was sent by John Turner located below. Thanks again John... -----Original Message----- From: Carlos [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 12:30 PM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: Tomcat Root Context Problem Solved! and what have been the solution to the problem? ----- Original Message ----- From: "Beau Hebert" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Wednesday, July 31, 2002 6:13 PM Subject: RE: Tomcat Root Context Problem Solved! > Thanks! > > -----Original Message----- > From: Turner, John [ <mailto:[EMAIL PROTECTED]> mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 31, 2002 11:42 AM > To: 'Tomcat Users List' > Subject: RE: Tomcat Root Context > > > > You have to configure Apache to send requests for that URL to tomcat. > Soemthing like > > JkMount /newfolder/*.jsp ajp13 > JkMount /newfolder/servlet/* ajp13 > > in your httpd.conf file. > > John Turner > [EMAIL PROTECTED] > > > -----Original Message----- > From: Beau Hebert [ <mailto:[EMAIL PROTECTED]> > mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 31, 2002 11:39 AM > To: [EMAIL PROTECTED] > Subject: Tomcat Root Context > > > Hi- > > I have recently managed to to configure Tomcat 4.0.4 and and Apache > 2.0.39 to work together properly on Win2k. I am able to view and > execute the Tomcat example files (localhost/examples) through Apache > without a problem. However, once I place a new folder in > Tomcat/webapps, edit the Context path accordingly in server.xml, > restart Tomcat and try to view the application in my browser (e.g. > localhost/newfolder), I receive a 404 error. My server.xml Context > path entry looks like this: > > <!-- newfolder Context --> > <Context path="/newfolder" docBase="newfolder" > debug="0" reloadable="true" crossContext="true"/> > <Logger className="org.apache.catalina.logger.FileLogger" > prefix="newfolder_tutorials_log." suffix=".txt" > timestamp="true"/> > > Am I missing something? Thanks in advance. > > Beau > > -- > To unsubscribe, e-mail: < > <mailto:[EMAIL PROTECTED]> > mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: < > <mailto:[EMAIL PROTECTED]> > 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]>
