Hmmn! I tried to deploy replSync-service.xml into 4.0.1 release. It works for me.
Remove attribute MaxCapacity from your XML config file.
Or even better yet: copy an XML file from the distribution and modify it.
Thanks for the proposals. I modified the xml file and removed the problems.