Subject | Application not responding while connecting...etc. |
---|---|
Author | John Peterson |
Post date | 2002-01-12T00:44:24Z |
Hi All,
I am trying to implement a system to failover clients if the primary server
fails (app uses IBO).
I am 'Pinging' the database via a call to a SP which returns the current
time.
What I am struggling with is the complete loss of response from the
application when the connection to the server is lost (eg. disconnect lan).
Is it feasable to perform the connect, disconnect, ping etc from within a
secondary thread? The main thread then using this connection (once it is set
up)?
I guess the main question is "is IBO thread safe". I have looked at the IBO
thread example, however this app seems to be missing the Connection
deatails.
TIA
John
I am trying to implement a system to failover clients if the primary server
fails (app uses IBO).
I am 'Pinging' the database via a call to a SP which returns the current
time.
What I am struggling with is the complete loss of response from the
application when the connection to the server is lost (eg. disconnect lan).
Is it feasable to perform the connect, disconnect, ping etc from within a
secondary thread? The main thread then using this connection (once it is set
up)?
I guess the main question is "is IBO thread safe". I have looked at the IBO
thread example, however this app seems to be missing the Connection
deatails.
TIA
John