Re: best way to simulate a lost connection?

From: Michel Cadot <micadot{at}altern{dot}org>
Date: Tue, 23 Dec 2008 08:27:54 +0100
Message-ID: <495092f9$0$10800$426a74cc@news.free.fr>

<mh_at_pixar.com> a écrit dans le message de news: bOW3l.7251$pr6.220_at_flpi149.ffdc.sbc.com...
| This for RAC 10gR2.
|
| I would like to test my client-side application code that deals
| with catching and reporting a lost or broken connection to
| the database.
|
| What's the best way to simulate a connection failure?
| ALTER SYSTEM KILL SESSION '$SID,$SERIAL#' via another process?
| Is there an equivalent command that doesn't need to know
| the RAC node?
|
| Any pointers to other testing considerations appreciated.
|
| Many TIA!
| Mark
|
| --
| Mark Harrison
| Pixar Animation Studios

Unplug the cable.

Regards
Michel Received on Tue Dec 23 2008 - 01:27:54 CST

Original text of this message