Re: Database handle destroyed.....

2004-05-07 Thread Mark A. Downing
On Fri, 7 May 2004, Stas Bekman wrote: > Ah, now I understand. Thanks. Which version Mark is using? I'm running 1.99_12. _13 didn't work for me. I too struggled with Apache::DBI. If there is something I can do to help, please let me know. I am a little late to the party, so I'm not sure of what

Re: Database handle destroyed.....

2004-05-07 Thread Stas Bekman
Hulya Gurer wrote: Since everything was working on old versions I wanted to lower the mod_perl to 08, but I can't anyway, so I am not lowering the mod_perl, but Mark's patch didn't work, we tried it and still get the same thing. Ah, now I understand. Thanks. Which version Mark is using? At 04:03

Re: Database handle destroyed.....

2004-05-07 Thread Hulya Gurer
Since everything was working on old versions I wanted to lower the mod_perl to 08, but I can't anyway, so I am not lowering the mod_perl, but Mark's patch didn't work, we tried it and still get the same thing. H. At 04:03 PM 5/7/2004, Stas Bekman wrote: Hulya Gurer wrote: Mark, thanks for the c

Re: Database handle destroyed.....

2004-05-07 Thread Stas Bekman
Hulya Gurer wrote: Mark, thanks for the code. I am not sure why but it didn't work for us. It could be the versions of everything we are on now. Unfortunately I can not lower the version of mod_perl-1.99.13 to .08 , Hulya, why do you need to downgrade to .08? Have you actually tried to patch

Re: Database handle destroyed.....

2004-05-07 Thread Hulya Gurer
Mark, thanks for the code. I am not sure why but it didn't work for us. It could be the versions of everything we are on now. Unfortunately I can not lower the version of mod_perl-1.99.13 to .08 , because it conflicts with any version of Apache with Perl 5.8.3 and the apache does not get star

Re: Transactions corruption and persistent connections

2004-05-07 Thread Perrin Harkins
On Fri, 2004-05-07 at 17:03, Hans Poo R. wrote: > Fosis::handler is the main Dispatcher of the dynamic content. It can use the > database handler via a Global variable $dbh It's not a good practice to put a database handle in a global. Apache::DBI does it, but it also pings the handle before usin

Re: Apache::SmallProf

2004-05-07 Thread Stas Bekman
Jens Gassmann wrote: Hi, i try to profile my mod_perl script. I setup Apache::SmallProf at my apache2 server. *add to my httpd.conf:* use Apache::DB (); Apache::DB->init; PerlFixupHandler Apache::SmallProf *and starts the apache2 -X * [notice] Apache::DB initialized in child 25276

Apache::SmallProf

2004-05-07 Thread Jens Gassmann
Hi, i try to profile my mod_perl script. I setup Apache::SmallProf at my apache2 server. *add to my httpd.conf:* use Apache::DB (); Apache::DB->init; PerlFixupHandler Apache::SmallProf *and starts the apache2 -X * [notice] Apache::DB initialized in child 25276 *now i try to open a

Re: Howto use emacs and perldb to debug mod_perl?

2004-05-07 Thread Paul G. Weiss
On Thu, 06 May 2004 12:22:49 -0700, Stas Bekman <[EMAIL PROTECTED]> wrote: If someone can write a section explaining how to do that properly, I think it'll be a great addition to our docs. Just post the pod here and I'll add it. Thanks. OK, I'm not exactly a hand at writing pod but I had a g

Re: Transactions corruption and persistent connections

2004-05-07 Thread Hans Poo R.
Perrin I have an InitHandler in a Files section (in order to promote perl i put this extension to the files). PerlInitHandler General::init_dbk SetHandler perl-script PerlHandler Fosis Fosis::handler is the main Dispatcher of the dynamic content. It can use the database handler

Re: [Patch mp2] Fix api/module test to pass on static builds

2004-05-07 Thread Geoffrey Young
>>>Actually, I can't think of a good reason why checking for 'module.so' and not >>>'module.c' would make sense. >> >> >>Hmm, may be someone will want to know that it was loaded as DSO. > > > Yeah, I can't think really why, but that's what .so would be for. really? http://marc.theaimsgroup.com

Re: [MP2] sharing between threads using mpm_worker.

2004-05-07 Thread Stas Bekman
Richard F. Rebel wrote: Hello, I am experimenting here and I am curious about something. Is it possible to share a variable using threads::shared between perl interpreter threads in mod_perl? These being the interpreters started when a parent starts. Eg: use threads::shared; my $sharedVar = "b

[MP2] sharing between threads using mpm_worker.

2004-05-07 Thread Richard F. Rebel
Hello, I am experimenting here and I am curious about something. Is it possible to share a variable using threads::shared between perl interpreter threads in mod_perl? These being the interpreters started when a parent starts. Eg: use threads::shared; my $sharedVar = "bleh"; sub handler : m

Re: mp2 static build on HPUX11i: tests

2004-05-07 Thread Stas Bekman
2) the rest of the tests fail on $ENV{REMOTE_ADDR} and $r->remote_address returning 0.0.0.0 instead of 127.0.0.1. Sounds like an ipv6 issue to me. but since all those running ipv6 didn't report that problem that sounds as either a bug in Apache on HPUX11i or some OS issues. Olivier, could

Re: Database handle destroyed.....

2004-05-07 Thread Frank Wiles
On Fri, 07 May 2004 09:49:13 -0700 Hulya Gurer <[EMAIL PROTECTED]> wrote: > > Actually everything works with Perl 5.8.0 mod_perl 1.99.08 gcc 2.95.3 > configuration, > this error showed up after we upgraded one of our server to perl > 5.8.3, mod_1.99.13, gcc.295.3 > > H. > > > At 07:33 AM 5/7/

Re: Database handle destroyed.....

2004-05-07 Thread Hulya Gurer
Actually everything works with Perl 5.8.0 mod_perl 1.99.08 gcc 2.95.3 configuration, this error showed up after we upgraded one of our server to perl 5.8.3, mod_1.99.13, gcc.295.3 H. At 07:33 AM 5/7/2004, Frank Wiles wrote: On Thu, 06 May 2004 19:00:46 -0700 Stas Bekman <[EMAIL PROTECTED]> wrote

Re: Database handle destroyed.....

2004-05-07 Thread Frank Wiles
On Fri, 7 May 2004 09:31:44 -0700 (PDT) "Mark A. Downing" <[EMAIL PROTECTED]> wrote: > On Fri, 7 May 2004, Frank Wiles wrote: > > > Well the source leads me to believe they already know it doesn't > > work with mp2. To quote it "TODO - Should check for mod_perl 2 > > and do the right thing

Re: Database handle destroyed.....

2004-05-07 Thread Mark A. Downing
On Fri, 7 May 2004, Frank Wiles wrote: > Well the source leads me to believe they already know it doesn't work > with mp2. To quote it "TODO - Should check for mod_perl 2 and do > the right thing there". I made some changes to make Apache-DBI work with mod_perl2 a few months ago. It works

[ANNOUNCE] Apache-AuthenNTLM-2.07

2004-05-07 Thread Shannon Eric Peevey
The uploaded file Apache-AuthenNTLM-2.07.tar.gz has entered CPAN as file: $CPAN/authors/id/S/SP/SPEEVES/Apache-AuthenNTLM-2.07.tar.gz size: 55379 bytes md5: 27c2f1126cabef88f16cf349931acc4d This release fixes the lazy finger problem in the previous module. (Thanks for catching it Dan Roe

Re: Database handle destroyed.....

2004-05-07 Thread Frank Wiles
On Thu, 06 May 2004 19:00:46 -0700 Stas Bekman <[EMAIL PROTECTED]> wrote: > Hulya Gurer wrote: > > > > Sorry Stas, here it's. > > > > We are already using Apache::DBI->connect_on_init() and there are > > not many accesses > > to the database at this point that concern more than one connection. >

Re: mp2 static build on HPUX11i: tests

2004-05-07 Thread olivier . blanc
Hey Stas, Stas Bekman <[EMAIL PROTECTED]> 04/05/2004 19:38                 Pour :        [EMAIL PROTECTED], mod_perl Mailing List <[EMAIL PROTECTED]>, "Philippe M. Chiasson" <[EMAIL PROTECTED]>         cc :                 Objet :        Re: mp2 static build on HPUX11i: tests >2) the

Re: Callback called exit.

2004-05-07 Thread Glenn
On Thu, May 06, 2004 at 10:55:14AM -0600, Brian Hirt wrote: > > On May 6, 2004, at 10:27 AM, Perrin Harkins wrote: > > >On Wed, 2004-05-05 at 22:11, Brian Hirt wrote: > >>I've been running across a problem lately where a child process > >>terminates because of an out of memory error. It prints