Story #8800
Remove extra httpclient and httpcore files from cn web lib
100%
Description
Bryce reported this bug:
https://redmine.dataone.org/issues/8799
The error message on the tomcat log file suggests that there were two httpclient jar files:
SEVERE [ajp-nio-8009-exec-14] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [d1] in context with path [/cn] threw exception [Handler processing failed; nested exception is java.lang.NoSuchMethodError: org.apache.http.impl.conn.CPool.setValidateAfterInactivity(I)V] with root cause
java.lang.NoSuchMethodError:
In the lib, we had those jar files:
httpclient-4.3.6.jar and httpclient-4.5.2.jar
httpcore-4.3.3.jar and httpcore-4.4.4.jar
I removed both httpclient-4.5.2.jar and httpcore-4.4.4.jar and it works.
First I tried to remove httpclient-4.3.6.jar`, but our system depends on it.
History
#1 Updated by Jing Tao over 5 years ago
- Assignee changed from Rob Nahf to Jing Tao
#2 Updated by Jing Tao over 5 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
Modified the pom file and excluded those jar files from the war file.