-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925151
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
----- Original Message -----
From: "Angus Lees" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 10, 2001 12:10 AM
Subject: Re: HTTP 500s using EmbperlObject
> On Wed, Jan 10, 2001 at 08:18:51AM +1100, Gavin Carr wrote:
> > I'm getting intermittent system errors on several (all?) of my
> > EmbperlObject pages. The pages themselves seem okay, since a reload
> > will typically work (although not always the first time).
> >
> > The only message in the error_log is as follows:
> >
> > Can't locate object method "Path" via package "HTML::Embperl::DOC::_15"
at /opt/perl5.6/lib/site_perl/5.6.0/i686-linux/HTML/Embperl.pm line 840.
> > [Tue Jan 9 08:21:47 2001] [error] [3177]ERR: 24: Line 1: Error in Perl
code: Can't locate object method "MailErrorsTo" via package
"HTML::Embperl::DOC::_15" at
/opt/perl5.6/lib/site_perl/5.6.0/i686-linux/HTML/Embperl.pm line 681.
> > [Tue Jan 9 08:21:47 2001] [error] Can't locate object method
"MailErrorsTo" via package "HTML::Embperl::DOC::_15" at
/opt/perl5.6/lib/site_perl/5.6.0/i686-linux/HTML/Embperl.pm line 681.
> >
> > This is with apache 1.3.14, mod_perl 1.24_01, and HTML::Embperl 1.3, on
> > linux. Any ideas where to start tracking this down?
>
> i've been getting exactly these errors for the last few weeks..
> (same versions)
>
Could it be that you have upgraded mod_perl from an ealierer version to
1.24_01 ?
>
> it seems to only knock out the one apache process, so if you reload
> repeatedly then you eventually get another process which still
> works. this is why it appears to be intermittent.
>
yes
> checking out the affected package with Apache::Status, shows it still
> has all the variables, etc i'd expect to see. none of my pages touch
> @ISA, and Apache::Status doesn't list it as defined for any embperl
> page (i think it should - does Apache::Status deliberately not show
> @ISA, or does EmbperlObject clear @ISA in the cleanup?)
>
Yes, it should for example the following request to Apache::Status
http://localhost/perl-status/HTML::Embperl::DOC::_5::ISA/ARRAY?data_dump
gives:
Data Dump of HTML::Embperl::DOC::_2::ISA ARRAY
@HTML::Embperl::DOC::_2::ISA = (
'HTML::Embperl::Req'
);
It even easier to click on "ISA Tree" an the start page, there you should
see something like
HTML::Embperl::DOC::_2
HTML::Embperl::Req
HTML::Embperl::DOC::_3
HTML::Embperl::DOC::_2
HTML::Embperl::Req
HTML::Embperl::DOC::_4
HTML::Embperl::Req
HTML::Embperl::DOC::_5
HTML::Embperl::DOC::_4
HTML::Embperl::Req
Could you both checkout if you see these ISA Tree or not ?
>
> the only "structural" thing i'd changed when they started was to start
> using Apache::Registry. yesterday i stopped using it (went back to
> normal cgi-script handler), and i haven't seen the problems reappear.
> loading the Apache::Registry module is fine, but once you start using
> it things go bad.
>
> i was also seeing very strange behaviour in my scripts running under
> Apache::Registry - "foreach" loops would run a different number of
> times with the same input ..
>
Of couse very strange. If it starts when you use Apache::Registry, could you
try to make a minimal Apache::Registry script, say
print "Hello world\n" ;
Does this also trigger the error ?
Gerald
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]