You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tia Hayes <Ti...@oracle.com> on 2000/09/06 23:12:32 UTC
Problems with Apache & Tomcat 3.1
Hello,
I am a beginner user of Apache & Tomcat. I downloaded Tomcat 3.1 on a
Solaris machine. I noticed that in order to run Tomcat via the Apache
web server I needed the mod_jserv.so files. I downloaded Apache JServ
to get the necessary libraries. However, I'm unable to configure Apache
JServ with Apache 1.3. Is there another way to configure Tomcat with
Apache without using JServ? If so, how?
Thanks
Re: Problems with Apache & Tomcat 3.1
Posted by saad <sa...@dsfinternet.com>.
Tia Hayes wrote:
> Hello,
>
> I am a beginner user of Apache & Tomcat. I downloaded Tomcat 3.1 on a
> Solaris machine. I noticed that in order to run Tomcat via the Apache
> web server I needed the mod_jserv.so files. I downloaded Apache JServ
> to get the necessary libraries. However, I'm unable to configure Apache
> JServ with Apache 1.3. Is there another way to configure Tomcat with
> Apache without using JServ? If so, how?
>
> Thanks
--
------------------------------------------------------------------------------------------------------------------
SEE YOU AT INDIA INTERNET WORLD 2000, Sept 27-29
Stall No. 404-405 Hall No. 11 Pragati Maidan New Delhi , India
Re: Problems with Apache & Tomcat 3.1
Posted by Daniel Garcia <dg...@domania.com>.
Right - but apache needs mod_jserv.so - (bah - i just re-read the origional message)
- you're right,
JServ - the package - is not needed, HOWEVER - that being said, mod_jserv.so - the
library
file is needed.
My bad
--Dg
Peter Choe wrote:
> funny, i don't have JServ running on my computer and tomcat is running.
>
> i know that JServ and tomcat uses the same config file though.
>
> peter choe
>
> Daniel Garcia wrote:
>
> > Peter Choe wrote:
> >
> > > you don't need JServ to run tomcat. you should be able to just use tomcat
> > > and apache together. Jserv is separate thing from tomcat.
> > >
> >
> > Actually, my understanding is that you DO need JServ to run tomcat. I had to
> > configure JServ w/apache in order to get tomcat and apache working. Here's
> > the relavent piece to my httpd.conf file:
> >
> > ###############################################################################
> >
> > # 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 8081
> >
> > #################### All jsp files will go to tomcat ####################
> > ApJServMount default /root
> >
> > AddType text/jsp .jsp
> > AddHandler jserv-servlet .jsp
> >
> > ############################## Context mapping - all requests go to tomcat
> >
> > ############################## 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>
> >
> > It's pretty much a stock config.
> >
> > Cheers,
> >
> > --Dg
> >
> > >
> > > peter choe
> > >
> > > Tia Hayes wrote:
> > >
> > > > Hello,
> > > >
> > > > I am a beginner user of Apache & Tomcat. I downloaded Tomcat 3.1 on a
> > > > Solaris machine. I noticed that in order to run Tomcat via the Apache
> > > > web server I needed the mod_jserv.so files. I downloaded Apache JServ
> > > > to get the necessary libraries. However, I'm unable to configure Apache
> > > > JServ with Apache 1.3. Is there another way to configure Tomcat with
> > > > Apache without using JServ? If so, how?
> > > >
> > > > Thanks
Re: Problems with Apache & Tomcat 3.1
Posted by Peter Choe <ch...@mindspring.com>.
funny, i don't have JServ running on my computer and tomcat is running.
i know that JServ and tomcat uses the same config file though.
peter choe
Daniel Garcia wrote:
> Peter Choe wrote:
>
> > you don't need JServ to run tomcat. you should be able to just use tomcat
> > and apache together. Jserv is separate thing from tomcat.
> >
>
> Actually, my understanding is that you DO need JServ to run tomcat. I had to
> configure JServ w/apache in order to get tomcat and apache working. Here's
> the relavent piece to my httpd.conf file:
>
> ###############################################################################
>
> # 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 8081
>
> #################### All jsp files will go to tomcat ####################
> ApJServMount default /root
>
> AddType text/jsp .jsp
> AddHandler jserv-servlet .jsp
>
> ############################## Context mapping - all requests go to tomcat
>
> ############################## 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>
>
> It's pretty much a stock config.
>
> Cheers,
>
> --Dg
>
> >
> > peter choe
> >
> > Tia Hayes wrote:
> >
> > > Hello,
> > >
> > > I am a beginner user of Apache & Tomcat. I downloaded Tomcat 3.1 on a
> > > Solaris machine. I noticed that in order to run Tomcat via the Apache
> > > web server I needed the mod_jserv.so files. I downloaded Apache JServ
> > > to get the necessary libraries. However, I'm unable to configure Apache
> > > JServ with Apache 1.3. Is there another way to configure Tomcat with
> > > Apache without using JServ? If so, how?
> > >
> > > Thanks
Re: Problems with Apache & Tomcat 3.1
Posted by Daniel Garcia <dg...@domania.com>.
Peter Choe wrote:
> you don't need JServ to run tomcat. you should be able to just use tomcat
> and apache together. Jserv is separate thing from tomcat.
>
Actually, my understanding is that you DO need JServ to run tomcat. I had to
configure JServ w/apache in order to get tomcat and apache working. Here's
the relavent piece to my httpd.conf file:
###############################################################################
# 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 8081
#################### All jsp files will go to tomcat ####################
ApJServMount default /root
AddType text/jsp .jsp
AddHandler jserv-servlet .jsp
############################## Context mapping - all requests go to tomcat
############################## 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>
It's pretty much a stock config.
Cheers,
--Dg
>
> peter choe
>
> Tia Hayes wrote:
>
> > Hello,
> >
> > I am a beginner user of Apache & Tomcat. I downloaded Tomcat 3.1 on a
> > Solaris machine. I noticed that in order to run Tomcat via the Apache
> > web server I needed the mod_jserv.so files. I downloaded Apache JServ
> > to get the necessary libraries. However, I'm unable to configure Apache
> > JServ with Apache 1.3. Is there another way to configure Tomcat with
> > Apache without using JServ? If so, how?
> >
> > Thanks
Re: Problems with Apache & Tomcat 3.1
Posted by Peter Choe <ch...@mindspring.com>.
you don't need JServ to run tomcat. you should be able to just use tomcat
and apache together. Jserv is separate thing from tomcat.
peter choe
Tia Hayes wrote:
> Hello,
>
> I am a beginner user of Apache & Tomcat. I downloaded Tomcat 3.1 on a
> Solaris machine. I noticed that in order to run Tomcat via the Apache
> web server I needed the mod_jserv.so files. I downloaded Apache JServ
> to get the necessary libraries. However, I'm unable to configure Apache
> JServ with Apache 1.3. Is there another way to configure Tomcat with
> Apache without using JServ? If so, how?
>
> Thanks
Re: Problems with Apache & Tomcat 3.1
Posted by Tom Samplonius <to...@sdf.com>.
On Wed, 6 Sep 2000, Tia Hayes wrote:
> I am a beginner user of Apache & Tomcat. I downloaded Tomcat 3.1 on a
> Solaris machine. I noticed that in order to run Tomcat via the Apache
> web server I needed the mod_jserv.so files. I downloaded Apache JServ
> to get the necessary libraries. However, I'm unable to configure Apache
> JServ with Apache 1.3. Is there another way to configure Tomcat with
> Apache without using JServ? If so, how?
>
> Thanks
mod_jserv is not JServ. The mod_jserv that Tomcat uses is different
than the mod_jserv that JServ uses. You should really read the Tomcat
User Guide. All of this is explained...
Tom