[mapserver-users] My gis program

Lowell Filak lfilak at medinaco.org
Thu Nov 7 08:53:52 EST 2002


Unless I'm mistaken there was an additional thread regarding this.
The errors do cause mod_perl to bail but they may be fixable by editting mapscript.pm.
I can't seem to find the thread right now - I read talk of an index issue.
The critical line I can recall is "return unless $_[0]->isa('HASH');" placed at the beginning of the DESTROY methods.
HTH
Lowell F.

The following message was sent by Puneet Kishor <pkishor at GeoAnalytics.com> on Wed, 6 Nov 2002 19:21:17 -0600.

> Well, the verdict is far from concrete.
> 
> I tried running mapserver with mod_perl and received a bunch of errors. 
> But it worked. There was a discussion about this, and it was concluded 
> that the errors were a result of mod_perl. Eventually I got rid of 
> mod_perl and ran mapserver... I still get a bunch of errors... but it 
> works. The errors are mainly of the kind...
> 
> [Wed Nov  6 17:44:07 2002] index.pl:    (in cleanup) Not a HASH 
> reference at /Library/Perl/darwin/mapscript.pm line 1144 during global 
> destruction.
> [Wed Nov  6 17:44:07 2002] index.pl:    (in cleanup) Not a HASH 
> reference at /Library/Perl/darwin/mapscript.pm line 2415 during global 
> destruction.
> [Wed Nov  6 17:44:07 2002] index.pl: Use of uninitialized value in 
> exists at /Library/Perl/darwin/mapscript.pm line 2417 during global 
> destruction.
> 
> but, as I said, it still works.
> 
> I would really like for mapserver to work with mod_perl. Primarily, I 
> would like to use HTML::Mason (or embperl). I have been developing a 
> generic application using HTML::Template, but Mason prefers mod_perl.
> 
> Steve Lime would be able to comment definitely when that would be 
> possible.
> 
> Thanks,
> 
> Puneet.
> 
> On Wednesday, November 6, 2002, at 06:59  AM, woodbri at swoodbridge.com 
> wrote:
> 
> > Ruben,
> >
> > No, It currently MUST be built and run as a cgi program. There are
> > thread safety issues that are still being worked on.  But this list
> > has representatives of some very large applications that get very
> > high number of hits and performance is not a problem.
> >
> > -Steve W.
> >
> > On 6 Nov 2002 at 13:52, Ruben Tsui wrote:
> >
> >>
> >> Hello all,
> >>
> >> I have this burning question which I've been afraid to ask.
> >>
> >> Is there a way to runMapServer in-process with Apache (a la
> >> mod_perl)
> >> to take advantage of any possible performance gain?
> >>
> >> I tried looking into the docs but counldn't find anything (yet) :(
> >>
> >> Thanks,
> >> Ruben Tsui
> >>
> >




More information about the mapserver-users mailing list