Click here to Skip to main content
       

Delphi

 
Questiondeclaring math function Pinmember7007saeed30-Mar-12 4:34 
AnswerRe: declaring math function Pinmembersmags1330-Mar-12 12:47 
AnswerRe: declaring math function PinmemberStuart Cox from Victoria31-Mar-12 10:04 
QuestionDelphi 2007 not compiling runtimes into exe [modified] PinmemberJerryMallett6-Mar-12 22:34 
AnswerRe: Delphi 2007 not compiling runtimes into exe Pinmembernortee8-Mar-12 0:48 
GeneralRe: Delphi 2007 not compiling runtimes into exe PinmemberJerryMallett8-Mar-12 0:56 
GeneralRe: Delphi 2007 not compiling runtimes into exe [modified] Pinmembersmags138-Mar-12 14:17 
GeneralRe: Delphi 2007 not compiling runtimes into exe PinmemberJerryMallett8-Mar-12 23:10 
GeneralRe: Delphi 2007 not compiling runtimes into exe Pinmembersmags139-Mar-12 10:30 
GeneralRe: Delphi 2007 not compiling runtimes into exe Pinmembernortee9-Mar-12 11:34 
NewsDelphi online birthday party ?! Pinmembersmags137-Feb-12 7:54 
GeneralRe: Delphi online birthday party ?! Pinmembernortee7-Feb-12 8:28 
GeneralRe: Delphi online birthday party ?! Pinmembersmags1329-Feb-12 8:39 
QuestionCan TWebModule instance shutdown itself? PinmemberCorinna John31-Jan-12 4:17 
I have an ISAPI application with a TWebModule running on IIS6. There's try/except and fine exception logging around every method. Every single request and it's response status are also being logged. About five times a week this happens:
 
1) TWebModule.OnException is called with "EInOutError: File not found". Mostly the error is logged by just one thread, sometimes by up to four threads at once. (The cause must be outside my code, because there are no lines outside try/except blocks.)
2) For a few minutes IIS answers thousands of request with status 500, though they are not logged by the ISAPI DLL. That means, the requests don't cause more exceptions in the TWebModule instances, they seem to just bounce off my IIS.
3) Finally there's a message in the event log that one worker process did not recycle in time.
4) For a day or two, everything runs fine again.
 
I guess the TWebModule instance is in some kind of blocked state, but IIS still tries to feed it with requests. So, I want to stop the thread in TWebModule.OnException. Is there a way to shutdown a single TWebModule, that means one IIS thread or worker process, without recycling the whole Application Pool?
 
Thanks a lot,
Corinna
GeneralRe: Can TWebModule instance shutdown itself? Pinmembersmags1331-Jan-12 8:10 
GeneralRe: Can TWebModule instance shutdown itself? PinmemberCorinna John31-Jan-12 10:38 
QuestionRe: Can TWebModule instance shutdown itself? Pinmembernortee31-Jan-12 20:01 
AnswerRe: Can TWebModule instance shutdown itself? Pinmembernortee1-Feb-12 7:40 
QuestionRe: Can TWebModule instance shutdown itself? Pinmembernortee7-Feb-12 8:31 
AnswerRe: Can TWebModule instance shutdown itself? PinmemberCorinna John8-Feb-12 3:40 
GeneralRe: Can TWebModule instance shutdown itself? Pinmembernortee8-Feb-12 3:55 
QuestionLet's make an impact (even if a small wave) Pinmembernortee27-Jan-12 7:18 
AnswerRe: Let's make an impact (even if a small wave) Pinmembersmags1331-Jan-12 7:54 
GeneralRe: Let's make an impact (even if a small wave) Pinmembernortee1-Feb-12 9:07 
AnswerRe: Let's make an impact (even if a small wave) PinmemberJose A Pascoa31-Jan-12 8:52 
GeneralRe: Let's make an impact (even if a small wave) Pinmembernortee1-Feb-12 9:08 
GeneralRe: Let's make an impact (even if a small wave) PinmemberJose A Pascoa7-Feb-12 21:23 
GeneralRe: Let's make an impact (even if a small wave) Pinmembernortee10-Feb-12 8:09 
GeneralRe: Let's make an impact (even if a small wave) PinmemberJose A Pascoa14-Feb-12 9:53 
GeneralRe: Let's make an impact (even if a small wave) Pinmembernortee10-Feb-12 8:21 
AnswerRe: Let's make an impact (even if a small wave) Pinmemberoginiza27-Feb-12 21:27 
QuestionRemote Desktop with Delphi 6 PinmemberkasibhotlaKrishna2-Dec-11 5:39 
AnswerRe: Remote Desktop with Delphi 6 Pinmembersmags132-Dec-11 18:25 
QuestionAre there still Delphi guys around here? Pinmembernortee23-Nov-11 7:52 
AnswerRe: Are there still Delphi guys around here? Pinmembersmags1323-Nov-11 16:21 
GeneralRe: Are there still Delphi guys around here? [modified] Pinmembernortee23-Nov-11 21:58 
AnswerRe: Are there still Delphi guys around here? PinmemberAmir Mahfoozi26-Nov-11 4:27 
GeneralRe: Are there still Delphi guys around here? Pinmembernortee26-Nov-11 4:31 
GeneralRe: Are there still Delphi guys around here? Pinmembernortee26-Nov-11 4:32 
AnswerRe: Are there still Delphi guys around here? Pinmembermobius11100128-Nov-11 3:39 
GeneralRe: Are there still Delphi guys around here? Pinmembernortee28-Nov-11 10:48 
AnswerRe: Are there still Delphi guys around here? Pinmemberdhaxton29-Nov-11 3:31 
JokeRe: Are there still Delphi guys around here? PinmemberPaulo_JCG29-Nov-11 3:36 
AnswerRe: Are there still Delphi guys around here? PinmemberJan Holst Jensen229-Nov-11 3:42 
AnswerRe: Are there still Delphi guys around here? Pinmemberchambers120@suddenlink29-Nov-11 3:45 
AnswerRe: Are there still Delphi guys around here? PinmemberJonathan Korty29-Nov-11 3:53 
AnswerRe: Are there still Delphi guys around here? Pinmembernortee29-Nov-11 3:55 
AnswerRe: Are there still Delphi guys around here? PinmemberRobert Chafer29-Nov-11 4:11 
AnswerRe: Are there still Delphi guys around here? PinmemberClay Shannon29-Nov-11 4:16 
AnswerRe: Are there still Delphi guys around here? PinmemberGezielMachado29-Nov-11 5:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.140926.1 | Last Updated 19 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid