qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Godfrey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6100) NPE when the password is wrong
Date Tue, 16 Sep 2014 10:02:34 GMT

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

Rob Godfrey commented on QPID-6100:
-----------------------------------

For these sort of questions, it's probably best to mail on the qpid users mailing list (see:
https://qpid.apache.org/discussion.html )

The Qpid Java Broker and JMS client *should* support local transactions... are you using persistent
messages / which persistence store are you using for the broker.  The performance on a single
connection is determined by how often the broker can sync to disk... on a conventional hard
drive 60 sync's per second doesn't sound that out of line... Performance with a good SSD should
be faster.  The broker will scale with more connections (since it can do more work in a single
sync-to-disk).

Since Auto-Ack doesn't have any of the same persistence guarantees then you get much better
performance (in general) - especially if you run the producer in non-synchronous mode.

Anyway - we should continue this discussion on the user-list as above :-)

> NPE when the password is wrong
> ------------------------------
>
>                 Key: QPID-6100
>                 URL: https://issues.apache.org/jira/browse/QPID-6100
>             Project: Qpid
>          Issue Type: Bug
>          Components: JMS AMQP 1.0 Client
>    Affects Versions: 0.28
>            Reporter: Yong Deng
>            Assignee: Rob Godfrey
>             Fix For: 0.31
>
>
> When connecting QPID broker or windows azure to sub events, input a wrong password, then
there will be NPE during the procedure:
> 18:49:30,563 ERROR [JMSSource] [as][asm][vtbaadmin][AzureRouter] DF-1215: Component "[AS_Source_Source]"
failed processi
> ng event.
> com.vitria.dataflow.framework.component.source.DataflowSourceException: [as][asm][vtbaadmin][AzureRouter]
DFJMS-1102: Fa
> il to connect to JMS provider and the reason is "null"
>         at com.vitria.dataflow.jms.source.JMSPollable.connect(JMSPollable.java:320)
>         at com.vitria.dataflow.jms.source.JMSPollable.poll(JMSPollable.java:169)
>         at com.vitria.dataflow.framework.component.source.pollable.PollableSource.generateEvents(PollableSource.java:109
> )
>         at com.vitria.dataflow.framework.component.internal.AsyncComponent.run(AsyncComponent.java:90)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.NullPointerException
>         at org.apache.qpid.amqp_1_0.transport.ConnectionEndpoint.getFirstFreeChannel(ConnectionEndpoint.java:325)
>         at org.apache.qpid.amqp_1_0.transport.ConnectionEndpoint.createSession(ConnectionEndpoint.java:228)
>         at org.apache.qpid.amqp_1_0.client.Session.<init>(Session.java:58)
>         at org.apache.qpid.amqp_1_0.client.Connection.createSession(Connection.java:297)
>         at org.apache.qpid.amqp_1_0.jms.impl.SessionImpl.<init>(SessionImpl.java:86)
>         at org.apache.qpid.amqp_1_0.jms.impl.ConnectionImpl.createSession(ConnectionImpl.java:231)
>         at org.apache.qpid.amqp_1_0.jms.impl.ConnectionImpl.createSession(ConnectionImpl.java:210)
>         at org.apache.qpid.amqp_1_0.jms.impl.ConnectionImpl.createSession(ConnectionImpl.java:40)
>         at com.vitria.dataflow.jms.common.ConnectionLib.createSession(ConnectionLib.java:96)
>         at com.vitria.dataflow.jms.source.JMSPollable.connect(JMSPollable.java:314)
>         ... 4 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message