On 08/08/17 12:27, 4 Integration wrote:
As suggested by Gordon => Running with env var PN_TRACE_FRM=1 and post the
protocol trace you see.

Configured a proper logger and got more details:


This looks like either there is no source called test.topic configured on the service bus, or it doesn't like the 'topic' capability. (You could try a further experiment with another see if we can rule out one or other of these).

(The ~15 seems to be coming from something on the service bus side.)

[350616316:1] -> Attach{name='qpid-jms:receiver:ID:5a68cd00-6948-
46ff-9599-1b3803aaa73c:1:1:1:test.topic', handle=0, role=RECEIVER,
sndSettleMode=UNSETTLED, rcvSettleMode=FIRST,
source=Source{address='test.topic',
durable=NONE, expiryPolicy=LINK_DETACH, timeout=0, dynamic=false,
dynamicNodeProperties=null, distributionMode=null, filter=null,
defaultOutcome=Modified{deliveryFailed=true, undeliverableHere=null,
messageAnnotations=null}, outcomes=[amqp:accepted:list, amqp:rejected:list,
amqp:released:list, amqp:modified:list], capabilities=[topic]},
target=Target{address='null', durable=NONE, expiryPolicy=SESSION_END,
timeout=0, dynamic=false, dynamicNodeProperties=null, capabilities=null},
unsettled=null, incompleteUnsettled=false, initialDeliveryCount=null,
maxMessageSize=null, offeredCapabilities=null, desiredCapabilities=null,
properties=null}
2017-08-08T12:27:32.905 TRACE [org.apache.qpid.jms.provider.amqp.FRAMES] -
SENT: Attach{name='qpid-jms:receiver:ID:5a68cd00-6948-
46ff-9599-1b3803aaa73c:1:1:1:test.topic', handle=0, role=RECEIVER,
sndSettleMode=UNSETTLED, rcvSettleMode=FIRST,
source=Source{address='test.topic',
durable=NONE, expiryPolicy=LINK_DETACH, timeout=0, dynamic=false,
dynamicNodeProperties=null, distributionMode=null, filter=null,
defaultOutcome=Modified{deliveryFailed=true, undeliverableHere=null,
messageAnnotations=null}, outcomes=[amqp:accepted:list, amqp:rejected:list,
amqp:released:list, amqp:modified:list], capabilities=[topic]},
target=Target{address='null', durable=NONE, expiryPolicy=SESSION_END,
timeout=0, dynamic=false, dynamicNodeProperties=null, capabilities=null},
unsettled=null, incompleteUnsettled=false, initialDeliveryCount=null,
maxMessageSize=null, offeredCapabilities=null, desiredCapabilities=null,
properties=null}
2017-08-08T12:27:32.906 TRACE
[org.apache.qpid.jms.transports.netty.NettyTcpTransport]
- Attempted write of: 234 bytes
2017-08-08T12:27:33.395 TRACE
[org.apache.qpid.jms.transports.netty.NettyTcpTransport]
- New data read: 180 bytes incoming: PooledUnsafeDirectByteBuf(ridx: 0,
widx: 180, cap: 245)
[350616316:1] <- Attach{name='qpid-jms:receiver:ID:5a68cd00-6948-
46ff-9599-1b3803aaa73c:1:1:1:test.topic', handle=0, role=SENDER,
sndSettleMode=UNSETTLED, rcvSettleMode=FIRST, source=null, target=null,
unsettled=null, incompleteUnsettled=false, initialDeliveryCount=0,
maxMessageSize=266240, offeredCapabilities=null, desiredCapabilities=null,
properties={com.microsoft:tracking-id=eddac23358584ea695974b0e0738b5cc_G28}}
2017-08-08T12:27:33.396 TRACE [org.apache.qpid.jms.provider.amqp.FRAMES] -
RECV: Attach{name='qpid-jms:receiver:ID:5a68cd00-6948-
46ff-9599-1b3803aaa73c:1:1:1:test.topic', handle=0, role=SENDER,
sndSettleMode=UNSETTLED, rcvSettleMode=FIRST, source=null, target=null,
unsettled=null, incompleteUnsettled=false, initialDeliveryCount=0,
maxMessageSize=266240, offeredCapabilities=null, desiredCapabilities=null,
properties={com.microsoft:tracking-id=eddac23358584ea695974b0e0738b5cc_G28}}
2017-08-08T12:27:33.397 TRACE [org.apache.qpid.jms.provider.amqp.AmqpProvider]
- New Proton Event: LINK_INIT
2017-08-08T12:27:33.397 TRACE [org.apache.qpid.jms.provider.amqp.AmqpProvider]
- New Proton Event: LINK_LOCAL_OPEN
2017-08-08T12:27:33.397 TRACE [org.apache.qpid.jms.provider.amqp.AmqpProvider]
- New Proton Event: LINK_REMOTE_OPEN
2017-08-08T12:27:33.617 TRACE
[org.apache.qpid.jms.transports.netty.NettyTcpTransport]
- New data read: 509 bytes incoming: PooledUnsafeDirectByteBuf(ridx: 0,
widx: 509, cap: 565)
[350616316:1] <- Detach{handle=0, closed=true,
error=Error{condition=amqp:not-found,
description='The messaging entity 'my-namespace:topic:test.
topic~15|qpid-jms:receiver:ID:5a68cd00-6948-46ff-9599-1b3803aaa73c:1:1:1:test.topic'
could not be found. TrackingId:12ecc2a3-f8f3-42a3-8bd5-ad5d9823c367_B20,
SystemTracker:my-namespace:topic:test.topic~15|qpid-jms:
receiver:ID:5a68cd00-6948-46ff-9599-1b3803aaa73c:1:1:1:test.topic,
Timestamp:8/8/2017 10:27:32 AM TrackingId:eddac23358584ea695974b0e0738b5cc_G28,
SystemTracker:gateway6, Timestamp:8/8/2017 10:27:32 AM', info=null}}
2017-08-08T12:27:33.618 TRACE [org.apache.qpid.jms.provider.amqp.FRAMES] -
RECV: Detach{handle=0, closed=true, error=Error{condition=amqp:not-found,
description='The messaging entity 'my-namespace:topic:test.
topic~15|qpid-jms:receiver:ID:5a68cd00-6948-46ff-9599-1b3803aaa73c:1:1:1:test.topic'
could not be found. TrackingId:12ecc2a3-f8f3-42a3-8bd5-ad5d9823c367_B20,
SystemTracker:my-namespace:topic:test.topic~15|qpid-jms:
receiver:ID:5a68cd00-6948-46ff-9599-1b3803aaa73c:1:1:1:test.topic,
Timestamp:8/8/2017 10:27:32 AM TrackingId:eddac23358584ea695974b0e0738b5cc_G28,
SystemTracker:gateway6, Timestamp:8/8/2017 10:27:32 AM', info=null}}
2017-08-08T12:27:33.618 TRACE [org.apache.qpid.jms.provider.amqp.AmqpProvider]
- New Proton Event: LINK_REMOTE_CLOSE
2017-08-08T12:27:33.618 WARN
[org.apache.qpid.jms.provider.amqp.builders.AmqpResourceBuilder]
- Open of resource:(JmsConsumerInfo: {
ID:5a68cd00-6948-46ff-9599-1b3803aaa73c:1:1:1,
destination = test.topic }) failed: The messaging entity
'my-namespace:topic:test.topic~15|qpid-jms:receiver:ID:
5a68cd00-6948-46ff-9599-1b3803aaa73c:1:1:1:test.topic' could not be found.
TrackingId:12ecc2a3-f8f3-42a3-8bd5-ad5d9823c367_B20,
SystemTracker:my-namespace:topic:test.topic~15|qpid-jms:
receiver:ID:5a68cd00-6948-46ff-9599-1b3803aaa73c:1:1:1:test.topic,
Timestamp:8/8/2017 10:27:32 AM TrackingId:eddac23358584ea695974b0e0738b5cc_G28,
SystemTracker:gateway6, Timestamp:8/8/2017 10:27:32 AM [condition =
amqp:not-found]
2017-08-08T12:27:33.619 TRACE [org.apache.qpid.jms.provider.amqp.AmqpProvider]
- New Proton Event: LINK_LOCAL_CLOSE
[350616316:1] -> Detach{handle=0, closed=true, error=null}
2017-08-08T12:27:33.619 TRACE [org.apache.qpid.jms.provider.amqp.FRAMES] -
SENT: Detach{handle=0, closed=true, error=null}
2017-08-08T12:27:33.620 TRACE
[org.apache.qpid.jms.transports.netty.NettyTcpTransport]
- Attempted write of: 16 bytes
javax.jms.InvalidDestinationException: The messaging entity
'my-namespace:topic:test.topic~15|qpid-jms:receiver:ID:
5a68cd00-6948-46ff-9599-1b3803aaa73c:1:1:1:test.topic' could not be found.
TrackingId:12ecc2a3-f8f3-42a3-8bd5-ad5d9823c367_B20,
SystemTracker:my-namespace:topic:test.topic~15|qpid-jms:
receiver:ID:5a68cd00-6948-46ff-9599-1b3803aaa73c:1:1:1:test.topic,
Timestamp:8/8/2017 10:27:32 AM TrackingId:eddac23358584ea695974b0e0738b5cc_G28,
SystemTracker:gateway6, Timestamp:8/8/2017 10:27:32 AM [condition =
amqp:not-found]
at org.apache.qpid.jms.provider.amqp.AmqpSupport.convertToException(
AmqpSupport.java:150)
at org.apache.qpid.jms.provider.amqp.AmqpSupport.convertToException(
AmqpSupport.java:117)
at org.apache.qpid.jms.provider.amqp.builders.AmqpResourceBuilder.
handleClosed(AmqpResourceBuilder.java:185)
at org.apache.qpid.jms.provider.amqp.builders.AmqpResourceBuilder.
processRemoteClose(AmqpResourceBuilder.java:129)
at org.apache.qpid.jms.provider.amqp.AmqpProvider.
processUpdates(AmqpProvider.java:905)
at org.apache.qpid.jms.provider.amqp.AmqpProvider.access$1900(
AmqpProvider.java:93)
at org.apache.qpid.jms.provider.amqp.AmqpProvider$18.run(
AmqpProvider.java:791)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$
ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(
ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
2017-08-08T12:28:25.904 TRACE
[org.apache.qpid.jms.transports.netty.NettyTcpTransport]
- New data read: 8 bytes incoming: PooledUnsafeDirectByteBuf(ridx: 0, widx:
8, cap: 69)
[350616316:0] <- Empty Frame
2017-08-08T12:28:25.905 TRACE [org.apache.qpid.jms.provider.amqp.FRAMES] -
RECV: Empty Frame
2017-08-08T12:28:25.906 TRACE [org.apache.qpid.jms.provider.amqp.AmqpProvider]
- New Proton Event: LINK_FINAL


/ Joacim




On Tue, Aug 8, 2017 at 10:58 AM, 4 Integration <4integrat...@gmail.com>
wrote:

Tested to change but the same error.

         //subscriber = subscriberSession.createDurableSubscriber(topic,
"DurableSubscriber1");
         subscriber = subscriberSession.createConsumer(topic);

In the exception - what is "~15" characters?


javax.jms.InvalidDestinationException: The messaging entity
'my-namespace:topic:test.topic~15|qpid-jms:receiver:ID:
26eaaacf-965f-4d10-869f-f77b9dca5918:1:1:1:test.topic' could not be
found. TrackingId:12ecc2a3-f8f3-42a3-8bd5-ad5d9823c367_B20,
SystemTracker:my-namespace:topic:test.topic~15|qpid-jms:
receiver:ID:26eaaacf-965f-4d10-869f-f77b9dca5918:1:1:1:test.topic,
Timestamp:8/8/2017 8:51:31 AM TrackingId:eddac23358584ea695974b0e0738b5cc_G28,
SystemTracker:gateway6, Timestamp:8/8/2017 8:51:31 AM [condition =
amqp:not-found]
at org.apache.qpid.jms.provider.amqp.AmqpSupport.convertToException(
AmqpSupport.java:150)
at org.apache.qpid.jms.provider.amqp.AmqpSupport.convertToException(
AmqpSupport.java:117)
at org.apache.qpid.jms.provider.amqp.builders.AmqpResourceBuilder.
handleClosed(AmqpResourceBuilder.java:185)
at org.apache.qpid.jms.provider.amqp.builders.AmqpResourceBuilder.
processRemoteClose(AmqpResourceBuilder.java:129)
at org.apache.qpid.jms.provider.amqp.AmqpProvider.
processUpdates(AmqpProvider.java:905)
at org.apache.qpid.jms.provider.amqp.AmqpProvider.access$1900(
AmqpProvider.java:93)
at org.apache.qpid.jms.provider.amqp.AmqpProvider$18.run(
AmqpProvider.java:791)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$
ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$
ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)


/ Joacim



On Tue, Aug 8, 2017 at 10:10 AM, Gordon Sim <g...@redhat.com> wrote:

Does a non-durable subscription work?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to