[jira] Updated: (QPID-2979) The following SASL mechanisms [PLAIN] specified by the client are not supported by the broker
[ https://issues.apache.org/jira/browse/QPID-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gordon Sim updated QPID-2979: - Fix Version/s: (was: Future) 0.9 The following SASL mechanisms [PLAIN] specified by the client are not supported by the broker - Key: QPID-2979 URL: https://issues.apache.org/jira/browse/QPID-2979 Project: Qpid Issue Type: Bug Components: C++ Broker, Java Client Affects Versions: 0.8 Environment: Windows XP Reporter: Ibisek Assignee: Gordon Sim Fix For: 0.9 Attachments: sasl-anonymous-java-client.patch An exception is thrown when connecting from a Java client (v 0.8) to qpidd (v 0.8) run with --auth no. javax.jms.JMSException: Error creating connection: The following SASL mechanisms [PLAIN] specified by the client are not supported by the broker at org.apache.qpid.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:286) Used JNDI/JMS configuration: java.naming.factory.initial = org.apache.qpid.jndi.PropertiesFileInitialContextFactory connectionfactory.qpidConnectionfactory = amqp://guest:guest@clientid/abcd?brokerlist='tcp://localhost:5672' destination.mainSend = direct://amq.direct//step.01 It worked just fine in 0.6 but no success now in 0.8. The broker is from Contributed C++ Packages - Windows Installer (http://www.riverace.com/qpid/qpidc-0.8-x86.msi) Logs from qpidd: C:Program Filesapache-qpidc-0.8binqpidd --auth no --log-enable info+ --log-enable trace+:amqp_0_10 2010-12-15 11:42:48 info Management enabled 2010-12-15 11:42:48 notice SASL disabled: No Authentication Performed 2010-12-15 11:42:48 info Policy file not specified. ACL Disabled, no ACL checking being done! 2010-12-15 11:42:48 error Failed to initialise SSL listener: The credentials supplied to the package were not recognized (cpps rcqpidbrokerwindowsSslProtocolFactory.cpp:177) 2010-12-15 11:42:48 notice Listening on TCP port 5672 5672 2010-12-15 11:42:48 notice Broker running 2010-12-15 11:42:53 trace SENT 127.0.0.1:1786 INIT(0-10) 2010-12-15 11:42:53 trace SENT [127.0.0.1:1786]: Frame[BEbe; channel=0; {ConnectionStartBody: server-properties={qpid.federation_tag:V2:36:s tr16(96790865-dc5c-427a-affe-70d021653737)}; mechanisms=str16{V2:9:str16(ANONYMOUS)}; locales=str16{V2:5:str16(en_US)}; }] Run it with the -t option: 2010-12-15 11:45:56 trace SEND raiseEvent (v1) class=org.apache.qpid.broker.clientDisconnect 2010-12-15 11:46:01 debug RECV [127.0.0.1:1794] INIT(0-10) 2010-12-15 11:46:01 trace SENT 127.0.0.1:1794 INIT(0-10) 2010-12-15 11:46:01 trace SENT [127.0.0.1:1794]: Frame[BEbe; channel=0; {ConnectionStartBody: server-properties={qpid.federation_tag:V2:36:s tr16(96790865-dc5c-427a-affe-70d021653737)}; mechanisms=str16{V2:9:str16(ANONYMOUS)}; locales=str16{V2:5:str16(en_US)}; }] 2010-12-15 11:46:01 debug DISCONNECTED [127.0.0.1:1794] 2010-12-15 11:46:01 trace SEND raiseEvent (v1) class=org.apache.qpid.broker.clientDisconnect -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Updated: (QPID-2979) The following SASL mechanisms [PLAIN] specified by the client are not supported by the broker
[ https://issues.apache.org/jira/browse/QPID-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gordon Sim updated QPID-2979: - Attachment: sasl-anonymous-java-client.patch This patch provides an ANONYMOUS SaslClient implementation (the broker already seems to have a SaslServer). It also adds the factory to the dynamic list properties and registers all factories from AMQConnectionDelegate_0_10 as the registration only seems to happen for 0-8/0-9 paths at present. The following SASL mechanisms [PLAIN] specified by the client are not supported by the broker - Key: QPID-2979 URL: https://issues.apache.org/jira/browse/QPID-2979 Project: Qpid Issue Type: Bug Components: C++ Broker, Java Client Affects Versions: 0.8 Environment: Windows XP Reporter: Ibisek Fix For: Future Attachments: sasl-anonymous-java-client.patch An exception is thrown when connecting from a Java client (v 0.8) to qpidd (v 0.8) run with --auth no. javax.jms.JMSException: Error creating connection: The following SASL mechanisms [PLAIN] specified by the client are not supported by the broker at org.apache.qpid.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:286) Used JNDI/JMS configuration: java.naming.factory.initial = org.apache.qpid.jndi.PropertiesFileInitialContextFactory connectionfactory.qpidConnectionfactory = amqp://guest:guest@clientid/abcd?brokerlist='tcp://localhost:5672' destination.mainSend = direct://amq.direct//step.01 It worked just fine in 0.6 but no success now in 0.8. The broker is from Contributed C++ Packages - Windows Installer (http://www.riverace.com/qpid/qpidc-0.8-x86.msi) Logs from qpidd: C:Program Filesapache-qpidc-0.8binqpidd --auth no --log-enable info+ --log-enable trace+:amqp_0_10 2010-12-15 11:42:48 info Management enabled 2010-12-15 11:42:48 notice SASL disabled: No Authentication Performed 2010-12-15 11:42:48 info Policy file not specified. ACL Disabled, no ACL checking being done! 2010-12-15 11:42:48 error Failed to initialise SSL listener: The credentials supplied to the package were not recognized (cpps rcqpidbrokerwindowsSslProtocolFactory.cpp:177) 2010-12-15 11:42:48 notice Listening on TCP port 5672 5672 2010-12-15 11:42:48 notice Broker running 2010-12-15 11:42:53 trace SENT 127.0.0.1:1786 INIT(0-10) 2010-12-15 11:42:53 trace SENT [127.0.0.1:1786]: Frame[BEbe; channel=0; {ConnectionStartBody: server-properties={qpid.federation_tag:V2:36:s tr16(96790865-dc5c-427a-affe-70d021653737)}; mechanisms=str16{V2:9:str16(ANONYMOUS)}; locales=str16{V2:5:str16(en_US)}; }] Run it with the -t option: 2010-12-15 11:45:56 trace SEND raiseEvent (v1) class=org.apache.qpid.broker.clientDisconnect 2010-12-15 11:46:01 debug RECV [127.0.0.1:1794] INIT(0-10) 2010-12-15 11:46:01 trace SENT 127.0.0.1:1794 INIT(0-10) 2010-12-15 11:46:01 trace SENT [127.0.0.1:1794]: Frame[BEbe; channel=0; {ConnectionStartBody: server-properties={qpid.federation_tag:V2:36:s tr16(96790865-dc5c-427a-affe-70d021653737)}; mechanisms=str16{V2:9:str16(ANONYMOUS)}; locales=str16{V2:5:str16(en_US)}; }] 2010-12-15 11:46:01 debug DISCONNECTED [127.0.0.1:1794] 2010-12-15 11:46:01 trace SEND raiseEvent (v1) class=org.apache.qpid.broker.clientDisconnect -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Updated: (QPID-2979) The following SASL mechanisms [PLAIN] specified by the client are not supported by the broker
[ https://issues.apache.org/jira/browse/QPID-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Huston updated QPID-2979: --- Component/s: C++ Broker Noting that the C++ broker is involved in this report as well. The following SASL mechanisms [PLAIN] specified by the client are not supported by the broker - Key: QPID-2979 URL: https://issues.apache.org/jira/browse/QPID-2979 Project: Qpid Issue Type: Bug Components: C++ Broker, Java Client Affects Versions: 0.8 Environment: Windows XP Reporter: Ibisek Fix For: 0.6 An exception is thrown when connecting from a Java client (v 0.8) to qpidd (v 0.8) run with --auth no. javax.jms.JMSException: Error creating connection: The following SASL mechanisms [PLAIN] specified by the client are not supported by the broker at org.apache.qpid.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:286) Used JNDI/JMS configuration: java.naming.factory.initial = org.apache.qpid.jndi.PropertiesFileInitialContextFactory connectionfactory.qpidConnectionfactory = amqp://guest:gu...@clientid/abcd?brokerlist='tcp://localhost:5672' destination.mainSend = direct://amq.direct//step.01 It worked just fine in 0.6 but no success now in 0.8. The broker is from Contributed C++ Packages - Windows Installer (http://www.riverace.com/qpid/qpidc-0.8-x86.msi) Logs from qpidd: C:Program Filesapache-qpidc-0.8binqpidd --auth no --log-enable info+ --log-enable trace+:amqp_0_10 2010-12-15 11:42:48 info Management enabled 2010-12-15 11:42:48 notice SASL disabled: No Authentication Performed 2010-12-15 11:42:48 info Policy file not specified. ACL Disabled, no ACL checking being done! 2010-12-15 11:42:48 error Failed to initialise SSL listener: The credentials supplied to the package were not recognized (cpps rcqpidbrokerwindowsSslProtocolFactory.cpp:177) 2010-12-15 11:42:48 notice Listening on TCP port 5672 5672 2010-12-15 11:42:48 notice Broker running 2010-12-15 11:42:53 trace SENT 127.0.0.1:1786 INIT(0-10) 2010-12-15 11:42:53 trace SENT [127.0.0.1:1786]: Frame[BEbe; channel=0; {ConnectionStartBody: server-properties={qpid.federation_tag:V2:36:s tr16(96790865-dc5c-427a-affe-70d021653737)}; mechanisms=str16{V2:9:str16(ANONYMOUS)}; locales=str16{V2:5:str16(en_US)}; }] Run it with the -t option: 2010-12-15 11:45:56 trace SEND raiseEvent (v1) class=org.apache.qpid.broker.clientDisconnect 2010-12-15 11:46:01 debug RECV [127.0.0.1:1794] INIT(0-10) 2010-12-15 11:46:01 trace SENT 127.0.0.1:1794 INIT(0-10) 2010-12-15 11:46:01 trace SENT [127.0.0.1:1794]: Frame[BEbe; channel=0; {ConnectionStartBody: server-properties={qpid.federation_tag:V2:36:s tr16(96790865-dc5c-427a-affe-70d021653737)}; mechanisms=str16{V2:9:str16(ANONYMOUS)}; locales=str16{V2:5:str16(en_US)}; }] 2010-12-15 11:46:01 debug DISCONNECTED [127.0.0.1:1794] 2010-12-15 11:46:01 trace SEND raiseEvent (v1) class=org.apache.qpid.broker.clientDisconnect -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org