DBI and Apache::DBI

2004-05-12 Thread I S
Hi all, I have some questions with DBI. a) I don't understand why the database sometimes gets dropped. It happens randomly but frequently. could not prepare: Database disconnected at /dssweb/httpd/cgi-bin/feeds/viewReport line 157. b) I built mod_perl and apache with EVERYTHING=1. Should

Re: DBI and Apache::DBI

2004-05-12 Thread Erik Scholtz, ArgonSoft GmbH
I S wrote: Hi all, I have some questions with DBI. a) I don't understand why the database sometimes gets dropped. It happens randomly but frequently. could not prepare: Database disconnected at /dssweb/httpd/cgi-bin/feeds/viewReport line 157. b) I built mod_perl and apache with EVERYTHING=1.

Re: ANNOUNCE: MasonX::WebApp 0.01

2004-05-12 Thread John Siracusa
From the docs: You must call clean_request_args() on the ApacheHandler object at the end of the request, unless you are making a new ApacheHandler object for every request. Otherwise bad things will happen. This is lame, so if someone thinks of a better way to do this, I'd be happy to hear

ANNOUNCE: MasonX::WebApp 0.02

2004-05-12 Thread Dave Rolsky
0.02 2004-05-12 - Fix a dumb syntax error that broke the session_wrapper() method. Reported by Michael Alan Dorman. -dave /*=== House Absolute Consulting www.houseabsolute.com ===*/ -- Report problems: http://perl.apache.org/bugs/ Mail list info:

Re: ANNOUNCE: MasonX::WebApp 0.01

2004-05-12 Thread Dave Rolsky
On Wed, 12 May 2004, John Siracusa wrote: You must call clean_request_args() on the ApacheHandler object at the end of the request, unless you are making a new ApacheHandler object for every request. Otherwise bad things will happen. This is lame, so if someone thinks of a better way to

Re: DBI and Apache::DBI

2004-05-12 Thread Perrin Harkins
On Wed, 2004-05-12 at 12:15, I S wrote: a) I don't understand why the database sometimes gets dropped. It happens randomly but frequently. could not prepare: Database disconnected at /dssweb/httpd/cgi-bin/feeds/viewReport line 157. Usually this is caused by an inactivity timeout on your

Re: DBI and Apache::DBI

2004-05-12 Thread I S
Apache::DBI comes with mod_perl, and you should see it in your site_perl directory. It is a pure perl module, so it would not be under an i386 directory (or whatever your architecture is). If you can do PerlModule Apache::DBI in your program without failure, it means that it is there in

Re: DBI and Apache::DBI

2004-05-12 Thread Brent 'Dax' Royal-Gordon
I S wrote: Sorry for being unclear. I mean Apache subdirectory under site_perl directory. I can seee Registry.pm under .../site_perl/5.8.3/sun4-solaris/Apache directory. (Apache::Registry) I would expect DBI in the same directory but it is not there. I figured that out after it gave me an

Re: DBI and Apache::DBI

2004-05-12 Thread Perrin Harkins
On Wed, 2004-05-12 at 14:32, I S wrote: Sorry for being unclear. I mean Apache subdirectory under site_perl directory. I can seee Registry.pm under .../site_perl/5.8.3/sun4-solaris/Apache directory. (Apache::Registry) I would expect DBI in the same directory but it is not there. That's

Re: DBI and Apache::DBI

2004-05-12 Thread I S
Thanks, Guys, I ended upinstalling Apache::DBI from CPAN and it isunder /home/dssweb/local-perl/lib/site_perl/5.8.3. I was mistaken that Apache::DBI would come with apache. Event though it was, for some reason it didn't get installed. Anyways, it is working now. Cheers, Isarin Perrin Harkins

Re: ANNOUNCE: MasonX::WebApp 0.01

2004-05-12 Thread John Siracusa
On 5/12/04 12:30 PM, Dave Rolsky wrote: On Wed, 12 May 2004, John Siracusa wrote: You must call clean_request_args() on the ApacheHandler object at the end of the request, unless you are making a new ApacheHandler object for every request. Otherwise bad things will happen. This is lame, so

Re: ANNOUNCE: MasonX::WebApp 0.01

2004-05-12 Thread Dave Rolsky
On Wed, 12 May 2004, John Siracusa wrote: I hope to make ApacheHandler a little less self-contained in the next major release (1.4), but for now I'm stuck with nasty hacks. ...which begs the question, why not use an interp in MasonX::WebApp instead of trying to wedge in behind Mason's

ANNOUNCE: MasonX::WebApp 0.04

2004-05-12 Thread Dave Rolsky
0.04 2004-05-13 - Calling clean_request_args() on the ApacheHandler object at the end of the request is no longer needed. Thanks to Ken Williams for suggesting that I use $r-pnotes(). But why didn't I think of that? -dave /*=== House Absolute Consulting

cvs commit: modperl-2.0/xs/Apache/Filter Apache__Filter.h

2004-05-12 Thread stas
stas2004/05/12 11:54:15 Modified:xs/Apache/Filter Apache__Filter.h Log: tidy up Revision ChangesPath 1.37 +21 -21modperl-2.0/xs/Apache/Filter/Apache__Filter.h Index: Apache__Filter.h ===

cvs commit: modperl-2.0/src/modules/perl modperl_util.h

2004-05-12 Thread stas
stas2004/05/12 18:33:52 Modified:src/modules/perl modperl_util.h Log: explain why we always copy the string Revision ChangesPath 1.60 +7 -2 modperl-2.0/src/modules/perl/modperl_util.h Index: modperl_util.h

cvs commit: modperl-2.0/src/modules/perl modperl_filter.c

2004-05-12 Thread stas
stas2004/05/12 18:45:30 Modified:src/modules/perl modperl_filter.c Log: - better tracing (show the actual data as in modperl_io_apache.c) - extra comments Revision ChangesPath 1.89 +28 -17modperl-2.0/src/modules/perl/modperl_filter.c Index: