[ 
https://issues.apache.org/jira/browse/QPID-5889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14063553#comment-14063553
 ] 

Rob Godfrey commented on QPID-5889:
-----------------------------------

So, from the logs we can see that the JMS client did as you asked it, trying to 
attach:

[sri srp 16 16:04:55 CEST 2014] FINE: SEND[WIN-AN5B307EEHM/10.135.2.193:5671|0] 
: 
Attach{name=Correspondence,handle=0,role=receiver,sndSettleMode=unsettled,rcvSettleMode=first,source=Source{address=mytopic,durable=unsettled-state,expiryPolicy=never,distributionMode=copy},target=Target{address=9ef11f1d-25f4-4ac5-873a-8fb56ca84cb8}}

But the server replied:

[sri srp 16 16:04:55 CEST 2014] FINE: RECV[WIN-AN5B307EEHM/10.135.2.193:5671|0] 
: 
Attach{name=Correspondence,handle=0,role=sender,sndSettleMode=unsettled,rcvSettleMode=first,target=Target{address=9ef11f1d-25f4-4ac5-873a-8fb56ca84cb8}}
[sri srp 16 16:04:55 CEST 2014] FINE: RECV[WIN-AN5B307EEHM/10.135.2.193:5671|0] 
: 
Detach{handle=0,closed=true,error=Error{condition=internal-error,description=The
 server was unable to process the request; please retry the operation. If the 
problem persists, please contact your Service Bus administrator and provide the 
tracking 
id..TrackingId:ee9c8e315ef845c99379df5343154cb6_GWIN-AN5B307EEHM,TimeStamp:16.7.2014.
 14:04:55}}

Note that the absence of a source in the first line of that reply means that 
the service could not establish the link.  

There's not much more we can tell from the Qpid side of things - the "issue" 
(or at least the reason why no link is established) is only known to 
ServiceBus.  Generally this sort of error is symptomatic of the queue/topic not 
existing, or perhaps insufficient permission to publish to the destination.  
However I'm not familiar with ServiceBus, and you'll need to take it up with 
them as to what is happening on that side of the connection.

One thought - I vaguely remember that ServiceBus did not originally support JMS 
topics (and didn't support the AMQP distribution mode "copy"), I'm not sure if 
that has changed but if not that could be the cause of the issue - can you get 
sending/receiving to/from queues to work?


> Reading from Service Bus via Qpid JMS client fails
> --------------------------------------------------
>
>                 Key: QPID-5889
>                 URL: https://issues.apache.org/jira/browse/QPID-5889
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.28
>            Reporter: Jurica Krizanic
>              Labels: servicebus
>         Attachments: qpid-jms-0.log
>
>
> I am trying to connect to Windows Service Bus from Qpid JMS Java client. 
> Authentication and handshake pass successfully, but I can not read anything 
> from a  topic or queue.
> I am using your example provided at 
> http://svn.apache.org/repos/asf/qpid/branches/0.28/qpid/java/amqp-1-0-client-jms/example/src/main/java/org/apache/qpid/amqp_1_0/jms/example/Hello.java
> Getting the error:
> The server was unable to process the request; please retry the operation. If 
> the problem persists, please contact your Service Bus administrator and 
> provide the tracking 
> id..TrackingId:584da4f8a98d4fa59dc9521c6f799cb8_GWIN-AN5B307EEHM,TimeStamp:11.7.2014.
>  8:12:24
> I have examined the source and I see the ReceivingLinkEndpoint instance gets 
> to a detached state, so it throws an exception.
> Could that be a bug? 
> Can you provide an example which works with Windows Service Bus?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to