qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ulrich Romahn (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-421) Support the PLAIN (and/or other) authentication method in the proton-j messenger
Date Thu, 26 Dec 2013 23:41:50 GMT

    [ https://issues.apache.org/jira/browse/PROTON-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13857160#comment-13857160

Ulrich Romahn commented on PROTON-421:

I have the exact same issue when trying to use PLAIN authentication against the qpid-cpp broker.

This needs to be fixed very soon.

> Support the PLAIN (and/or other) authentication method in the proton-j messenger
> --------------------------------------------------------------------------------
>                 Key: PROTON-421
>                 URL: https://issues.apache.org/jira/browse/PROTON-421
>             Project: Qpid Proton
>          Issue Type: New Feature
>          Components: proton-j
>    Affects Versions: 0.5
>         Environment: all
>            Reporter: Jonathan Albrecht
> The proton-j messenger only supports anonymous authentication at the moment. Lack of
other mechanisms limits the messenger's usability especially with message brokers.
> A simple test is running the org.apache.qpid.proton.example Recv and Send classes against
the Qpid java broker. They work only if the AMQP port uses anonymous authentication. With
the default password file authentication they fire a steady stream of exceptions like:
> Sep 04, 2013 4:21:06 PM org.apache.qpid.proton.messenger.impl.MessengerImpl processActive

> SEVERE: Error processing connection 
> java.io.IOException: An established connection was aborted by the software in your host
>                 at sun.nio.ch.SocketDispatcher.read0(Native Method) 
>                 at sun.nio.ch.SocketDispatcher.read(Unknown Source) 
>                 at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source) 
>                 at sun.nio.ch.IOUtil.read(Unknown Source) 
>                 at sun.nio.ch.SocketChannelImpl.read(Unknown Source) 
>                 at org.apache.qpid.proton.driver.impl.ConnectorImpl.read(ConnectorImpl.java:127)

>                 at org.apache.qpid.proton.driver.impl.ConnectorImpl.process(ConnectorImpl.java:93)

>                 at org.apache.qpid.proton.messenger.impl.MessengerImpl.processActive(MessengerImpl.java:502)

>                 at org.apache.qpid.proton.messenger.impl.MessengerImpl.waitUntil(MessengerImpl.java:617)

>                 at org.apache.qpid.proton.messenger.impl.MessengerImpl.waitUntil(MessengerImpl.java:585)

>                 at org.apache.qpid.proton.messenger.impl.MessengerImpl.recv(MessengerImpl.java:254)

>                 at org.apache.qpid.proton.messenger.impl.MessengerImpl.recv(MessengerImpl.java:259)

>                 at org.apache.qpid.proton.example.Recv.run(Recv.java:108) 
>                 at org.apache.qpid.proton.example.Recv.main(Recv.java:127) 

This message was sent by Atlassian JIRA

View raw message