I’m facing this error when I’m changing my DB character set to UTF-8, prior to WE8MSWIN1252 (after I’ve deployed MWS & all components in DB), of which I’ve explored so far caused by:
“This is often caused by a white space before the XML declaration, but it could be any text, like a dash or any character. I say often caused by white space because people assume white space is always ignorable, but that’s not the case here.
Another thing that often happens is a UTF-8 BOM (byte order mark), which is allowed before the XML declaration can be treated as whitespace if the document is handed as a stream of characters to an XML parser rather than as a stream of bytes.”
-Mike Sokolov
[url]java - org.xml.sax.SAXParseException: Content is not allowed in prolog - Stack Overflow
I’m not sure if I could explained technically very well, but IMHO xml document which used by MWS to read/write into DB was malformed (not read very well) by DB server, because differences in unicode for specific character (in this case: space or whitespace or any other characted was misread).
This could be the culprit after unicode altered, and messing up all identification in characters.
I’m solving this by re-creating MWS database using Database Component Configurator for MWS.
I know it sounds not solving the problem, but that’s far as I know to solving this kind of problem, hopefully there’s someone out there have any the best solution for this apart to re-creating DB.
Regards,
Ivan
#webMethods-BPMS#MWS-CAF-Task-Engine#webMethods