tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Boeckman <matth...@saepio.com>
Subject Re: tomcat3.0-4.0 conversion problem with JSP's
Date Mon, 01 Oct 2001 17:27:23 GMT
thanks for the reply. I re-read the install.txt file which is so generic
as to be confusing. Eventually I setup a seperate jsp WebAppDeploy
directive, but had to was the AddType/AddHandler stuff to get the jsp's
to execute... now All of them are throwing exceptions, which i suspect
has something to do with my classpath... so it's getting closer... 

David Smith wrote:
> 
> 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?

-- 
Matthew Boeckman			(816) 777-2160
Manager - Systems Integration		Saepio Technologies
"Those who would give up essential liberties for a measure of security,
	deserve neither liberty nor security." - Ben Franklin

Mime
View raw message