how to have render layer only to render shadow catcher?
First, create two separate render layers.



Second, duplicate all your objects to the second render layer. Then on the first layer in all your lamp settings turn off "Cast Shadow".



On the second layer, turn all your objects into shadow catchers.



Once your done, hit F12 and Blender will render both your images!