I recently set up a server running Red Hat Linux 7.2

Some Background -
I have installed apache 1.3.2
And Tomcat 4.0.3 with mod_webapp

So now I have mod_webapp up and running but I'm still not quite sure
Its the best connector for the job ..

-- FYI -
-- For anyone trying to get this working I followed the directions I found at ..
-- http://dcb.sun.com/practices/howtos/tomcat_apache.jsp

So of course .. I'm off to Google where I search diligently for information regarding
mod_webapp, mod_jk, AJP13, WARP etc.,

Basically to summarize what I was able to find -

AFAIK it looks like mod_webapp is the connector that was supposed to run the show
in Tomcat 4.0 but because of limited time and resources it wasn't 100% ready for the
release so mod_jk was ported to 4.0 and now many users who were already using
mod_jk have continued using mod_jk rather than swap over to mod_webapp - it also
seems like mod_webapp follows the 'standard' for how a webapp is supposed to be 
deployed
i.e.. all files go in the webapps directory with a WEB-INF etc.. - this seems optimal 
for users
with pre-existing web applications which they need to "drop into place" 

It seemed to me from what I found that mod_jk is more useful if what you are 
attempting to
is to just forward .jsp and servlet requests on to tomcat while serving all other 
content through
Apache .. I have seen some comments about how this behavior MIGHT be accomplished
with mod_webapp but no actual examples of a working config ..

In addition it looks like the mod_jk crowd is/was upset because mod_webapp 
doesn't/didn't support
load_balancing so there seems to be some argument as to which connector is better 
suited for some users.
(not sure if this has been resolved?)

So my question is has anyone found or does anyone know of a good unbiased
document outlining the differences between mod_webapp and mod_jk - I have
seen many questions on this subject but I haven't been able to find much in the way
of answers..

Also will mod_jk continue to be supported in future releases or is the plan to have it
eventually replaced with mod_webapp?

And does anyone know - is it possible to use mod_webapp to only serve .jsp and 
servlets and if so how? Because in the configuration file you need to define
the DocumentRoot as a directory which means all your content must be in
your webapps dir for .jsps to work and that means your html will be served by
Tomcat. -- Or does it?

All helpful input appreciated - by all means please inform me of any misstatements
I may have inadvertently made ..


-Derek Stedman

Reply via email to