You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Scott Chapman <sc...@mischko.com> on 2002/01/24 00:28:20 UTC
Embperl udat causes things to hang under Windows.
I'm running Apache 1.3.20 and mod_perl 1.26 and 2.0b5 Embperl, 2.00b3
Apache SessionX.
When my embperl script gets to this:
$udat{User_Name} = $fdat{User_Name};
Things hang. The browser keeps on spinning but nothing ever returns and
there are no messages in the log files. Subsequent access requires that I
restart Apache.
On the previous page, before calling this page, this is executed and doesn't
hang anything:
$udat{Review_Type} = $fdat{review_type};
All of this works fine under my Linux Apache.
I'm running this under mod_perl so I can't debug it. I may have to move it out
from mod_perl so I can debug it but that's painful!
I'm thinking I may have to manually go and configure the
Any help would be greatly appreciated.
Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Embperl udat causes things to hang under Windows.
Posted by Gerald Richter <ri...@ecos.de>.
> I didn't know there was a "null locker". Can you tell me how to implement
it?
>
That is something I should add to Makefile.PL for Windows users....
To do it on your own, look at the top of Makefile.PL there is a hash that
defines that combinations you get ask fro when running Makefile.PL, just
copy the one you use and replace the 'Lock' entry with the value 'Null' and
give the whole entry a new name, then rerun Makefile.PL and nmake install.
If you have installed it with ppm, search your
\perl\site\lib\Apache\SessionX directory. It should contain a file called
Config.pm where you can diretly change the Lock value to 'Null'.
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Embperl udat causes things to hang under Windows.
Posted by Scott Chapman <sc...@mischko.com>.
I didn't know there was a "null locker". Can you tell me how to implement it?
Scott
On 24 Jan 2002 at 20:37, Gerald Richter wrote:
> >
> > Things hang. The browser keeps on spinning but nothing ever returns and
> > there are no messages in the log files. Subsequent access requires that I
> > restart Apache.
> >
>
> I guess this is a problem with locking. On Windows you don't need any
> locking at all, because mod_perl 1.x serializes all requests anyway. So use
> the Null locker and it should work. (At least it does for me :-)
>
> Gerald
>
> -------------------------------------------------------------
> Gerald Richter ecos electronic communication services gmbh
> Internetconnect * Webserver/-design/-datenbanken * Consulting
>
> Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
> E-Mail: richter@ecos.de Voice: +49 6133 925131
> WWW: http://www.ecos.de Fax: +49 6133 925152
> -------------------------------------------------------------
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Embperl udat causes things to hang under Windows.
Posted by Gerald Richter <ri...@ecos.de>.
>
> Things hang. The browser keeps on spinning but nothing ever returns and
> there are no messages in the log files. Subsequent access requires that I
> restart Apache.
>
I guess this is a problem with locking. On Windows you don't need any
locking at all, because mod_perl 1.x serializes all requests anyway. So use
the Null locker and it should work. (At least it does for me :-)
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org