Re: how to run the startup script once

2005-06-14 Thread Torsten Foertsch
On Wednesday 15 June 2005 07:08, Foo Ji-Haw wrote: > Hi guys, > > I'm thinking of having Apache+modperl (not much modperl used) start up > services when Apache starts up. I did a simple test with PerlRequire and > I notice that at startup, the script is run 3 times. But I can possibly > start the s

Re: [mp2] how to install apache2::soap via activeperl

2005-06-14 Thread Randy Kobes
On Wed, 15 Jun 2005, Foo Ji-Haw wrote: > Hello Randy, > > Though I've not gotten it up yet, thanks for coming up with Apache2::SOAP! > > The link you gave > (http://sourceforge.net/mailarchive/forum.php?forum=soaplite-dev) seems > to be either mispelled or outdated. Sorry. Got a new one? Sorry ab

how to run the startup script once

2005-06-14 Thread Foo Ji-Haw
Hi guys, I'm thinking of having Apache+modperl (not much modperl used) start up services when Apache starts up. I did a simple test with PerlRequire and I notice that at startup, the script is run 3 times. But I can possibly start the same service (or run 3 instances of the service as some of

Re: Tied Apache::Session objects in AxKit::XSP::BasicSession

2005-06-14 Thread Perrin Harkins
On Mon, 2005-06-13 at 00:51 +0200, Kjetil Kjernsmo wrote: > To elaborate on some details from there, things go wrong when we > invalidate a session, as the session is supposed to be untied. However, > as described in the Camel Book (pp. 395), this can't happen because we > still have references

Re: [mp2] how to install apache2::soap via activeperl

2005-06-14 Thread Foo Ji-Haw
Hello Randy, Though I've not gotten it up yet, thanks for coming up with Apache2::SOAP! The link you gave (http://sourceforge.net/mailarchive/forum.php?forum=soaplite-dev) seems to be either mispelled or outdated. Sorry. Got a new one? I thought it would make sense to have Apache2::SOAP on i

Re: progress reporting

2005-06-14 Thread Perrin Harkins
On Tue, 2005-06-14 at 15:44 -0400, Arshavir Grigorian wrote: > Thanks. I tried doing the following, but it didn't seem to help. I > wonder if it has to do with using Apache::DBI. It does. This is my least favorite thing about Apache::DBI -- it overrides disconnect. > $r->pnotes('dbh')->disconne

Re: progress reporting

2005-06-14 Thread David Dick
Looks suspiciously like you are forking with an open database connection. Perhaps you should try closing the database connection before the fork and opening it directly after the fork. However, this of course means that you need to sort out any pending commits/rollbacks. Uru -Dave Arshavir

Re: Sessions in rc6+ ?

2005-06-14 Thread Ron Savage
Hi Jeffrey >On Sat, 2005-05-28 at 22:50 -0500, David Nicol wrote: >> > In this specific case, Apache::Session has that name mostly by >> > coincidence. It could be called Tie::Hash::Persistent or something >> > similar with no loss of accuracy. >> > >> > - Perrin >> >> or "DirDB" > >Or, quite pos

Re: progress reporting

2005-06-14 Thread Arshavir Grigorian
David Dick wrote: Looks suspiciously like you are forking with an open database connection. Perhaps you should try closing the database connection before the fork and opening it directly after the fork. However, this of course means that you need to sort out any pending commits/rollbacks.

Re: progress reporting

2005-06-14 Thread Torsten Foertsch
On Tuesday 14 June 2005 21:21, Arshavir Grigorian wrote: > >>I have some code that takes a long time to execute. What I would like to > >>do is to display several real time status messages on the user's browser > >>as the work is being done (Started doing A ... Done, Started doing B ... > >>Done, e

Re: progress reporting

2005-06-14 Thread Arshavir Grigorian
Perrin Harkins wrote: On Monday 23 May 2005 3:21 pm, Arshavir Grigorian wrote: I have some code that takes a long time to execute. What I would like to do is to display several real time status messages on the user's browser as the work is being done (Started doing A ... Done, Started doing B .

Re: Apache2::DBI

2005-06-14 Thread Philip M. Gollucci
The mp2 API being 'the darkness'? :) Besides compatibility with legacy code (which isn't an issue in my case), are there any benefits to maintaining the Apache namespace that I'm not considering? -Aaron Basically, Apache::* now means httpd 1.x and possibly httpd2.x; while Apche2::* means on

Re: [mp2] how to install apache2::soap via activeperl

2005-06-14 Thread Philippe M. Chiasson
Randy Kobes wrote: > On Tue, 14 Jun 2005, Foo Ji-Haw wrote: > >>Hi guys, >> >>[...] >> >>I use ActivePerl (on Windows), and it seems that I can't >>do a 'ppm install apache2-soap'; it's not on their library >>list. The current PPM/CPAN building system at ActiveState is not able to build modules t

t/report: 'make test' ERRORS on latest mod_perl HEAD on OSX 10.4.1

2005-06-14 Thread OpenMacNews
hi all, configure, make & install are all look generally pretty clean, but 'make test' shows some errors. here's the report; happy to help. cheers, richard -8<-- Start Bug Report 8<-- 1. Problem Description: % make test reports: ... 5 te

Re: problem with svn co ...

2005-06-14 Thread Philippe M. Chiasson
OpenMacNews wrote: > hi all, > > tho i admit my recent focus has not been on this list ... an attempt to > 'svn co' trunk w/: > >svn co https://svn.apache.org/repos/asf/perl/modperl/trunk/ > /usr/ports/mod_perl_svn > > is resultig a svn error of: > >Alib/ModPerl/FunctionMap.pm >

Re: problem with svn co ...

2005-06-14 Thread OpenMacNews
oops! --- "i've honestly come across this problem before" +++ "i've honestly NOT come across this problem before" r

[SOLVED] Re: problem with svn co ...

2005-06-14 Thread OpenMacNews
hi phillipe, thx 4 the reply =) is resultig a svn error of: Alib/ModPerl/FunctionMap.pm svn: In directory 'lib/ModPerl' svn: Can't open 'lib/ModPerl/WrapXS.pm.tmp': Too many open files i'm not seeing any such svn problems/errors on any other project's co, so wondering if its spec

Re: using stacked_handlers()

2005-06-14 Thread Arshavir Grigorian
Geoffrey Young wrote: Arshavir Grigorian wrote: Hello list, I am trying to use the stacked handlers functionality but cannot seem to get it working. What I have is the following 2 modules: package Test; use strict; sub handler { my $r = shift; $r->push_handlers(PerlResponseHandler =

Re: using stacked_handlers()

2005-06-14 Thread Geoffrey Young
Arshavir Grigorian wrote: > Hello list, > > I am trying to use the stacked handlers functionality but cannot seem to > get it working. What I have is the following 2 modules: > > package Test; > > use strict; > > sub handler { > my $r = shift; > > $r->push_handlers(PerlResponseHandle

using stacked_handlers()

2005-06-14 Thread Arshavir Grigorian
Hello list, I am trying to use the stacked handlers functionality but cannot seem to get it working. What I have is the following 2 modules: package Test; use strict; sub handler { my $r = shift; $r->push_handlers(PerlResponseHandler => 'Test1::handler'); return Apache2::Const:

Re: [mp2] how to install apache2::soap via activeperl

2005-06-14 Thread Randy Kobes
On Tue, 14 Jun 2005, Foo Ji-Haw wrote: > Hi guys, > > I'm not exactly new to modperl, but I'm thinking of having > Apache/mp2 host soap services rather than start up the > daemon via the command line. > > The latest ActivePerl comes only with Apache::SOAP. I > think this is not the right one for M

RE: Apache2::DBI

2005-06-14 Thread Aaron Scott
> -Original Message- > From: Adam Kennedy [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 07, 2005 10:43 PM > To: Philip M. Gollucci; mod_perl > Subject: Re: Apache2::DBI > > Indeed. > > All that might be needed is a small... > > =head1 COMPATIBILITY > > Apache::DBI is compatible with

RE: ModPerl 2.0.0 RC5: Not starting httpd in make test

2005-06-14 Thread ODELL, TODD E \(SWBT\)
Geoff, If I run the normal apachectl start as nobody I'm able to start the httpd. When I run the exact command below it seems to fail. It shows this: [Tue Jun 14 08:45:50 2005] [info] 6 Apache2:: modules loaded [Tue Jun 14 08:45:50 2005] [info] 0 APR:: modules loaded [Tue Jun 14 08:45:50 2005] [i

[mp2] how to install apache2::soap via activeperl

2005-06-14 Thread Foo Ji-Haw
Hi guys, I'm not exactly new to modperl, but I'm thinking of having Apache/mp2 host soap services rather than start up the daemon via the command line. The latest ActivePerl comes only with Apache::SOAP. I think this is not the right one for MP2. A search on CPAN shows a Apache2::SOAP, which

Re: using apache2::compat question

2005-06-14 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick Pietraniec schrieb: | The mod_perl1 module I have calls Apache::constants. | | This does not seem to be present on my server... After some digging I | found that the mod_perl2 equivalent is Apache2::Const | | Do I need to somehow install these