Project

General

Profile

Story #8800

Remove extra httpclient and httpcore files from cn web lib

Added by Jing Tao over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
d1_cn_service
Target version:
-
Start date:
2019-05-15
Due date:
% Done:

100%

Story Points:

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.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)