Re: best way to simulate a lost connection?
Date: Tue, 23 Dec 2008 09:39:06 -0800
Message-ID: <1230053945.20307@bubbleator.drizzle.com>
Michel Cadot wrote:
> <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
Or flip the switch to off on a router or hub.
-- Daniel A. Morgan Oracle Ace Director & Instructor University of Washington damorgan_at_x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.orgReceived on Tue Dec 23 2008 - 11:39:06 CST