Re: Apache2::Reload problems

[prev] [thread] [next] [Date index for 2005/05/25]

From: Philippe M. Chiasson
Subject: Re: Apache2::Reload problems
Date: 09:24 on 25 May 2005
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig9EE0BF2F36E8EF896D6B1C1C
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Mark wrote:
> I have a typical situation, with a Registry script that use's
> a bunch of modules.  After Apache::Reload reloads the first module,
> I get errors suggesting that the other loaded modules have been lost.
> 
> To illustrate, it is like this (fake example):
> 
> Script:
> 
>    #!/usr/bin/perl
> 
>   use Fubar;
>   use Snafu;
> 
>   $f = Fubar->new()
>   $s = Snafu->new()
> 
> I run once, then 'touch /path/to/Fubar.pm'
> 
> Then I run from client, and I get error:
> 
>    Can't locate object method "new" via package "Snafu" at ...
> 
> Makes no sense to me?  Any ideas?    Same code on Apache 1.3 no problem.
> My Reload config is:
> 
> PerlModule Apache2::Reload
> PerlInitHandler Apache2::Reload
> PerlSetVar ReloadAll Off
> PerlSetVar ReloadModules "Fubar"
> PerlSetVar ReloadDebug On
> 
> And I also have both Fubar and Snafu in my Apache PerlRequire file.

What does Apache2::Reload say in your error_log ?

--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/     F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5

--------------enig9EE0BF2F36E8EF896D6B1C1C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFClERPyzKhB4jDpaURA0SkAJ9iXRMVQZbS2uiu1Xc9itsd1/W8EgCffmbq
qHVK7WDbS+xbgi639g3TwmI=
=j70+
-----END PGP SIGNATURE-----

--------------enig9EE0BF2F36E8EF896D6B1C1C--

(message missing)

Apache2::Reload problems
Mark 06:42 on 25 May 2005

Re: Apache2::Reload problems
Stephane GUIBOUD-RIBAUD 06:48 on 25 May 2005

Re: Apache2::Reload problems
Mark 15:53 on 25 May 2005

Re: Apache2::Reload problems
Stas Bekman 17:37 on 25 May 2005

Should I use Package or Modual or what?
Luinrandir Insight 17:19 on 25 May 2005

Re: Should I use Package or Modual or what?
Perrin Harkins 17:16 on 25 May 2005

Re: Should I use Package or Modual or what?
Perrin Harkins 17:57 on 25 May 2005

a mystery.. need help
Luinrandir Insight 08:36 on 29 May 2005

[OT] Re: a mystery.. need help
Frank Maas 10:37 on 29 May 2005

Re: Apache2::Reload problems
Philippe M. Chiasson 09:24 on 25 May 2005

Re: Apache2::Reload problems
Mark 15:30 on 25 May 2005

Re: a mystery.. need help
David Dick 05:37 on 29 May 2005

Re: a mystery.. need help
Luinrandir Insight 02:10 on 30 May 2005

Re: a mystery.. need help
Tom Schindl 07:55 on 30 May 2005

Re: a mystery.. need help
jonathan vanasco 16:23 on 30 May 2005

Re: a mystery.. need help
Luinrandir Insight 20:15 on 30 May 2005

[MP2] How to turn off caching?
Foo Ji-Haw 04:23 on 31 May 2005

Re: [MP2] How to turn off caching?
Rodger Castle 05:11 on 31 May 2005

Re: [MP2] How to turn off caching?
Foo Ji-Haw 07:45 on 31 May 2005

Re: [MP2] How to turn off caching?
Torsten Foertsch 09:31 on 31 May 2005

Re: [MP2] How to turn off caching?
Issac Goldstand 08:50 on 31 May 2005

Generated at 20:12 on 05 Jun 2005 by mariachi v0.52