You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Beau Hebert <be...@bestnetpc.com> on 2002/07/31 18:13:05 UTC
RE: Tomcat Root Context Problem Solved!
Thanks!
-----Original Message-----
From: Turner, John [ <ma...@AAS.com> mailto:JTurner@AAS.com]
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
jturner@NOSPAM.aas.com
-----Original Message-----
From: Beau Hebert [ <ma...@bestnetpc.com>
mailto:beau@bestnetpc.com]
Sent: Wednesday, July 31, 2002 11:39 AM
To: tomcat-user@jakarta.apache.org
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: <
<ma...@jakarta.apache.org>
mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <
<ma...@jakarta.apache.org>
mailto:tomcat-user-help@jakarta.apache.org>
RE: Tomcat Root Context Problem Solved!
Posted by Beau Hebert <be...@bestnetpc.com>.
The solution is contained in the original message that was sent by John
Turner located below. Thanks again John...
-----Original Message-----
From: Carlos [mailto:linux@lpis.com]
Sent: Wednesday, July 31, 2002 12:30 PM
To: Tomcat Users List
Cc: beau@bestnetpc.com
Subject: Re: Tomcat Root Context Problem Solved!
and what have been the solution to the problem?
----- Original Message -----
From: "Beau Hebert" <be...@bestnetpc.com>
To: "'Tomcat Users List'" <to...@jakarta.apache.org>
Sent: Wednesday, July 31, 2002 6:13 PM
Subject: RE: Tomcat Root Context Problem Solved!
> Thanks!
>
> -----Original Message-----
> From: Turner, John [ <ma...@AAS.com> mailto:JTurner@AAS.com]
> 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
> jturner@NOSPAM.aas.com
>
>
> -----Original Message-----
> From: Beau Hebert [ <ma...@bestnetpc.com>
> mailto:beau@bestnetpc.com]
> Sent: Wednesday, July 31, 2002 11:39 AM
> To: tomcat-user@jakarta.apache.org
> 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: <
> <ma...@jakarta.apache.org>
> mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <
> <ma...@jakarta.apache.org>
> mailto:tomcat-user-help@jakarta.apache.org>
>
>
>
>
>
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Tomcat Root Context Problem Solved!
Posted by Carlos <li...@lpis.com>.
and what have been the solution to the problem?
----- Original Message -----
From: "Beau Hebert" <be...@bestnetpc.com>
To: "'Tomcat Users List'" <to...@jakarta.apache.org>
Sent: Wednesday, July 31, 2002 6:13 PM
Subject: RE: Tomcat Root Context Problem Solved!
> Thanks!
>
> -----Original Message-----
> From: Turner, John [ <ma...@AAS.com> mailto:JTurner@AAS.com]
> 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
> jturner@NOSPAM.aas.com
>
>
> -----Original Message-----
> From: Beau Hebert [ <ma...@bestnetpc.com>
> mailto:beau@bestnetpc.com]
> Sent: Wednesday, July 31, 2002 11:39 AM
> To: tomcat-user@jakarta.apache.org
> 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: <
> <ma...@jakarta.apache.org>
> mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <
> <ma...@jakarta.apache.org>
> mailto:tomcat-user-help@jakarta.apache.org>
>
>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>