[
https://issues.jboss.org/browse/WFCORE-4083?page=com.atlassian.jira.plugi...
]
Sanne Grinovero commented on WFCORE-4083:
-----------------------------------------
[~kabirkhan] I only noticed this by testing an Hibernate Search feature which is not
technically supported by products (the Elasticsearch integration), so not strictly a
blocker ... yet:
# This is a very popular feature, I expect lots of people being annoyed by this
# Nobody else needing Basic Authentication of the apache http client to work ?? I
don't know
Considering it can be fixed by a one-liner in the {{module.xml}} I would recommend to
include it, especially for the sake of other usage beyond Hibernate Search needs.
org.apache.httpcomponents.core requires org.apache.commons.codec
----------------------------------------------------------------
Key: WFCORE-4083
URL:
https://issues.jboss.org/browse/WFCORE-4083
Project: WildFly Core
Issue Type: Bug
Reporter: Sanne Grinovero
Fix For: 6.0.1.Final
In WildFly 14 we get:
{code:java}
Exception in thread "Hibernate Search: Elasticsearch transport thread-2"
java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64
2018-09-03 11:58:13,120 ERROR [stderr] (Hibernate Search: Elasticsearch transport
thread-2) at org.apache.http.impl.auth.BasicScheme.authenticate(BasicScheme.java:168)
2018-09-03 11:58:13,120 ERROR [stderr] (Hibernate Search: Elasticsearch transport
thread-2) at
org.apache.http.impl.auth.HttpAuthenticator.doAuth(HttpAuthenticator.java:239)
2018-09-03 11:58:13,120 ERROR [stderr] (Hibernate Search: Elasticsearch transport
thread-2) at
org.apache.http.impl.auth.HttpAuthenticator.generateAuthResponse(HttpAuthenticator.java:218)
2018-09-03 11:58:13,120 ERROR [stderr] (Hibernate Search: Elasticsearch transport
thread-2) at
org.apache.http.impl.nio.client.MainClientExec.generateRequest(MainClientExec.java:224)
{code}
Seems that the *org.apache.httpcomponents.core* (WildFly core) module is not declaring
the dependency on module *org.apache.commons.codec* (WildFly full).
Should this be added as an optional dependency, or maybe the need for this module
warrants moving the *org.apache.commons.codec* module to WildFly core ?
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)