Stas,

That made it work!  Your my hero!.  That also made the script that accesses
Oracle work as well.  We've staved off the IIS beast for another day!

I'm not familiar with the testing stuff except when Doug had me run the
t/report thing..  I'm a CGI guy rather that an apache handler/C language
type.

The 250 was the built-in default value.  I  hadn't set anything related to
threads because I haven't read any of that yet.  Just trying to get things
basically working.  The high memory consumption and sluggish response may
have been aggravated by the missing directive and this machine only has
128MB memory.  It's running on my workstation that has many applications
open all the time.

Thanks for the help.

Chuck

----- Original Message -----
From: "Stas Bekman" <[EMAIL PROTECTED]>
To: "Chuck Goehring" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, April 23, 2002 8:53 PM
Subject: Re: startup for Apache 2.0/mod_perl 1.99


> Chuck Goehring wrote:
> > You're right.  I'm getting impatient and jumping ahead.  Pasted directly
> > from your post, restarted Apache and get same thing
> >
> > [Tue Apr 23 12:16:54 2002] [notice] Parent: Created child process 2560
> > [Tue Apr 23 12:16:58 2002] [notice] Child 2560: Child process is running
> > [Tue Apr 23 12:16:58 2002] [notice] Child 2560: Acquired the start
mutex.
> > [Tue Apr 23 12:16:58 2002] [notice] Child 2560: Starting 250 worker
threads.
> > [Tue Apr 23 12:17:46 2002] [error] 2560: ModPerl::Registry: `Can't call
> > method "args" on an undefined value at c:/perl/5.6.1/lib/CGI.pm line
433.
> >
> > It is referring to the IF statement:
> >    if ($MOD_PERL) {
> >        $query_string = Apache->request->args;
> >    } else {
> >        $query_string = $ENV{'QUERY_STRING'} if defined
$ENV{'QUERY_STRING'};
> >        $query_string ||= $ENV{'REDIRECT_QUERY_STRING'} if defined
> > $ENV{'REDIRECT_QUERY_STRING'};
> >    }
> I know what was missing.
>
> add 'PerlOptions +GlobalRequest', like so:
>
> <Location /perl>
>    SetHandler perl-script
>    PerlResponseHandler ModPerl::Registry
>    Options ExecCGI
>    PerlSendHeader On
>    PerlOptions +GlobalRequest
> </Location>
>
>
http://perl.apache.org/preview/modperl-docs/dst_html/docs/2.0/user/config/co
nfig.html#PerlOptions_Directive
> # GlobalRequest
> Setup the global request_rec for use with Apache->request
>
> Sorry for missing this one, I'm not used to it yet :)
>
> Also I'd like to repeat that the 2.0 test suite is the best place to
> learn how, before the docs will be completed.
>
> __________________________________________________________________
> Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
> http://stason.org/     mod_perl Guide ---> http://perl.apache.org
> mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
> http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to