GitHub user yakuninv opened a pull request:
https://github.com/apache/qpid-broker-j/pull/13
QPID-7372, hasn't been fixed fully, there is still code dependency on logback
Here we have hardcoded dependency on logback which makes broker fail to start when using
https://github.com/daknin/qpid-maven-plugin/, because maven uses org.slf4j.impl.SimpleLogger.
Exception:
Caused by: java.lang.ClassCastException: org.slf4j.impl.SimpleLogger cannot be cast to
ch.qos.logback.classic.Logger
at org.apache.qpid.server.Broker$1.run(Broker.java:147)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.qpid.server.Broker.startup(Broker.java:142)
at com.github.daknin.qpid.plugin.QpidBroker.start(QpidBroker.java:43)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yakuninv/qpid-broker-j patch-1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/qpid-broker-j/pull/13.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #13
----
commit 4758a06e269f05172ff5066b57abe344fbd6643a
Author: yakuninv <yakuninv@...>
Date: 2018-09-25T16:15:14Z
Update Broker.java
Here we have hardcoded dependency on logback which makes broker fail to start when using
https://github.com/daknin/qpid-maven-plugin/, because maven uses org.slf4j.impl.SimpleLogger.
Exception:
Caused by: java.lang.ClassCastException: org.slf4j.impl.SimpleLogger cannot be cast to
ch.qos.logback.classic.Logger
at org.apache.qpid.server.Broker$1.run(Broker.java:147)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.qpid.server.Broker.startup(Broker.java:142)
at com.github.daknin.qpid.plugin.QpidBroker.start(QpidBroker.java:43)
commit 097446ea55593d35d0c6d1bd0051ef12aa1a15d8
Author: yakuninv <yakuninv@...>
Date: 2018-09-25T16:17:26Z
Update Broker.java
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
|