RE: FW: Apache::DBI Failed due to +GlobalRequest

2009-09-12 Thread Kulasekaran, Raja
Hi, Thanks for your mail. I did tried. It's not working . Below is my virtual host detail ServerAdmin kr...@netapp.com DocumentRoot "" ServerName ErrorLog CustomLog common SetEnv PERL5LIB " /lib/" setenv ORACLE_USERID setenv ORACLE_H

Re: FW: Apache::DBI Failed due to +GlobalRequest

2009-09-12 Thread André Warnier
Kulasekaran, Raja wrote: Hi, Thanks for your mail. I did tried. It's not working . Yes, I am sorry. I did not look close enough at the following error : [Thu Sep 10 14:39:30 2009] [error] Global $r object is not available. Set:\n\tPerlOptions +GlobalRequest\nin httpd.conf at /var/www/audashb

Re: FW: Apache::DBI Failed due to +GlobalRequest

2009-09-12 Thread Brad Van Sickle
I've run into this before. It's a bug in v1.07 of Apache::DBI Open up the Apache/DBI.pm source file (on one of my test systems it's installed in /usr/lib/perl5/site_perl/5.8.8/Apache/DBI.pm) aind the following block of code: / if (!$Rollback{$Idx}) { my $r; if (MP2) {

RE: FW: Apache::DBI Failed due to +GlobalRequest

2009-09-12 Thread Kulasekaran, Raja
Hi, Great. I guess this might solve the problem. I had found in one of the forum stating that we can write a handler which generates the "$r" global object before initiate the Apache::DBI connection . Is that possible ? . Otherwise, Shall I install Apache::DBI 1.06 instead of Ap

Re: Help -- how to fork an Apache process in mod_perl safely? Not Apache2:Subprocess...

2009-09-12 Thread Victor Danilchenko
William T wrote: There are all kinds of problems that you'll encounter and have to solve if you fork. I found it's better to call at(1) to start another seperate process immediatly. If you need to pass data JSON worked really well for me. Thanks, that's what I ended up doing. First I ended

Re: FW: Apache::DBI Failed due to +GlobalRequest

2009-09-12 Thread Adam Prime
Kulasekaran, Raja wrote: > Hi, > > Great. I guess this might solve the problem. > > I had found in one of the forum stating that we can write a handler > which generates the “$r” global object before initiate the Apache::DBI > connection . Is that possible ? . > > Otherwise, Shall I install