A Tomcat 404 generally means there is no Context configured in server.xml to match the request. In your case, it would typically mean that you're missing something like:


<Context path="/webapp" docBase="webapp">
</Context>

John

On Wed, 16 Jul 2003 19:57:16 -0700, Bongrip <[EMAIL PROTECTED]> wrote:

Simon Pabst wrote:
Since the 404 comes from Tomcat, Apache/mod_jk should be working.

Can you call the jsp over Tomcat's HTTP Connector (port 8080)?
like this http://localhost:8080/myapp/index.jsp
instead of http://localhost/myapp/index.jsp



Are there any errors in tomcat/logs/catalina.out or


<snip>

Oh my god, just shoot me. When I copied the test.jsp file I put it in $TOMCAT_HOME/webapps/test.jsp instead of $TOMCAT_HOME/webapps/ROOT/test.jsp.

That works now. However one final problem, I am sure it is a configuration error.

First, I created and alias under apache as so:
Alias /webapp/ "/usr/local/tomcat/webapps/ROOT/"

<Directory "/usr/local/tomcat/webapps/ROOT">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Second, I added a JkMount to httpd.conf file as so:
JkMount                 /webapp/*.jsp   worker1

So why do I get a 404 with this URL:
http://www.mydomain.com/webapp/test.jsp

The 404 error I get comes from Tomcat.

Thanks for all the help,
CC


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to