This discussion is archived
3 Replies Latest reply: Apr 10, 2012 1:01 AM by 921967 RSS

Failed to process JMS message

921967 Newbie
Currently Being Moderated
Hi,

While trying to read the message in Queue from my BPEL, Iam getting the following error:

JMSBC-E0713: Failed to process JMS message [com.stc.jmsjca.core.WTextMessageIn@ffae4c] in onMessage: Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.

Can any one provide some suggestion on how to resolve this error.
  • 1. Re: Failed to process JMS message
    EJP Guru
    Currently Being Moderated
    There is something wrong with your XML.
  • 2. Re: Failed to process JMS message
    921967 Newbie
    Currently Being Moderated
    No, Iam just storing a simple message say "Hello" in the queue, the message is stored in the queue but it is shown in the below format when I opened that file in Notepad:

    UUªª ªªUU ‡ÿãÂ- ‡ 6›4•Z 6›4”öÿ Â
    Ô£9™ÿÿ¬h ÎM o „      fÂ6›4”ñ Trial4 com.sun.messaging.BasicQueue Hai ªªUU

    and soon Iam getting this error below:

    [Fatal Error] :1:1: Content is not allowed in prolog.
    JMSBC-E0713: Failed to process JMS message [com.stc.jmsjca.core.WTextMessageIn@1e377d5] in onMessage: Content is not allowed in prolog.
    org.xml.sax.SAXParseException: Content is not allowed in prolog.
  • 3. Re: Failed to process JMS message
    EJP Guru
    Currently Being Moderated
    Somebody thinks it should be XML. If it shouldn't, you have misdefined something somewhere.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points