Any necessary repairs to the weapons and tools were the responsibility of the blacksmith. His shop was usually located at the end of the barracks.
Home Hi-res | Home Low-res
Image from: http://www.emg.com/castles/page13.html