FAQ
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

Search Discussions

  • Gerald Richter at Jan 24, 2002 at 7:36 pm

    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
  • Scott Chapman at Jan 25, 2002 at 1:40 am
    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
  • Gerald Richter at Jan 25, 2002 at 4:40 am
    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
  • Gerald Richter at Jan 25, 2002 at 8:17 pm

    Make the following change:


    package Apache::SessionX::Config ;

    $default = 'DB_File' ;

    @confs = ('DB_File','File','FileFile','Mysql','MysqlMysql') ;
    %param =
    (
    'DB_File' =>
    {
    'Generate' => 'MD5',
    'LockDirectory' => '',
    'Lock' => 'File',
    'Lock' => 'Null'
    'FileName' => '',
    'Store' => 'DB_File',
    'Serialize' => 'Storable',
    'Info' => 'DB_File',
    },
    That should be enough, but I have never tested DB_File on windows. In case
    it doesn't work you can change the default to 'File' (Note that default
    appears twice) _and_ set the directory to an existing path and change the
    locker to 'Null' (That's the configuration that I am usually use on windows)

    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
  • Lukas Zapletal at Jan 28, 2002 at 12:46 pm
    GR> That should be enough, but I have never tested DB_File on windows. In case
    GR> it doesn't work you can change the default to 'File' (Note that default
    GR> appears twice) _and_ set the directory to an existing path and change the
    GR> locker to 'Null' (That's the configuration that I am usually use on windows)

    DB_File works fine for me

    Regards

    Lukas Zapletal [lzap@bach.cz]
    web programmer
    Bach systems Ltd., Czech Republic

    ----------- PGP FINGERPRINT ------------
    4BA4ECA3EDE9608558646ABBA14259E3459FA0B4
    --------------- COOKIE -----------------
    Linux: Because rebooting is for adding new hardware


    ---------------------------------------------------------------------
    To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
    For additional commands, e-mail: embperl-help@perl.apache.org

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupembperl @
categoriesmodperl, perl
postedJan 23, '02 at 11:28p
activeJan 28, '02 at 12:46p
posts6
users3
websiteperl.apache.org

People

Translate

site design / logo © 2022 Grokbase