You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Daniil Kirilyuk (Jira)" <ji...@apache.org> on 2022/08/15 07:11:00 UTC

[jira] [Commented] (QPID-8595) Unable to connect to QPID [Broker-J] due to authentication issue.

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

Daniil Kirilyuk commented on QPID-8595:
---------------------------------------

Hi,

From the screenshots provided it seems that there is a broker-j configuration issue (authentication provider in errored state). It seems as well that you're using a rabbitmq client to connect QPID server. I would recommend to use QPID JMS client (see [https://qpid.apache.org/components/jms/index.html] for the documentation and [https://mvnrepository.com/artifact/org.apache.qpid/qpid-jms-client] for maven artifacts).

Could you please provide the logs in form of the text files instead of the screenshots? Would it be possible to provide the broker-j configuration file config.json as well?

> Unable to connect to QPID [Broker-J] due to authentication issue.
> -----------------------------------------------------------------
>
>                 Key: QPID-8595
>                 URL: https://issues.apache.org/jira/browse/QPID-8595
>             Project: Qpid
>          Issue Type: Bug
>          Components: Broker-J
>    Affects Versions: qpid-java-broker-8.0.6
>         Environment: System: Windows10 64bit
> QPID-Broker-J: 8.0.6
> Springboot: 2.2.4.RELEASE (Will be migrating to 2.6/higher)
> JAVA: JDK8/JDK11/JDK17
>  
>            Reporter: Biswa Ranjan Ray
>            Priority: Major
>         Attachments: Application_logs_1.jpg, Application_logs_2.jpg, QPID_logs.jpg
>
>
> We've a springboot application and we use QPID as a message broker. When we tried to start Qpid we found it throws a warning related to {*}AuthenticationProvider{*}. And when we try to run our application it crashes with a Socket closed exception. Application logs and Qpid warnings are attached.
> We also tried the following settings :
>  * Set QPID_HOME to its installation directory in Windows system variables 
>  * Set "modelVersion" : "8.0" in config.json file
>  * Add "secureOnlyMechanisms": [] under "authenticationproviders" in config.json file. The config.json file is found under C:\<User Dir>\AppData\Roaming\Qpid
>  * Set "version" : "8.0" in preference.json file.
> We tried to run QPID with different versions of JDK e.g 8/11/17, but it works with none.
> We are also planning to migrate our app to springboot 2.6/higher and JDK 11/higher. Do you recommend to use QPID against these environments?
> Any suggestion please.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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