i know you can't mix mod_jk and mod_jserv configurations. but tomcat
creates auto-config files for both mod_jk and mod_jserv each time it's
started:
mod_jk.conf-auto for mod_jk
tomcat-apache.conf for mod_jserv_tomcat
i know how to switch between mod_jserv and mod_jk. at least i know what
i'm supposed to do according to the documentation.
Animesh is using mod_jserv as he indicates in the message below which you
quoted.
with my particular environment, details of which i've already given,
the apache-tomcat-mod_jk combination does not work (problem similar to
Animesh's although he is using mod_jserv) and the apache-tomcat-mod_jserv
causes a SEGV whenever a servlet is invoked.
On Thu, 29 Mar 2001, Filip Hanik wrote:
> yeah, but you can't mix mod_jk configurations with the mod_jserv module.
> the auto conf files are created for mod_jk,
> >ApJServMount /examples/servlet /examples
> this command is for mod_jserv
>
> Filip
>
> ~
> Namaste - I bow to the divine in you
> ~
> Filip Hanik
> Software Architect
> [EMAIL PROTECTED]
> www.filip.net
>
> > -----Original Message-----
> > From: Todd Pfaff [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, March 29, 2001 11:46 AM
> > To: [EMAIL PROTECTED]
> > Cc: Filip Hanik
> > Subject: RE: Servlets do not run under Apache-tomcat
> >
> >
> > yes, i agree, that's what it looks like, but this is *exactly* how tomcat
> > creates the tomcat-apache.conf and mod_jk.conf-auto when it starts up.
> > are those auto-created conf files know to be incorrect?
> >
> > On Thu, 29 Mar 2001, Filip Hanik wrote:
> >
> > > > Alias /examples /myroot/jakarta-tomcat/webapps/examples
> > > > <Directory "/myroot/jakarta-tomcat/webapps/examples>
> > > > Options Indexes FollowSymLinks
> > > > </Directory>
> > > >
> > > > ApJServMount /examples/servlet /examples
> > > > <Location /examples/WEB-INF/ >
> > > > AllowOverride None
> > > > deny from all
> > > > </Location>
> > >
> > > this looks like anything that goes to
> > > /examples/servlet is being sent /examples which is being aliased to
> > > /myroot/jakarta-tomcat/webapps/examples file system
> > >
> > > agree?
> > > Filip
> > >
> > > ~
> > > Namaste - I bow to the divine in you
> > > ~
> > > Filip Hanik
> > > Software Architect
> > > [EMAIL PROTECTED]
> > > www.filip.net
> > >
> > > > -----Original Message-----
> > > > From: Animesh Chaturvedi - US [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, March 29, 2001 9:58 AM
> > > > To: '[EMAIL PROTECTED]'
> > > > Subject: RE: Servlets do not run under Apache-tomcat
> > > >
> > > >
> > > > Thanks Filip!!
> > > >
> > > > I have the followinfg entry in my tomcat.conf file.
> > > >
> > > > Alias /examples /myroot/jakarta-tomcat/webapps/examples
> > > > <Directory "/myroot/jakarta-tomcat/webapps/examples>
> > > > Options Indexes FollowSymLinks
> > > > </Directory>
> > > >
> > > > ApJServMount /examples/servlet /examples
> > > > <Location /examples/WEB-INF/ >
> > > > AllowOverride None
> > > > deny from all
> > > > </Location>
> > > >
> > > > the same is repeated for other contexts. And this file has been
> > > > included in
> > > > Apache httpd.conf file.
> > > >
> > > > Please let me know where I am going wrong or what do I need to do.
> > > >
> > > > Regards
> > > >
> > > > Animesh
> > > >
> > > > -----Original Message-----
> > > > From: Filip Hanik [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, March 29, 2001 11:40 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: RE: Servlets do not run under Apache-tomcat
> > > >
> > > >
> > > > I would recommend switching to mod_jk
> > > > but from your problem, it does't look like you have set up the context
> > > > mapping of the /servlet context to go through mod_jserv.
> > > >
> > > > Filip
> > > >
> > > > ~
> > > > Namaste - I bow to the divine in you
> > > > ~
> > > > Filip Hanik
> > > > Software Architect
> > > > [EMAIL PROTECTED]
> > > > www.filip.net
> > > >
> > > > > -----Original Message-----
> > > > > From: Animesh Chaturvedi - US [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Thursday, March 29, 2001 9:35 AM
> > > > > To: '[EMAIL PROTECTED]'
> > > > > Subject: Servlets do not run under Apache-tomcat
> > > > >
> > > > >
> > > > >
> > > > > Hi
> > > > >
> > > > > I am running Apache 3.1.17 and Tomcat3.2.1 on a unix box and
> > > > > using mod_jserv
> > > > > as connector. and using SSL.
> > > > >
> > > > > The jsp are working perfectly, but servlets do not run at all.
> > > > > You get HTTP
> > > > > 404 document not found error. I have tried every possible
> > way, but none
> > > > > works.
> > > > >
> > > > > for e.g if I reference a servlet HelloWorldExample in the context of
> > > > > examples
> > > > >
> > > > > through https://server-name/examples/servlet/HelloWorldExample
> > > > >
> > > > > i get HTTP 404 page not found
> > > > >
> > > > > and in apache error_log I see:
> > > > >
> > > > > File does not exist:
> > > > > /myroot/jakarta-tomcat/webapps/examples/servlet/HelloWorldExample
> > > > >
> > > > > However if I refernce a servlet through jsp (i forward the
> > request to a
> > > > > servlet) it gets resolved.
> > > > >
> > > > > I will really appreciate if someone can point me how to correct this
> > > > > behaviour.
> > > > >
> > > > > All my web.xml and server.xml files are as they should be.
> > > > >
> > > > >
> > > > >
> > > > > thanks
> > > > >
> > > > > Animesh
> > > > >
> > > >
> > >
> > >
> >
> > --
> > Todd Pfaff \ Email: [EMAIL PROTECTED]
> > Computing and Information Services \ Voice: (905) 525-9140 x22920
> > ABB 132 \ FAX: (905) 528-3773
> > McMaster University \
> > Hamilton, Ontario, Canada L8S 4M1 \
> >
> >
>
>
--
Todd Pfaff \ Email: [EMAIL PROTECTED]
Computing and Information Services \ Voice: (905) 525-9140 x22920
ABB 132 \ FAX: (905) 528-3773
McMaster University \
Hamilton, Ontario, Canada L8S 4M1 \