Sometimes the "org.xml.sax.SAXParseException: Content is not allowed in prolog." mean the error occured in the xml file
jbossmq-RakeshQueue-service.xml:1:1: Content is not allowed in prolog.
This mean you can have a error at the first line & first column off you xml file.
1) if you have a tab or whitespace before <server> at line 1, remove the whitespace or the caracter.
2) after check & validate the xml with jboss DTD or XSD, if <server> is the root element xml, if code attribute is allowed in mbean...
3) check if you Queue / Destination are present and available in your JBoss App.
4) check the mapping