tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <>
Subject Re: tomcat3.0-4.0 conversion problem with JSP's
Date Mon, 01 Oct 2001 15:28:20 GMT
I'm guessing you're using mod_webapp??  If so, check the documentation in the 
INSTALL.txt file for mod_webapp.  The directives needed in httpd.conf are 
very different than for mod_jserv.

On the otherhand, if you already have RTFM, then post relavant parts of your 
httpd.conf so we can see what's happening.

--David Smith

On Monday 01 October 2001 10:47 am, you wrote:
> Hello List!
> I'm having some difficulty in my conversion from Tomcat 3 to Tomcat 4.
> Although 3 has been stable, we've never been able to get multiple Vhosts
> running under a single JVM. Fortunately I have that working with
> Tomcat4.0 for servlets, but now, for some reason, my JSP's are failing.
> FWIW I basically kept all my old Apache configs, dumping the Jserv stuff
> in favor of WebAppDeploy. Previously (tomcat 3), I had in httpd.conf:
>         AddType text/jsp .js
>         AddHandler jserv-servlet .jsp
> and in my server.xml files:
> 	                <Context path="/jsp" docBase="/path-to/jsp" debug="0"
> reloadable="true">
> and that was about it, for my Tomcat 4 server.xml, I put the same
> Context Path statement, and left the AddType/Handler stuff in
> httpd.conf. So the problem is that now Apache doesn't seem to know what
> a .js or .jsp file is! When I hit one of them, it just loads the jsp
> code up in my browser. I'm sure that there is some voodoo I'm missing to
> get Apache to pass the jsp's off to the new Tomcat setup, but as there
> isn't any documentation examples (that I can find) I'm at a loss. Any
> thoughts/experience/skulls to drink from?

View raw message