Chris, I think you could be right. I'm trying to see if I can replicate the problem using Login Manager right now. The database adapter I'm using is gvibDA for Interbase / Firebird.
From previous posts I had concluded that gvibDA was threaded, but perhaps it isn't after all :-( If it is single-threaded are there any other possibilities for a Linux user utilising Interbase / Firebird?
--------------------------------- W.Robert Kellock Ph: +64 3 326 6115 Sales Manager Fax: +64 3 326 6115 Credit Systems Control Ltd Web: www.creditscore.co.nz "making decisions easy" ---------------------------------------------------------------------------- --------------------------------- ----- Original Message ----- From: "Chris McDonough" <chrism@digicool.com> To: "W. Robert Kellock" <sales@creditscore.co.nz> Cc: <zope@zope.org> Sent: Saturday, 6 October 2001 17:49 Subject: Re: [Zope] Asynchronous DTML
Weird.
Does Generic User Folder use a SQL database to store user info in your app? Is it possible that it's only a single-threaded database adapter in that case?
W. Robert Kellock wrote:
Hello,
I have now established that Chris is right, there are "no locks... and ...what I want is likely available out of the box". The issue of my external method importing the sockets library has nothing to do with it.
What is going on is that the external method blocks if it is invoked from a sub-folder, but not from my top level folder.
My folder structure is as follows:
Finance - external method doesn't block. Finance/Loan - external method blocks (I am using GenericUserFolder here and on all sub-folders).
I am now almost certain that the problem is connected with the GenericUserFolder product, since the method doesn't block if I try to get into another instance of the management interface, but it does block any of my users who are logged on via GenericUserFolder.
-------------------------------------------------------------------------- --
--------------------------------- W.Robert Kellock Ph: +64 3 326 6115 Sales Manager Fax: +64 3 326 6115 Credit Systems Control Ltd Web: www.creditscore.co.nz "making decisions easy"
-------------------------------------------------------------------------- --
---------------------------------
----- Original Message ----- From: "Chris McDonough" <chrism@digicool.com> To: "W. Robert Kellock" <sales@creditscore.co.nz> Cc: <zope@zope.org> Sent: Friday, 5 October 2001 13:56 Subject: Re: [Zope] Asynchronous DTML
Zope is multithreaded and there are typically no locks on any resources that prevents one thread from operating independently of another, so what you want is likely available out of the box.
W. Robert Kellock wrote:
Hello,
Does anyone know how to prevent an external method from blocking?
What I need is an external method that contacts an external server and returns the result to be displayed in my dtml page. It's quite alright for the person requesting the page to wait for the response. What I don't want is for other users to be blocked while the external server formulates it's response to that user.
From the archives it seems I need to piggyback onto Zopes asyncore / asynchat to achieve this, but I'm not sure how.
Thanks.