RE: [mp2] Also problems with reloading modules after upgrade

[prev] [thread] [next] [Date index for 2005/01/24]

From: Thomas den Braber
Subject: RE: [mp2] Also problems with reloading modules after upgrade
Date: 09:53 on 24 Jan 2005
Sorry, something was missing:

Log from 199_16:

Apache::Reload: Checking mtime of Menu2.pm
Subroutine Main redefined at /srv/sitegen2/lib/Menu2.pm line 33.
Subroutine menuJavaScript redefined at /srv/sitegen2/lib/Menu2.pm line 238.
Subroutine reread_conf redefined at /srv/sitegen2/lib/Menu2.pm line 349.
Subroutine editbar redefined at /srv/sitegen2/lib/Menu2.pm line 368.
Subroutine setParseHref redefined at /srv/sitegen2/lib/Menu2.pm line 450.
Apache::Reload: process 3488 reloading Menu2.pm

Log from 1999_20

Apache::Reload: Checking mtime of Menu2.pm
Apache::Reload: process 2756 reloading Menu2 from Menu2.pm

I hope this can help to locate the problem.

Regards,

Thomas den Braber


> -----Oorspronkelijk bericht-----
> Van: Thomas den Braber [mailto:thomas@xxxxx.xx]
> Verzonden: maandag 24 januari 2005 10:47
> Aan: 'Thomas den Braber'; modperl@xxxx.xxxxxx.xxx
> Onderwerp: RE: [mp2] Also problems with reloading modules after upgrade
> 
> 
> 
> Finally I have some more info on this issue. I installed my modperl
> handler
> in a virtual host directive and now I see the Apache::Reload debug
> messages.
> I found out that there is a difference between reloading in 199_16 and the
> version above 199_16:
> 
> I changed the menu2.pm file.
> 
> Log from 199_16:
> 
> 
> 
> 
> > Onderwerp: [mp2] Also problems with reloading modules after upgrade
> >
> > I upgraded from 199_16 to 199_mod_perl-2.0.0-RC2-Xmas and found out that
> > Apache::Reload does not work the way it worked before.
> > I traced it back to the 199_17 version.
> > So in 199_16 everything worked fine, after 199_17 it did not.
> > I used the PerlSetVar ReloadDebug On in the apache.conf but nothing is
> > written to the error log.
> >
> > All my modules have their own namespace. The main module reloads without
> > problems, most of the modules that are used from the main module (with
> > use)
> > do not reload automatically. When I also change the main module the
> > included
> > modules have problems with losing variable references from the main
> > module.
> >
> > The main modules is configures as the PerlResponseHandler all other
> > modules
> > are called from within this 'main' module with 'use'. All modules are
> also
> > preloaded in a startup.pl file.
> >
> > I run with Apache 2.0.52, libreq2-2.04 on a windows 2000 server
> > (development
> > machine)
> >
> > Thomas den Braber
> > Delos Software Solutions
> >
> 



[mp2] Also problems with reloading modules after upgrade
Thomas den Braber 11:51 on 05 Jan 2005

RE: [mp2] Also problems with reloading modules after upgrade
Thomas den Braber 09:53 on 24 Jan 2005

Re: [mp2] Also problems with reloading modules after upgrade
Philippe M. Chiasson 22:50 on 24 Jan 2005

Generated at 17:42 on 27 Jan 2005 by mariachi v0.52