Re: Class::DBI::Factory and Apache::DBI don't play nice

[prev] [thread] [next] [Date index for 2004/11/20]

From: William Ross
Subject: Re: Class::DBI::Factory and Apache::DBI don't play nice
Date: 17:55 on 20 Nov 2004
On 19 Nov 2004, at 22:35, Alexander Gr=E4fe wrote:

> On Fri, Nov 19, 2004 at 10:34:46PM +0100, Alexander Gr=E4fe wrote:
>
> [account of how CDF and Apache::DBI don't work together]
>
> Typically, after sending that mail, and trying it again, it now also
> breaks without Apache::DBI.

The version of CDF that's on CPAN isn't up to date with Perrin's object=20=

cache. You need to add a:

$Class::DBI::Weaken_Is_Available =3D 0; 	# disables unique-object =
stash

to your startup.pl.

It also, separately, doesn't get on with Apache::DBI. I believe that's=20=

a general issue with Ima::DBI and Apache::DBI disagreeing about the=20
caching of handles and not something that I've introduced, but if=20
anyone would like to disagree I'd be delighted to fix it.

There is a new version of Class::DBI::Factory around here somewhere=20
that solves the first problem, at least, along with various=20
improvements to the Exception handler.

best

will


> =46rom what I could gather from reading the list archives, this =
happens=20
> if
> the db handle sticks around in a closure and doesn't go out of scope.
> Could it be HTML::Mason that interferes, since Mason uses some kind of
> compilation and caching?
>
> What's the best way to debug such a situation?
>
> Regards,
> 	Alexander Gr=E4fe

(message missing)

Class::DBI::Factory and Apache::DBI don't play nice
Alexander =?iso-8859-1?Q?Gr=E4fe?= 21:34 on 19 Nov 2004

Re: Class::DBI::Factory and Apache::DBI don't play nice
Alexander =?iso-8859-1?Q?Gr=E4fe?= 22:35 on 19 Nov 2004

Re: Class::DBI::Factory and Apache::DBI don't play nice
Alexander =?iso-8859-1?Q?Gr=E4fe?= 08:13 on 20 Nov 2004

Re: Class::DBI::Factory and Apache::DBI don't play nice
William Ross 17:55 on 20 Nov 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52