I suggest you stop trying puppies, thank god he was unable to um, *ahem* get it in. There are enough mills to produce pomeranians without the help of backyard breeders.
About the marking, how old is he?
Maybe he needs more training- negative attention for peeing is still attention. Perhaps he is just seeking attention, spend more time playing with him.
You pluralized "getting them with the intent on . . ." Do you have a female? It could be the marking is due to other males being around or their scent or the scent of the female is just too much for him.
He doesn't sound very house trained. You kept him inside for 6 months? This is the most important learning period so I suggest re-training. Belly bands are a good idea. I have one for Coco and I just stick a maxi-pad in there before we leave for the day and if he needs to pee (and he's losing control of his bladder more and more now, he's 13) he pee's in his diaper. Since buying the belly band I have 100% eliminated him peeing on things that aren't mine in the house! (* granted I have it for a different reason than territorial marking)
Good luck!