tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tore Skogly <tore.sko...@c2i.net>
Subject Tomcat 4.0.1 and Apache 1.3.20 setup.
Date Thu, 31 Jan 2002 20:34:44 GMT
I hope someone can help me out on this one - I have spent many hours
trying to figure out how to solve my problem.

What I want to do is simply this:
I want Tomcat to handle my jsp pages and servlets.
I would like to place my jsp-pages in my
/var/www/html/jsps directory,
and my servlets and java classes in a directory called
/var/tomcat4/webapps/apps.

I have an out-of-the-box installation with Tomcat 4.0.1 and Apache 1.3.20 on
RedHat 7.2
I have compiled and installed mod_webapp.so, and added this to
/etc/httpd/conf/httpd.conf:

LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c

WebAppConnection conn warp localhost:8008
WebAppDeploy tools conn /tools
WebAppInfo /webapp-info

Now my jsp pages located in Apaches default directories (/var/www/htm/) are
displayed as plain text - can someone please help me with the remaining
configuration to have Tomcat handle these pages?

If I browse to http://foo.bar/servlet/ Tomcat handles the request, but tells 
me
that the requested resource is not available.

Maybe I'm a bit slow, but I have not managed to figure out how to have my jsp
pages handled by Tomcat 4.0.1 and warp....

Information and examples from any web.xml, server.xml and httpd.conf files
needed is highly appreciated.

--
Regards,
Tore Skogly,
Norway

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message