is the spark nice and blue? it could be that you are getting a spark at the plug when it is removed but once it is put back the pressure in the cylinder may make the spark take an easier route ie. tracking to earth in the distributor cap maybe?

Good luck

David Byrne