tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc G. Fournier" <scra...@hub.org>
Subject Re: Apache2 + Tomcat4.0.1 + mod_jk
Date Wed, 23 Jan 2002 18:26:10 GMT

This may be so, but my understanding is that you can't use mod_jk for
*Tomcat 4.x* ... so I think you need to install mod_webapp for
Apache2->Tomcat4.x, and leave mod_jk ther for Apache2->Tomcat3.x ...



On Wed, 23 Jan 2002, Falcon cheetah wrote:

> Are you sure about that? Because both the doc that I
> used and others on apache site say that you CAN use
> mod_jk for both 1.3 and 2.0!
>
> Any idea?
>
> --- "Marc G. Fournier" <scrappy@hub.org> wrote:
> >
> > mod_jk is for Tomcat 3.x ... mod_webapp is for
> > Tomcat 4.x ... wrong module
> > :(
> >
> >
> > On Wed, 23 Jan 2002, Falcon cheetah wrote:
> >
> > > Greetings,
> > >
> > > I managed to install the above subject on my RH
> > Linux
> > > 7.1. I am downloaded the latest apache2.0.28beta
> > > together with tomcat 4.0.1. Built apache according
> > to
> > > the instructions. I followed instructions found on
> > >
> >
> http://www.iris.dti.ne.jp/~u-osamu/indexlinux72jdk140.html
> > > I followed the instructions to the extent. I
> > commented
> > > out the ssl part.
> > >
> > > When I typed ./apachectl configtest, it gave me
> > error
> > > that it can not recognize "AddModule" in
> > >
> > > LoadModule jk_module modules/mod_jk.so
> > > #AddModule mod_jk.c
> > >
> > > So I commented it out. My understanding is that I
> > need
> > > AddModule in order for Apache to load mod_jk,
> > > otherwise there not be communication between
> > apache2
> > > and tomcat4.
> > >
> > > I changed the port for ajp13 from 8009 to 8006
> > since I
> > > have tomcat 3.2 running on the same machine.
> > >
> > > I am able to communicate with Apache on port 8002,
> > it
> > > serves files fine. I can also get tomcat to serve
> > jsp
> > > on 8003. But when I try to access jsp files on the
> > > apache port it gives me page not found! and in the
> > > error log I find [Wed Jan 23 12:31:36 2002] [warn]
> > > [client local_ip] handler "jakarta-servlet" not
> > found
> > > for: carts.jsp, referer:
> > >
> >
> http://localhost:8002/examples/jsp/sessions/carts.html
> > >
> > >
> > > Is the AddModule causing the problem?
> > > Also when I look at the localhost_log.txt file I
> > find
> > > an exception for every context available. An
> > example
> > > is :
> > > 2002-01-23 12:02:56
> > > StandardWrapper[/tomcat-docs:JkServlet]: Marking
> > > servlet JkServlet as unavailable
> > > 2002-01-23 12:02:56 StandardContext[/tomcat-docs]:
> > > Servlet /tomcat-docs threw load() exception
> > > javax.servlet.ServletException: Wrapper cannot
> > find
> > > servlet class org.apache.ajp.tomcat4.JkServlet or
> > a
> > > class it depends on
> > >         at
> > >
> >
> org.apache.catalina.core.StandardWrapper.load(Unknown
> > > Source)
> > >         at
> > >
> >
> org.apache.catalina.core.StandardContext.loadOnStartup(Unknown
> > > Source)
> > >
> > > Why is it complaining about JkServlet? I made sure
> > to
> > > have tomcat-ajp.jar in the server/lib directory,
> > and
> > > made sure the class is there.
> > >
> > > I read somewhere that apache2 does not work with
> > apxs,
> > > is that ture?
> > >
> > > I also noticed that in some of the source code the
> > > developers are using methods that only appeared in
> > JDK
> > > 1.3, an example is Socket.setKeepAlive(boolean). I
> > > replaced that, since I am running jdk 1.2.2 to
> > > Socket.setSOTimeOut(0);
> > >
> > > I know am asking several questions but hope
> > someone
> > > will find an answer for me.
> > >
> > > Thank you.
> > >
> > >
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Send FREE video emails in Yahoo! Mail!
> > > http://promo.yahoo.com/videomail/
> > >
> > > --
> > > To unsubscribe:
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > > For additional commands:
> > <mailto:tomcat-user-help@jakarta.apache.org>
> > > Troubles with the list:
> > <mailto:tomcat-user-owner@jakarta.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe:
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands:
> > <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list:
> > <mailto:tomcat-user-owner@jakarta.apache.org>
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message