BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: Firebird, SOAPServer, Multi-threaded Client

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier)
View previous topic :: View next topic  
Author Message
Raphael
Guest





PostPosted: Fri Aug 22, 2003 7:48 am    Post subject: Re: Firebird, SOAPServer, Multi-threaded Client Reply with quote



Hi Deepak;

Thank you for the swift response and the time spent on my request! However :
......
Quote:
The WAD exe doesn't really start another instance of itself - you might be
seeing multiple threads within the same EXE.

That is not the problem : There is only *one* Web application Debugger
allright,
but there are *two* instances (I see two forms apear on screen) of the
HBRetoursWAD.EXE (the debug version of the soap server) running indeed.
(they are started automatically)
What i see in the WAD is something like this:

1168 POST... Time 08.08.37
1672 POST.. Time 08.08.37

1688 RESPONSE Time : 08.09.25 Elapsed : 47.99
1672 RESPONSE Time : 08.09.25 Elapsed : 47.99
1712 POST Time : 08.09.25
1712 RESPONSE Elapsed :14.00
etc...

The thing is, that I launch 4 requests at the same time, so I suppose the
first 4 lines should be 'POST' messages (considering the time elapsed before
i get the first response)

.....
Quote:

You need to interchange the positions of "IsapiApp" and "IsapiThreadPool"
in your .dpr file of the ISAPI application.

Did this already....this is the project unit of my ISAPI script (as you see
: I interchanged them before, after all this webservice is already in
production )

library HBRetoursISAPI;

uses
ActiveX,
ComObj,
WebBroker,
ISAPIApp,
ISAPIThreadPool, // Switched those two
HBRetoursServerWebModuleKERNEL in 'HBRetoursServerWebModuleKERNEL.pas'
{mHBRetoursKERNEL: TWebModule},
HBRetoursServerImpl in 'HBRetoursServerImpl.pas',
HBRetoursServerIntf in 'HBRetoursServerIntf.pas',
HBRetoursSrvSOAPDataModule in 'HBRetoursSrvSOAPDataModule.pas'
{sdmHBRETOURS: TSoapDataModule},
HBRemotables in 'HBRemotables.pas';

{$R *.res}

exports
GetExtensionVersion,
HttpExtensionProc,
TerminateExtension;

begin
CoInitFlags := COINIT_MULTITHREADED;
Application.Initialize;
Application.CreateForm(TmHBRetoursKERNEL, mHBRetoursKERNEL);
Application.Run;
end.

So, I supose that something else is mishappening...

Kind regards,

Rafael




Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.