TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:12531] tomcat vs jserv
"Schlough, Mark" wrote:
>
> > -----Original Message-----
> > From: Bob Tanner [SMTP:tanner@real-time.com]
> > Sent: Tuesday, January 18, 2000 6:35 PM
> > To: tclug-list@mn-linux.org
> > Subject: [TCLUG:12531] tomcat vs jserv
> >
> > Maybe I cannot see the forest through the trees, but tomcat seems a whole
> > lot
> > more complicated to setup then jserv.
> >
> > Anyone have tomcat working on linux and willing to share their config?
> >
> I don't have tomcat setup, nor have I tried, but I know that Cocoon
> ( the XML publishing framework) doesn't work because Tomcat has a bug in it
> preventing normal operation of Cocoon. Thus, I stick to Apache-JServ.
>
> my ¥2
>
I have Tomcat up and running but I don't have it integrated with
Apache. I am using it to do Servlet/JSP development.
This is the tomcat.conf file if it helps:
###############################################################################
# Apache JServ Configuration
File #
###############################################################################
# Note: this file should be appended or included into your httpd.conf
# Tell Apache on win32 to load the Apache JServ communication module
# LoadModule jserv_module modules/ApacheModuleJServ.dll
# Tell Apache on Unix to load the Apache JServ communication module
# For shared object builds only!!!
# @LOAD_OR_NOT@LoadModule jserv_module @LIBEXECDIR@/mod_jserv.so
LoadModule jserv_module libexec/mod_jserv.so
<IfModule mod_jserv.c>
# Do not edit!
ApJServManual on
ApJServDefaultProtocol ajpv12
ApJServSecretKey DISABLED
ApJServMountCopy on
ApJServLogLevel notice
### Change if you run tomcat on a different host
#ApJServDefaultHost localhost
ApJServDefaultPort 8007
#################### All jsp files will go to tomcat
####################
ApJServMount default /root
AddType test/jsp .jsp
AddHandler jserv-servlet .jsp
############################## Context mapping - all requests go to
tomcat
ApJServMount /examples /root
############################## Context mapping - you need to "deploy"
# ( copy or ln -s ) the context into htdocs
##
# ApJservMount /CONTEXT/servlet /root
# <Location /CONTEXT/WEB-INF/ >
# AllowOverride None
# deny from all
# </Location>
</IfModule>
Give a holler if I can be of help.
--
Perry Hoekstra
Consultant
Talent Software Services
dutchman@mn.uswest.net
(612) 253-8461