Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-576

Renew Messagebox subscription Unexpected character 'h' (code 104) in prolog; expected '<'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Abandoned
    • None
    • 0.8
    • None
    • None

    Description

      I am trying to reconnect to already created message box using MessageBoxNotificationHandler.renewMessageboxSubscription method

      method parameters are renewMessageboxSubscription(subscription.getMessageBoxEPR().getAddress() , subscription.getSubscriptionID(), topic, xpath, true);

      I am getting following error while creating EndpointReference endpointReference = EndpointReferenceHelper.fromString(epr); Any idea what need to be passed? I am passing http://<ip>:8080/axis2/services/MsgBoxService/clientid/1517fdad-7319-4a29-a686-d08b7a09bfee as epr.

      org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'h' (code 104) in prolog; expected '<'
      at [row,col

      {unknown-source}

      ]: [1,1]
      at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:260)
      at org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:133)
      at org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:502)
      at org.apache.axis2.addressing.EndpointReferenceHelper.fromString(EndpointReferenceHelper.java:157)
      at org.apache.airavata.workflow.tracking.impl.subscription.MessageBoxNotificationHandler.renewMessageboxSubscription(MessageBoxNotificationHandler.java:131)
      at org.apache.airavata.notification.NotificationListener.main(NotificationListener.java:49)

      Attachments

        Activity

          People

            Unassigned Unassigned
            raminder Raminderjeet Singh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: