tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Hoepfner-Homme <pa...@oven.com>
Subject Re: Apache can't start with mod_jk - httpd segfaults
Date Tue, 17 Oct 2000 15:35:14 GMT
Mike Bremford wrote:

> Sorry I can't help further with your problem. I assume you've tried
> recompiling Apache and JK from source?

Yes, it only loads if I compile it from source.  But don't worry about
it, I'm happy with JServ, even if it isn't really designed for Tomcat.
Thanks for the info about the updated docs.

Paul

> Cheers... Mike-----Original Message-----
> From: paul@oven.com [mailto:paul@oven.com]On Behalf Of Paul
> Hoepfner-Homme
> Sent: 17 October 2000 15:33
> To: tomcat-user@jakarta.apache.org
> Subject: Re: Apache can't start with mod_jk - httpd segfaults
>
>
>      Sorry, I still haven't figured it out.  I noticed that my
>      log file mod_jk.log has a bunch of these lines:
>
>      [jk_uri_worker_map.c (430)]: In
>      jk_uri_worker_map_t::map_uri_to_worker, wrong parameters
>
>      I think that's probably why httpd is segfaulting and I'm
>      getting "document contains no data" in my browser, but
>      unfortunately still nobody can explain it to me.  I've given
>      up with it and I'm using JServ instead, even though they say
>      JServ will slowly fade out of development, but I'm just
>      really tired of wrestling with mod_jk.
>
>      It's a shame that mod_jk is so poorly documented.  It's
>      interesting how I find dozens of questions from users who
>      want to find out *what mod_jk is* and *where to get*, and
>      more messages about that keep arriving every week.
>      Meanwhile, it seems the developers aren't interested in
>      clarifying this by answering these questions in the Tomcat
>      documentation.  I don't get it...
>
>      This is more of a comment to the guys in charge.  I know
>      Tomcat is free and open-source and it's wonderful, but with
>      such poor documentation, it can be extremely frustrating for
>      some of us users to get it up and running on a server on a
>      really tight schedule.  The mailing list has been really
>      helpful, but I do wish I didn't need to use it so often for
>      almost every little thing that I couldn't get answers for in
>      the docs.  There are so many redundant posts--people
>      experiencing the exact same problems.  I agree that the
>      mailing list archive is a good resource, but there should
>      also be more people in charge of finding out what users are
>      most commonly having trouble with and explaining them in the
>      main Tomcat documentation promptly.  After all, that is the
>      first place I (and likely everyone else) goes to look for
>      answers after downloading Tomcat.  Seriously, sometimes it
>      really warrants going out and buying a commercial Java
>      servlet runner.
>
>      Just my $0.02.
>
>      Paul
>
>      Rishi N wrote:
>
>     > Hi Paul,
>     >
>     > just wondering if anyone replied to this message of yours.
>     > i'm trying to
>     > setup tomcat3.2 and apache 1.3.14, and i ran into all the
>     > problems you
>     > faced, and i was able to move on with the fixes that you
>     > found out. esp. the
>     > "WAS_BORN_BY_APACHE" thing! so currently i'm also getting
>     > some core dumps in
>     > the apache directory, and i'm not able to access the
>     > tomcat examples. i'd
>     > appreciate it if you could let me know  if you managed to
>     > get around that.
>     >
>     > thanks,
>     > rishi
>     >
>     > >From: Paul Hoepfner-Homme <paulh@oven.com>
>     > >Reply-To: tomcat-user@jakarta.apache.org
>     > >To: tomcat-user@jakarta.apache.org
>     > >Subject: Re: Apache can't start with mod_jk - httpd
>     > segfaults
>     > >Date: Fri, 06 Oct 2000 12:07:36 -0400
>     > >MIME-Version: 1.0
>     > >Received: from [63.211.145.10] by hotmail.com (3.2) with
>     > ESMTP id
>     > >MHotMailBBA743F3002AD82197A03FD3910A054B0; Fri Oct 06
>     > 09:08:19 2000
>     > >Received: (qmail 34308 invoked by uid 500); 6 Oct 2000
>     > 16:08:25 -0000
>     > >Received: (qmail 34298 invoked from network); 6 Oct 2000
>     > 16:08:24 -0000
>     > >Received: from fridge.oven.com (208.178.52.25)  by
>     > locus.apache.org with
>     > >SMTP; 6 Oct 2000 16:08:24 -0000
>     > >Received: from oven.com (unknown [207.176.147.70])by
>     > fridge.oven.com
>     > >(Postfix) with ESMTP id C41D43855Afor
>     > <tomcat-user@jakarta.apache.org>;
>     > >Fri,  6 Oct 2000 12:07:53 -0400 (EDT)
>     > >From tomcat-user-return-12524-reache Fri Oct 06 09:08:57
>     > 2000
>     > >Mailing-List: contact
>     > tomcat-user-help@jakarta.apache.org; run by ezmlm
>     > >Precedence: bulk
>     > >list-help: <mailto:tomcat-user-help@jakarta.apache.org>
>     > >list-unsubscribe:
>     > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>     > >list-post: <mailto:tomcat-user@jakarta.apache.org>
>     > >Delivered-To: mailing list tomcat-user@jakarta.apache.org
>     >
>     > >Sender: paul@oven.com
>     > >Message-ID: <39DDF8C8.7E7258C1@oven.com>
>     > >Organization: OVEN Digital
>     > >X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-9mdk
>     > i686)
>     > >X-Accept-Language: en
>     > >References:
>     > <6D6FC260AF16D011B60500A0C910DF76010D1697@pm7711.erv.de>
>     > ><003e01c02fa9$75778700$ea6810ac@psinetcs.com>
>     > <39DDF442.2ECFF2B@oven.com>
>     > >X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N
>     > >
>     > >It seems that each time I try to run a Servlet or JSP
>     > page, one of my
>     > >httpd processes crashes (segmentation fault), and that's
>     > why I get a
>     > >"Document contains no data" error.
>     > >
>     > >Please help!
>     > >
>     > >Paul Hoepfner-Homme wrote:
>     > > >
>     > > > Well, I followed what Andreas said and I managed to
>     > get Apache to run,
>     > > > and I can browse the Tomcat contexts (so that got set
>     > up right).  But
>     > > > when I try to execute any JSP page or any Servlet (any
>     > of the example
>     > > > ones that come with Tomcat) I get returned a "Document
>     > contains no data"
>     > > > error in Netscape.  Anyone know about this problem?
>     > > >
>     > > > I think I'm inching closer to getting Tomcat
>     > working... but just
>     > > > inching... :-/
>     > > >
>     > > > Thanks,
>     > > > Paul
>     > > >
>     > > > "Thomas T. Veldhouse" wrote:
>     > > > >
>     > > > > I never did any such thing and it works for me!  I
>     > do get the
>     > >jk_post_config
>     > > > > NULL message, but my JSPs work just fine.
>     > > > >
>     > > > > Tom Veldhouse
>     > > > > veldy@veldy.net
>     > > > >
>     > > > > ----- Original Message -----
>     > > > > From: "Stubenrauch,Andreas" <mex02@erv.de>
>     > > > > To: <tomcat-user@jakarta.apache.org>
>     > > > > Sent: Friday, October 06, 2000 10:00 AM
>     > > > > Subject: RE: Apache can't start with mod_jk
>     > > > >
>     > > > > > There is hidden mistery in mod_jk. You need to set
>     > the enviroment
>     > >variable
>     > > > > >
>     > > > > > WAS_BORN_BY_APACHE=true
>     > > > > >
>     > > > > > to make it work.
>     > > > > >
>     > > > > > Be sure to adjust worker.properties and server.xml
>     > as well (common
>     > > > > mistake)
>     > > > > >
>     > > > > > Regards,
>     > > > > > Andreas
>     > > > > >
>     > > > > > > -----Original Message-----
>     > > > > > > From: Paul Hoepfner-Homme
>     > [mailto:paulh@oven.com]
>     > > > > > > Sent: Friday, October 06, 2000 4:55 PM
>     > > > > > > To: tomcat-user@jakarta.apache.org
>     > > > > > > Subject: Apache can't start with mod_jk
>     > > > > > >
>     > > > > > >
>     > > > > > > Hi guys,
>     > > > > > >
>     > > > > > > I've put mod_jk.so (the one I compiled) into
>     > Apache's libexec dir,
>     > >and
>     > > > > > > made sure it was marked executable.  And I
>     > included the line
>     > > > > > > Include /usr/local/tomcat/conf/mod_jk.conf-auto
>     > > > > > > at the end of httpd.conf (which exists - Tomcat
>     > correctly
>     > > > > > > auto-generated
>     > > > > > > it).
>     > > > > > >
>     > > > > > > But when I restart Apache, I get the following
>     > message on the
>     > >screen:
>     > > > > > > jk_post_config NULL
>     > > > > > > and httpd doesn't start (it's not running when I
>     > check the
>     > >processes).
>     > > > > > >
>     > > > > > > There's nothing in the httpd log files or the
>     > mod_jk log file that
>     > > > > > > explains anything.  I'm using Tomcat 3.2 beta 4
>     > now.
>     > > > > > >
>     > > > > > > Sorry to be a pest...
>     > > > > > >
>     > > > > > > --
>     > > > > > > Paul Hoepfner-Homme
>     > > > > > > paulh@oven.com
>     > > > > > >
>     > > > > > > OVEN Digital | http://www.oven.com/
>     > > > > > >
>     > > > > >
>     > > >
>     > > > --
>     > > > Paul Hoepfner-Homme
>     > > > paulh@oven.com
>     > > >
>     > > > OVEN Digital | http://www.oven.com/
>     > >
>     > >--
>     > >Paul Hoepfner-Homme
>     > >paulh@oven.com
>     > >
>     > >OVEN Digital | http://www.oven.com/
>     >
>     >
>     > ________________________________________________________________________
>     >
>     > Get Your Private, Free E-mail from MSN Hotmail at
>     > http://www.hotmail.com.
>     >
>     > Share information about yourself, create your own public
>     > profile at
>     > http://profiles.msn.com.
>
>      --
>      Paul Hoepfner-Homme
>      paulh@oven.com
>
>      OVEN Digital | http://www.oven.com/
>
>
>
--
Paul Hoepfner-Homme
paulh@oven.com

OVEN Digital | http://www.oven.com/



Mime
View raw message