[
https://issues.apache.org/jira/browse/AIRAVATA-576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Raminderjeet Singh resolved AIRAVATA-576.
-----------------------------------------
Resolution: Unresolved
Fix Version/s: 0.8
> Renew Messagebox subscription Unexpected character 'h' (code 104) in prolog;
> expected '<'
> -----------------------------------------------------------------------------------------
>
> Key: AIRAVATA-576
> URL: https://issues.apache.org/jira/browse/AIRAVATA-576
> Project: Airavata
> Issue Type: Bug
> Reporter: Raminderjeet Singh
> Fix For: 0.8
>
>
> 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)
--
This message was sent by Atlassian JIRA
(v6.2#6252)