My brother's shephard mix pees when she gets excited, though it's only if we have new visitors, as in if she's never met them before, then she pees herself. And she's six now.
Hopefully, yours will just outgrow it and it'll become something he does like, only if you guys have visitors, so then you could just put him outside and introduce the visitor to him there. The cat thing, I don't know what to say, though. I have never had a cat in the first place.