Re: Persistent Net::Telnet Objects in Apache2/mod_perl2

2002-07-15 Thread Stas Bekman
French, Shawn wrote: > Stas Bekman wrote: > >>It seems that you are after the same functionality as Apache::DBI, you >>want a pool of items that you want to be able to choose from. >>Look for threads::shared (perl 5.8.0), just create a shared hash with >>keys that you use for the map and the v

Re: TIPool / multiple database connections

2002-07-15 Thread Stas Bekman
Perrin Harkins wrote: > Elizabeth Mattijsen wrote: > >> Hmm... but you won't be able to "fetch" the $dbh from the thread. It >> can only live in _that_ thread. You cannot "pass" objects between >> threads. But you _can_ send queries to that thread, fetch a jobid for >> that job and then obt

Re: END subroutine in Apache::Registry

2002-07-15 Thread Stas Bekman
Hi Jim, > The documentation is neither unclear nor confusing. However, the > implication was not obvious (well... not obvious enough) when I first read > this section three years ago. If you're sincere about wanting > suggestions, here's mine: of course :) > In addition to understanding the b

Re: sql-relay

2002-07-15 Thread Perrin Harkins
Richard Clarke wrote: > I mean in the case of the database crashing and being able to switch > to a replicated backup system. That's trivial to implement if it happens during connect time. You can simply keep a list of databases to try, and if one fails you go on to the next. This approach

Re: END subroutine in Apache::Registry

2002-07-15 Thread Jim Schueler
Hi Stas. The documentation is neither unclear nor confusing. However, the implication was not obvious (well... not obvious enough) when I first read this section three years ago. If you're sincere about wanting suggestions, here's mine: In addition to understanding the behavior of END blocks i

Re: TIPool / multiple database connections

2002-07-15 Thread Perrin Harkins
Elizabeth Mattijsen wrote: > Hmm... but you won't be able to "fetch" the $dbh from the thread. It > can only live in _that_ thread. You cannot "pass" objects between > threads. But you _can_ send queries to that thread, fetch a jobid for > that job and then obtain whatever was returned as a

RE: Persistent Net::Telnet Objects in Apache2/mod_perl2

2002-07-15 Thread French, Shawn
Stas Bekman wrote: > It seems that you are after the same functionality as Apache::DBI, you > want a pool of items that you want to be able to choose from. > Look for threads::shared (perl 5.8.0), just create a shared hash with > keys that you use for the map and the values for the actual conn

Re: TIPool / multiple database connections

2002-07-15 Thread Elizabeth Mattijsen
At 01:14 AM 7/16/02 +, Stas Bekman wrote: >>Hmmm... I guess you're right. I hadn't thought of applying Thread::Pool >>in this situation, but it sure makes sense. This would however imply >>that jobs would be submitted from different threads. That _should_ work, >>but I just realised tha

[JOB] Apache/Perl/Java Developer Available

2002-07-15 Thread Aaron Ross
Hi all, I am currently seeking gainful employement in the San Diego, CA area. I'm interested in full-time or contract employement. I have lots of experience with Apache/mod_perl, databases and software design. Although I'm ashamed to admit it here, I do have experience with some other p

[DIGEST] mod_perl digest 2002/06/24

2002-07-15 Thread jgsmith
-- mod_perl digest June 24, 2002 - July 14, 2002 -- Recent happenings in the mod_perl world... Features o

Re: duplicate output with Registry.pm

2002-07-15 Thread Stas Bekman
Eric Frazier wrote: > Hi, > > I know this is a FAQ sort of question, but I can't find it in the faq > and I am going nuts. Like I know I know the answer to this, but I just > can't get it back in my head. Any output under Registry.pm gets > duplicated. One page = two doubled pages. I am using

duplicate output with Registry.pm

2002-07-15 Thread Eric Frazier
Hi, I know this is a FAQ sort of question, but I can't find it in the faq and I am going nuts. Like I know I know the answer to this, but I just can't get it back in my head. Any output under Registry.pm gets duplicated. One page = two doubled pages. I am using CGI::Application and HTML::Templ

Re: Persistent Net::Telnet Objects in Apache2/mod_perl2

2002-07-15 Thread Stas Bekman
French, Shawn wrote: > Hey everyone, > > It's me again... the persistent telnet mod_perl newbie! > (http://msgs.securepoint.com/cgi-bin/get/apache0205/204.html) > > I have implemented my project using persistent telnet connections (one for > each user session accessible throught the session to p

Re: sql-relay

2002-07-15 Thread Richard Clarke
Perrin Harkins wrote: > Richard Clarke wrote: > >>I came across http://www.firstworks.com/sqlrelay.html the other >> day. Have any of you come across this product before. > > > It's been discussed here before (see the archives) but no one has > talked about any real experience with it yet.

Re: sql-relay

2002-07-15 Thread Perrin Harkins
Richard Clarke wrote: >I came across http://www.firstworks.com/sqlrelay.html the other day. > Have any of you come across this product before. It's been discussed here before (see the archives) but no one has talked about any real experience with it yet. Try it out and tell us what you fi

sql-relay

2002-07-15 Thread Richard Clarke
List, I came across http://www.firstworks.com/sqlrelay.html the other day. Have any of you come across this product before. With the whole problem of providing seemless recovery at the "client" side from database failure this tool seems quite productive. I've not used it but figured maybe

Re: TIPool / multiple database connections

2002-07-15 Thread Stas Bekman
Elizabeth Mattijsen wrote: > At 12:18 AM 7/16/02 +, Stas Bekman wrote: > >> ...A few folks at p5p are creating a bunch of new modules around >> threads:: and threads::shared::, just yesterday a new module: >> Thread::Pool was released by Elizabeth Mattijsen. Which seems to be >> what's nee

Persistent Net::Telnet Objects in Apache2/mod_perl2

2002-07-15 Thread French, Shawn
Hey everyone, It's me again... the persistent telnet mod_perl newbie! (http://msgs.securepoint.com/cgi-bin/get/apache0205/204.html) I have implemented my project using persistent telnet connections (one for each user session accessible throught the session to perform various functions through te

Re: TIPool / multiple database connections

2002-07-15 Thread Elizabeth Mattijsen
At 12:18 AM 7/16/02 +, Stas Bekman wrote: >...A few folks at p5p are creating a bunch of new modules around threads:: >and threads::shared::, just yesterday a new module: Thread::Pool was >released by Elizabeth Mattijsen. Which seems to be what's needed for >Apache::DBITPool. Hmmm... I gu

Re: TIPool / multiple database connections

2002-07-15 Thread Stas Bekman
Tim Keefer wrote: > I need to have several database connections within one modperl > application (sharing the connections across all modules would ideal). > Could anyone suggest a way to cache these connection with > Apache2/modperl2 on win32? > The modperl2 docs talk about a TIPool module al

Re: Try to tie STDERR -> Thanks

2002-07-15 Thread Bartlomiej Frackiewicz
Hi Geoff, funny thing is that i have already the book here, so my teacher was right: we must read more books :-) bye bartlomiej -Ursprüngliche Nachricht- Von: Geoffrey Young [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 15. Juli 2002 17:36 An: Bartlomiej Frackiewicz Cc: [EMAIL PROTECTED

RE: File upload fails when size exceeds 67k bytes

2002-07-15 Thread Charles
Under the 1.x version of mod_perl, the tecnique for increasing the POST size is: use Apache::Request; handler { my $r = shift; my $apr = Apache::Request->new($r, POST_MAX=>(1000*1024)); } (see http://perl.apache.org/docs/1.0/guide/snippets.html#Using_DESTROY_to_Finaliz e_Output) I have b

TIPool / multiple database connections

2002-07-15 Thread Tim Keefer
I need to have several database connections within one modperl application (sharing the connections across all modules would ideal). Could anyone suggest a way to cache these connection with Apache2/modperl2 on win32? The modperl2 docs talk about a TIPool module along with a DBIPool module. H

Re: Try to tie STDERR

2002-07-15 Thread Geoffrey Young
Bartlomiej Frackiewicz wrote: > Hi, > > sorry for my offtopic posting but i haven't found a general perl mailinglist (with >some traffic). > > i want to spy my mod_perl/batch programs, in some case they write an error to STDERR >i want to send an email to me. > > So i wrote Log.pm which ha

Re: File upload fails when size exceeds 67k bytes

2002-07-15 Thread Ged Haywood
Hi there, On Mon, 15 Jul 2002, Ian Colin Jones wrote: > all works fine, until the file size exceeds 67,066 bytes. I think it might be POST_MAX in CGI.pm. 73, Ged.

Re: Try to tie STDERR

2002-07-15 Thread Honza Pazdziora
On Mon, Jul 15, 2002 at 05:17:35PM +0200, Bartlomiej Frackiewicz wrote: > > sorry for my offtopic posting but i haven't found a general perl mailinglist (with >some traffic). > > i want to spy my mod_perl/batch programs, in some case they write an error to STDERR >i want to send an email to me

Try to tie STDERR

2002-07-15 Thread Bartlomiej Frackiewicz
Hi, sorry for my offtopic posting but i haven't found a general perl mailinglist (with some traffic). i want to spy my mod_perl/batch programs, in some case they write an error to STDERR i want to send an email to me. So i wrote Log.pm which has tie functions for handlers, but this doesnt wor

File upload fails when size exceeds 67k bytes

2002-07-15 Thread Ian Colin Jones
Hi, I am running Apache 1.3 on OpenVMS V7.2-1H1. When I upload files to my server all works fine, until the file size exceeds 67,066 bytes. My CGI is written in Perl 5.6. I have searched my Apache documentation looking for a limiting directive in my httpd.conf file, with no success. Changing

Re: ANNOUNCE: Perl 5.8.0 Release Candidate 3

2002-07-15 Thread The Doctor
On Mon, Jul 15, 2002 at 06:12:27AM +0200, Lupe Christoph wrote: > (Removed [EMAIL PROTECTED], this has nothing to > do with TT.) > > Please submit perl 5.8.0 RC build failures to perl5porters. > Use perlbug to do this if you can. (Looks like this failure > prevents the use of perlbug.) If you can

Re: Accessing mod_ssl information from mod_perl(2) modules

2002-07-15 Thread Stas Bekman
[...] > What I want is to discover the SSL client certificate serial, which > is available in the subprocess_env in the ResponseHandler phase, but > not this early in the request. There's also a test of the mod_ssl > FakeBasicAuth option, which incidentally appears not to work with > mod_per