If 1.99_16 works and 1.99_17 doesn't that would probably be the change to
blame:

Added ModPerl::Util::unload_package() to remove a loaded package
as thoroughly as possible by clearing it's stash. [Gozer]

Please confirm that first. Next let's take some specific module, put it in
PerlSetVar ReloadModules enable the debug and show us the relevant bits
from the log, so it'll be easier to visualize the problem.




Unfortuantely, I've tried versions 1.99_14, 1.99_15 and 1.99_16 but they all
have problems with my use of multiple 'PerlSetVar's when used as part of an
array of VirtualHost's that are created within a <PERL> section in the
httpd.conf file. This 'PerlSetVar' problem has been fixed in versions
1.99_17 and 1.99_19 but those versions have the reload problem that I have
been encountering -- hence my fallback to the 1.99_12 version.


However, I will follow up on each of your suggestions including downloading
the source you pointed to and will let you know the results.

Right, I just want you to test this specific problem, so we can single out the change that affected your code, before we proceed further.



Okay, mod_perl 1.99_16 reloading works. So the reloading problem starts with the 1.99_17 version as you suspected. Here is a snippet from my error_log showing the reloading messages that appear when the Reloading Debugger is turned on for version 1.99_19:


This is the error_log entry for the module whose changes are not showing up

Apache::Reload: process 22533 reloading Apache::Menus from Apache/Menus.pm
Apache::Reload::handler('Apache::RequestRec=SCALAR(0xc331c20)') called at /opt/prod/apache/Apache/Menus.pm line 0
eval {...} called at /opt/prod/apache/Apache/Menus.pm line 0


And the following is the error_log entry for a module changed at the same time whose changes do show up

Apache::Reload: process 22533 reloading Apache::Abracadabra from Apache/Abracadabra.pm
Apache::Reload::handler('Apache::RequestRec=SCALAR(0xc331c20)') called at /opt/prod/apache/Apache/Abracadabra.pm line 0
eval {...} called at /opt/prod/apache/Apache/Abracadabra.pm line 0




--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to