Praveen Ray wrote:
Does anyone have any experience of using clearsilver
(http://www.clearsilver.net) with mod_perl (1 or 2)?
I remember talking to the author at one point.
Any comparisons of this with Template-Toolkit?
It will be less flexible (no simple handling of objects or complex
stru
Hi
Does anyone have any experience of using clearsilver
(http://www.clearsilver.net) with mod_perl (1 or 2)?
Any comparisons of this with Template-Toolkit? The
Template-Toolkit is getting rather slow for our needs and
I'm looking around for alternatives.
thanks
- Praveen
_
ODELL, TODD E (SWBT) wrote:
[...]
Is there another why to run this to show more detail of what's going on?
try to run the equivalent of strace on AIX and see where it hangs.
One reason could be the lack of entropy:
http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html#Serve
The code that triggers the bug use Apache::Session::File, on an NFS
share. Have anyone had problem with that? Do I have some special
configuration to give to A::S::File to help it behave correctly on an
NFS share?
I have never used A::S::File over NFS share, but from what I heard, NFS
locking
I use Apache::StatINC
It works fine for me, I haven't noticed needing to restart with it
Except you have two modules A and B, where A's BEGIN block depends on B's
BEGIN block being executed beforehand, and you only change module A. In that
case you definitely must restart.
Got bitten by th
>>Exactly. IS there an an equivilant in MP1?
>
>
> Not exacrly, but pretty close.
>
> blocks are evaluated in the Apache::ReadConfig:: namespace. Anything
> you place
> in there will be handled by the block handler.
which is exactly what the Apache::ReverseLocation code I sent does, so look
Guess that doesn't help with Apache2, sorry should have looked closer :(
Boysenberry
boysenberrys.com | habitatlife.com | selfgnosis.com
On Aug 17, 2005, at 4:44 PM, Boysenberry Payne wrote:
I use Apache::StatINC
It works fine for me, I haven't noticed needing to restart with it
Boysenberry
ODELL, TODD E (SWBT) wrote:
Thanks for the quick reply. I just realized that even when I run export
APACHE_TEST_STARTUP_TIMEOUT=420 ( or any other value) it uses the
default 300. Shouldn't the command export
./t/TEST -help
[snip]
-startup_timeout
seconds to wait for the server to start (default
I use Apache::StatINC
It works fine for me, I haven't noticed needing to restart with it
Boysenberry
boysenberrys.com | habitatlife.com | selfgnosis.com
On Aug 17, 2005, at 4:33 PM, Philip M. Gollucci wrote:
Justin Luster wrote:
So are you saying that a graceful restart is the only real answ
Justin Luster wrote:
So are you saying that a graceful restart is the only real answer?
I've noticed, when doing a lot of development, that Apache::Reload
doesn't always work when it picks up the change. I end up getting
something I needed undefined in another module or something odd like
So are you saying that a graceful restart is the only real answer?
-Original Message-
From: Jonathan Vanasco [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 17, 2005 2:23 PM
To: mod_perl List
Subject: Re: Clear Registry
I've noticed, when doing a lot of development, that Apache::Reloa
I've noticed, when doing a lot of development, that Apache::Reload
doesn't always work when it picks up the change. I end up getting
something I needed undefined in another module or something odd like
that, and end up with a graceful restart
On Aug 17, 2005, at 4:36 PM, Philip M. Golluc
Thanks for the quick reply. I just realized that even when I run export
APACHE_TEST_STARTUP_TIMEOUT=420 ( or any other value) it uses the
default 300. Shouldn't the command export
APACHE_TEST_STARTUP_TIMEOUT=420 set it for the test?
I edited the ModPerl::TestRun from 300 to 600 to see if that would
Philip M. Gollucci wrote:
> Justin Luster wrote:
>
>> No I was not using Modperl::RegistryCooker. I guess I will have to
>> "use" it.
>>
>> In Mod_Perl my "library" files get loaded into memory. If I want to
>> make a change to the "library" file (one that my main.pl file
>> "requires") I cannot
Justin Luster wrote:
No I was not using Modperl::RegistryCooker. I guess I will have to
"use" it.
In Mod_Perl my "library" files get loaded into memory. If I want to
make a change to the "library" file (one that my main.pl file
"requires") I cannot since it is in memory or cache. To get it to
No I was not using Modperl::RegistryCooker. I guess I will have to
"use" it.
In Mod_Perl my "library" files get loaded into memory. If I want to
make a change to the "library" file (one that my main.pl file
"requires") I cannot since it is in memory or cache. To get it to
realize the update I u
Justin Luster wrote:
> I tried this and I get:
>
> Can't locate object method: "cache_table_common".
Are you calling it as Modperl::RegistryCooker->uncache_myself()?
What is the _exact_ error message ?
But more interestingly, what exactly are you triyng to do that
requires you to clean the cach
Martin Moss wrote:
> All,
>
> We're in the middle of centralising our apache (1.3)
> config files and I would like to use mod_define to
> simplify the process. However I've noticed that
> mod_define isn't available for apache2.
>
> Is there an alternative I can use, or is mod_define's
> function
Christopher H. Laco wrote:
> Philippe M. Chiasson wrote:
>
>> A sample example of what I _think_ you are trying to do would look like:
>>
>>
>> PerlModule Catalyst
>>
>>
>>
>> package Catalyst;
>> use Apache2::ServerUtil qw();
>>
>> [... figure out where/what to configure ...]
>>
>> Apache2::Se
Markus Wolf wrote:
> Hallo,
>
> I'm writing my first Apache 2 - Filter yesterday - it works fine,
> but i have one problem with caching.
>
> This is my conf-entry
>
> PerlOutputFilterHandler ApacheMY::session
>
>
>
> my problem is, that the filter only work, when I save or "touch"
> the html-
The last set of errors are happening on my OSX box.
I get a different set of errors on our Linux server when it restarts:
[Sun Feb 13 01:00:00 2000] null: Attempt to free unreferenced scalar.
...
I get a whole mess of those, then I get:
Scalars leaked: 234
I'm not sure how to go about fixing t
When I restart apache I get the following errors on child processes:
child process 424 did not exit, sending another SIGHUP
One for each child process. After the above I get:
SIGHUP received. Attempting to restart
I'm using mod_perl 1.26 and apache 1.3.33 (only happens with my
mod_perl scri
I tried this and I get:
Can't locate object method: "cache_table_common".
Thanks,
Justin
-Original Message-
From: Philip M. Gollucci [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 17, 2005 11:05 AM
To: Justin Luster
Cc: modperl@perl.apache.org
Subject: Re: Clear Registry
Justin Lus
Justin Luster wrote:
Is there a way in Perl code to clear out the cached code in the registry?
From lib/Modperl-Registry/lib/Modperl/RegistryCooker.pm:
#
# this is a function should be called from the registry script, and
Is there a way in Perl code to clear out the cached code in
the registry?
Perrin Harkins wrote:
Malcolm J Harwood wrote:
Somehow I managed to miss the existence of DBI::Profile. Has anyone
gotten this working with Apache::DBI (so that it aggregates across the
entire lifetime of the DB connection)?
Just use DBI::ProfileDumper::Apache.
I don't believe thats been p
ODELL, TODD E (SWBT) wrote:
to start. I unpacked and compiled as my userid, not root, and am able to
start the httpd directly as that userid. With the
APACHE_TEST_STARTUP_TIMEOUT=420 this is what is get from make test:
I believe whats happening here is that because you are testing the
threaded v
Mod_perl: 2.0.1
OS: AIX4.3.3
-8<-- Start Bug Report 8<--
1. Problem Description:
I'm able to compile with IBM VAC 4.4.0.3 with no problem but the make
test fails to even start the tests. It timeouts waiting for the server
to start. I unpack
Yes, thx you
Cure
-Original Message-
From: Perrin Harkins [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 17, 2005 12:04 PM
To: Paul Harrison
Cc: modperl@perl.apache.org
Subject: Re: APR
Paul Harrison wrote:
> Hi All, I thought the APR module was use for ==> to load mod_perl2
> out
Paul Harrison wrote:
Hi All, I thought the APR module was use for ==> to load mod_perl2
outside of Apache(command line). I'm lost when I see modules like ==>
use APR::Table () inside of Apache(not the command line)
The APR (Apache Portable Runtime) is an abstraction layer that provides
porta
Hi All, I thought the APR module was use for ==> to load
mod_perl2 outside of Apache(command line). I'm lost when I see modules like
==> use APR::Table () inside of Apache(not the command line)
Please Explain, thxs
Cure
Malcolm J Harwood wrote:
Somehow I managed to miss the existence of DBI::Profile. Has anyone gotten
this working with Apache::DBI (so that it aggregates across the entire
lifetime of the DB connection)?
Just use DBI::ProfileDumper::Apache.
- Perrin
> >You can look at the tuning information on http://modperlbook.org/ for
> >some advice as well. And don't forget that there is a profiler for DBI
> >queries that comes with DBI.
Somehow I managed to miss the existence of DBI::Profile. Has anyone gotten
this working with Apache::DBI (so that it
Title: Training recommendations?
Any recommendations for Apache/Mod_perl training? My company is exploring the possibility that we would suitcase a week of such instruction on site.
Thanks,
Christian Werner
Gunnar Koppel wrote:
>
> I can't find a flaw in my conf. I am trying to conf some location act
> under PerlRun or Registry, but my test-script prints in %ENV still:
>
> GATEWAY_INTERFACE: CGI/1.1
this is no longer the place to look in mp2
> MOD_PERL: mod_perl/2.0.1
look here instead :)
--Ge
Philippe M. Chiasson wrote:
> Benoit Caron wrote:
>
>>Hello.
>>
>>I'm having trouble with a new setup on a RedHat Entreprise Linux 4 box.
>>The problem is that whenever there is perl code that fork to execute
>>something, the apache child hang.
>
>
> Have you read:
>
> http://perl.apache.org/do
I can't find a flaw in my conf. I am trying to conf some location act
under PerlRun or Registry, but my test-script prints in %ENV still:
GATEWAY_INTERFACE: CGI/1.1
I added in apache2.conf such lines:
___
Alias /adm /home/xyz/adm
Alias /adm2 /home/xyz/adm
SetHandler perl-script
All,
We're in the middle of centralising our apache (1.3)
config files and I would like to use mod_define to
simplify the process. However I've noticed that
mod_define isn't available for apache2.
Is there an alternative I can use, or is mod_define's
functionality now core to mod_perl2?
Regards
> I don't know it's even possible in mysql. Its reference docs doesn't say
> that it is (http://dev.mysql.com/doc/mysql/en/join.html).
>
Yes it does :
http://dev.mysql.com/doc/mysql/en/identifier-qualifiers.html
Hmmm... Excellent!!! I'll use it then...Will let you know how it goes...
Thanks
> I don't know it's even possible in mysql. Its reference docs doesn't say
> that it is (http://dev.mysql.com/doc/mysql/en/join.html).
>
Yes it does :
http://dev.mysql.com/doc/mysql/en/identifier-qualifiers.html
Clinton
Hallo,
I'm writing my first Apache 2 - Filter yesterday - it works fine,
but i have one problem with caching.
This is my conf-entry
PerlOutputFilterHandler ApacheMY::session
my problem is, that the filter only work, when I save or "touch"
the html-file again - the filter seems to cache the ou
41 matches
Mail list logo