is the boy neutered. that will usually stop the territory marking if that is his problem. try the pet store. they have some product to put on the spot to make them stop using that spot. sometimes that will resolve the problem.
unfortunately you will probably just have to make the bedroom off limits.