Hi Marco,
Thanks for the reply.
I'm using 8.0.5 - After some searching I found a FAQ which said this version of Oracle had problems with DBMS_Alert so have upgraded now to 8.1.7 and everything seems ok.
BTW - The example I gave used to work fine on the 8.0.5 server provided I had a timeout value...