DataONE Tasks: Issueshttps://redmine.dataone.org/https://redmine.dataone.org/favicon.ico2020-09-16T20:42:07ZDataONE Tasks
Redmine Infrastructure - Story #8869 (New): Equivalent identities show owning different amount of package...https://redmine.dataone.org/issues/88692020-09-16T20:42:07ZJing Taotao@nceas.ucsb.edu
<p>Matt reported he could see 188 packages listed as <code>My Dataset</code> on the profile page of KNB, which including two packages he created as his ORCID, when he logged in by his ldap account. However, he only could see two packages when he logged in by his ORCID even though the two identities are set to be equivalent:<br>
<a href="https://cn.dataone.org/cn/v2/accounts/http%3A%2F%2Forcid.org%2F0000-0003-0077-4738">https://cn.dataone.org/cn/v2/accounts/http%3A%2F%2Forcid.org%2F0000-0003-0077-4738</a></p>
<p>It seems the equivalent identities are not commutative.</p>
<p>Matt also noticed that the equivalent ldap id for his ORCID is <code>UID=jones,O=NCEAS,DC=ecoinformatics,DC=org</code>, which uses <code>UID</code> rather than <code>uid</code>. He suspected this is the issue to cause the problem.</p>
Infrastructure - Story #8868 (Closed): d1_solr_extension can't handle the permission rules for th...https://redmine.dataone.org/issues/88682020-09-01T21:13:33ZJing Taotao@nceas.ucsb.edu
<p>We found a user (ORCHID) can't read a private object's solr index even though the user is in the group which has the read permission. The d1_solr_entension log shows:<br>
<code><br>
[DEBUG] 2020-09-01 21:09:34,622 (CNIdentityLDAPImpl:getSubjectInfo:934) subjectInfo requested for: 'http://orcid.org/0000-0002-1209-5268'<br>
[DEBUG] 2020-09-01 21:09:34,622 (CNIdentityLDAPImpl:getSubjectInfo:935) checking if redaction holds for the calling user: 'http://orcid.org/0000-0002-1209-5268'<br>
[DEBUG] 2020-09-01 21:09:34,622 (CNIdentityLDAPImpl:getSubjectInfo:942) subject MATCH. lifting redaction for the calling user: 'http://orcid.org/0000-0002-1209-5268'<br>
[ WARN] 2020-09-01 21:09:34,623 (CNIdentityLDAPImpl:constructDn:786) Subject not a valid DN: http://orcid.org/0000-0002-1209-5268<br>
[ INFO] 2020-09-01 21:09:34,623 (CNIdentityLDAPImpl:constructDn:789) Created DN from subject: uid=http://orcid.org/0000-0002-1209-5268,dc=dataone,dc=cilogon,dc=org<br>
[ WARN] 2020-09-01 21:09:34,626 (CNIdentityLDAPImpl:getSubjectInfo:958) Could not find: uid=http://orcid.org/0000-0002-1209-5268,dc=dataone,dc=cilogon,dc=org : in Ldap: [LDAP: error code 32 - No Such Object]<br>
[ INFO] 2020-09-01 21:09:34,627 (CNIdentityLDAPImpl:getSubjectInfo:921) 9 returning DirContext<br>
[DEBUG] 2020-09-01 21:09:34,627 (AuthUtils:findPersonsSubjects:122) traversing person: http://orcid.org/0000-0002-1209-5268<br>
[DEBUG] 2020-09-01 21:09:34,628 (CertificateManager:standardizeDN:624) name: http://orcid.org/0000-0002-1209-5268<br>
[ WARN] 2020-09-01 21:09:34,628 (SessionAuthorizationUtil:addAuthenticatedSubjectsToRequest:177) Could not standardize DN for: http://orcid.org/0000-0002-1209-5268<br>
java.lang.IllegalArgumentException: improperly specified input name: http://orcid.org/0000-0002-1209-5268<br>
at javax.security.auth.x500.X500Principal.<init>(X500Principal.java:183)<br>
at javax.security.auth.x500.X500Principal.<init>(X500Principal.java:128)<br>
at org.dataone.client.auth.CertificateManager.standardizeDN(CertificateManager.java:625)<br>
at org.dataone.solr.servlet.SessionAuthorizationUtil.addAuthenticatedSubjectsToRequest(SessionAuthorizationUtil.java:174)<br>
at org.dataone.solr.servlet.SearchServiceSessionAuthorizationFilter.addAuthenticatedSubjectsToRequest(SearchServiceSessionAuthorizationFilter.java:51)<br>
at org.dataone.solr.servlet.SessionAuthorizationFilterStrategy.doFilter(SessionAuthorizationFilterStrategy.java:254)<br>
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)<br>
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)<br>
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)<br>
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)<br>
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)<br>
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)<br>
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)<br>
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)<br>
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)<br>
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)<br>
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)<br>
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)<br>
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)<br>
at org.eclipse.jetty.server.Server.handle(Server.java:497)<br>
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)<br>
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)<br>
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)<br>
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)<br>
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)<br>
at java.lang.Thread.run(Thread.java:748)<br>
Caused by: java.io.IOException: Incorrect AVA format<br>
at sun.security.x509.AVA.readChar(AVA.java:555)<br>
at sun.security.x509.AVA.<init>(AVA.java:181)<br>
at sun.security.x509.AVA.<init>(AVA.java:147)<br>
at sun.security.x509.RDN.<init>(RDN.java:147)<br>
at sun.security.x509.X500Name.parseDN(X500Name.java:933)<br>
at sun.security.x509.X500Name.<init>(X500Name.java:163)<br>
at javax.security.auth.x500.X500Principal.<init>(X500Principal.java:181)<br>
... 25 more<br>
</code></p>
Infrastructure - Story #8863 (Closed): /cn/v2/synchorize not workinghttps://redmine.dataone.org/issues/88632020-05-01T22:48:07ZJing Taotao@nceas.ucsb.edu
<p>PISCO people try to call the rest command <code>/cn/v2/synchronize</code> to synchronize some pids to cn. However, they got the error message:<br>
<code><br>
curl -E urn_node_PISCO-2.pem -F "pid=doi:10.6085/AA/CBLX00_XXXITV2XLSR03_20190321.50.1" -X POST https://cn.dataone.org/cn/v2/synchronize <?xml version="1.0" encoding="UTF-8"?><br>
<error detailCode="4961" errorCode="500" name="ServiceFailure"><br>
<description>Unexpected Exception in CN.synchronize: progress: null:: java.lang.NullPointerException</description><br>
</error><br>
</code><br>
I looked the log file and found the error message is:<br>
<code><br>
[ERROR] 2020-05-01 22:40:16,775 (CoreController:synchronize:426) Unexpected Exception in CN.synchronize: progress: null:: java.lang.NullPointerException<br>
java.lang.NullPointerException<br>
at org.dataone.cn.rest.v2.CoreController.synchronize(CoreController.java:365)<br>
at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source)<br>
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
at java.lang.reflect.Method.invoke(Method.java:498)<br>
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)<br>
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)<br>
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMeth<br>
</code><br>
the line 364 and 365 are:<br>
<code><br>
Session session = PortalCertificateManager.getInstance().getSession(request);<br>
final Subject clientSubject = session.getSubject();<br>
</code><br>
It seems that the session is null somehow.</p>
Infrastructure - Story #8862 (New): Deploy a new dataone-cn-rest releasehttps://redmine.dataone.org/issues/88622020-04-23T16:24:46ZJing Taotao@nceas.ucsb.edu
<p>We have a new d1_portal jar release which addresses the issue that restarting tomcat in CNs is needed when the LE certificates are renewed in CNs. The new d1_portal jar file has been deployed to dataone-cn-portal. However, the component dataone-cn-rest was overlooked. We need to deploy it there as well.<br>
Yesterday, we did a hack fix in CNs when we restarted tomcat - dropped the d1_portal-2.3.2.jar file there. So now it should work. But we still need a formal release.</p>
Infrastructure - Story #8857 (New): D1Client.getCN() always get the production cn on the CN Tomca...https://redmine.dataone.org/issues/88572019-12-13T00:34:03ZJing Taotao@nceas.ucsb.edu
<p>Today Val from ess-dive reported an issue that in the cn-stage environment, the rest call <code>cn/v2/diag/subject</code> didn't return any group information for a user even though the <code>cn/v2/accounts</code> call proves the user is in some groups.</p>
<p>After looking at the code, it seems suspicious that the <code>cn/v2/diag/subject</code> uses the method <code>D1Client.getCN().getSubjectInfo(subject)</code> to get the suer information. I guess it aways uses the production cn rather than the cn-stage. I put the property <code>D1Client.CN_URL=https://cn-stage.test.dataone.org/cn</code> on the file <code>/var/lib/tomcat8/webapps/cn/WEB-INF/classes/org/dataone/configuration/portal.properties</code>, then it works.</p>
<p>So we need to set up the property during our package building process.</p>
Infrastructure - Story #8856 (New): Put the system metadata part ahead of the object part when d1...https://redmine.dataone.org/issues/88562019-11-22T18:31:19ZJing Taotao@nceas.ucsb.edu
<p>When a client calls the mn.create/update methods, it usually constructs a multipart which contains the sys part (containing the system metadata information), object part (containing the object itself) and other parts. There is no requirement about the order of those parts.<br>
Metacat will use a new streaming multipart handler which will calculate the checksum when it stores the object part into a file. This requires we should know the checksum algorithm before the serialization of the object. So Metacat has to digest the system metadata first in order to improve the performance.<br>
In order to take the advantage, we recommend clients should put the system metadata part ahead of the object part when it is constructing the multipart to be sent to the server.<br>
Note: event though the client doesn't use the recommended order, the process still works but the performance will be poor.</p>
Infrastructure - Story #8855 (New): Put the system metadata part ahead of the object part when d1...https://redmine.dataone.org/issues/88552019-11-22T18:29:39ZJing Taotao@nceas.ucsb.edu
<p>When a client calls the mn(cn).create/update methods, it usually constructs a multipart which contains the sys part (containing the system metadata information), object part (containing the object itself) and other parts. There is no requirement about the order of those parts.<br>
Metacat will use a new streaming multipart handler which will calculate the checksum when it stores the object part into a file. This requires we should know the checksum algorithm before the serialization of the object. So Metacat has to digest the system metadata first in order to improve the performance.<br>
In order to take the advantage, we recommend clients should put the system metadata part ahead of the object part when it is constructing the multipart to be sent to the server.<br>
Note: event though the client doesn't use the recommended order, the process still works but the performance will be poor.</p>
Infrastructure - Story #8854 (New): Put the system metadata part ahead of the object part when d...https://redmine.dataone.org/issues/88542019-11-22T18:25:20ZJing Taotao@nceas.ucsb.edu
<p>When a client calls the mn.create/update methods, it usually constructs a multipart which contains the sys part (containing the system metadata information), object part (containing the object itself) and other parts. There is no requirement about the order of those parts.<br>
Metacat will use a new streaming multipart handler which will calculate the checksum when it stores the object part into a file. This requires we should know the checksum algorithm before the serialization of the object. So Metacat has to digest the system metadata first in order to improve the performance.<br>
In order to take the advantage, we recommend clients should put the system metadata part ahead of the object part when it is constructing the multipart to be sent to the server.<br>
Note, event thought the client doesn't use the recommended order, the process still works but the performance will be poor.</p>
Infrastructure - Story #8853 (New): Make cn.resolve smarterhttps://redmine.dataone.org/issues/88532019-11-15T16:46:12ZJing Taotao@nceas.ucsb.edu
<p>In this case the cn.resolve() operation should be ignoring the node that is marked as offline, or at least placing it last in the list.</p>
<p>This should be a high priority fix, and should be fairly simple to implement since the information is available in the node document.</p>
<ul>
<li>Dave</li>
</ul>
<blockquote>
<p>On 2019-11-14, at 21:38, Matt Jones <a href="mailto:jones@nceas.ucsb.edu">jones@nceas.ucsb.edu</a> wrote:</p>
<p>FYI, thread form today with Ethan White on ebird replication, and the resolve() api in DataONE. Relates to our conversation today about making resolve() and MetacatUI downloads smarter.</p>
<p>Matt</p>
<p>Ethan White 5:06 PM<br>
What's the right place to report data that if 404ing on DataONE?</p>
<p>Matt Jones 5:07 PM<br>
<a href="mailto:support@dataone.org">support@dataone.org</a> would work</p>
<p>5:08 PM<br>
or let me know</p>
<p>5:08 PM<br>
is it that same data set?</p>
<p>5:08 PM<br>
the Ebird one?</p>
<p>Ethan White 5:09 PM<br>
Yeah, which we had discovered had been reposted and spent a bunch of time gearing up to support again. We were in the middle of testing when it suddenly disappeared again. <a href="http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object/EOD_CLO_2016.csv.gz">http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object/EOD_CLO_2016.csv.gz</a></p>
<p>Matt Jones 5:10 PM<br>
yeah. Cornell just gave us permission to replicate the data to other nodes. They haven’t wanted us to do so in the past.</p>
<p>Ethan White 5:13 PM<br>
Thanks. That's good news. So can we expect it to reappear at some point soonish?</p>
<p>Matt Jones 5:14 PM<br>
Yeah, its been replicated. I’m checking to see if it is properly linked to the original.</p>
<p>5:15 PM<br>
<a href="https://knb.ecoinformatics.org/view/EOD_CLO_2016.eml">https://knb.ecoinformatics.org/view/EOD_CLO_2016.eml</a></p>
<p>new messages</p>
<p>Ethan White 5:16 PM<br>
Thanks Matt. FYI that link I posted is the one being returned from a current search of DataONE.</p>
<p>Matt Jones 5:17 PM<br>
Yeah. Because that’s the ‘authoritative’ copy at cornell.</p>
<p>5:17 PM<br>
but Cornell’s node has been going up and down.</p>
<p>5:17 PM<br>
our resolve service lists all copies of a data set</p>
<p>5:17 PM<br>
so if one is down, you can get it from another location:</p>
<p>5:18 PM<br>
<code><br>
$ curl -H "Accept: text/xml" https://cn.dataone.org/cn/v2/resolve/EOD_CLO_2016.eml<br>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><br>
<ns2:objectLocationList xmlns:ns2="http://ns.dataone.org/service/types/v1"><br>
<identifier>EOD_CLO_2016.eml</identifier><br>
<objectLocation><br>
<nodeIdentifier>urn:node:CLOEBIRD</nodeIdentifier><br>
<baseURL>http://dataone.ornith.cornell.edu/metacat/d1/mn</baseURL><br>
<version>v1</version><br>
<version>v2</version><br>
<url>http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object/EOD_CLO_2016.eml</url><br>
</objectLocation><br>
<objectLocation><br>
<nodeIdentifier>urn:node:CN</nodeIdentifier><br>
<baseURL>https://cn.dataone.org/cn</baseURL><br>
<version>v1</version><br>
<version>v2</version><br>
<url>https://cn.dataone.org/cn/v2/object/EOD_CLO_2016.eml</url><br>
</objectLocation><br>
<objectLocation><br>
<nodeIdentifier>urn:node:KNB</nodeIdentifier><br>
<baseURL>https://knb.ecoinformatics.org/knb/d1/mn</baseURL><br>
<version>v1</version><br>
<version>v2</version><br>
<url>https://knb.ecoinformatics.org/knb/d1/mn/v2/object/EOD_CLO_2016.eml</url><br>
</objectLocation><br>
</ns2:objectLocationList><br>
</code></p>
<p>Ethan White 5:19 PM<br>
OK, thanks. That's why I thought the link in DataONE <a href="https://cn.dataone.org/cn/v2/resolve/EOD_CLO_2016.csv.gz">https://cn.dataone.org/cn/v2/resolve/EOD_CLO_2016.csv.gz</a> would take me to a working version, but clearly I just don't understand the details. We'll just use the the one on KNB at least for the moment. Really appreciate your help as always.</p>
<p>Matt Jones 5:20 PM<br>
No problem. I’d love to make this all work more seamlessly. (edited) </p>
<p>5:20 PM<br>
So suggestions definitely welcome.</p>
<p>5:21 PM<br>
I expect Cornell to take their node offline altogether — so the KNB will likely be the better location.</p>
<p>5:22 PM<br>
Btw, the resolve link when executed in a browser just redirects to the first copy</p>
<p>Ethan White 5:23 PM<br>
Yeah, Cornell's closed approach to things is a pretty big disappointment, especially on data like this that is generated by volunteers. We'll just go to the KNB version permanently.</p>
<p>Matt Jones 5:23 PM<br>
whereas programatically you get the list of locations</p>
<p>5:23 PM<br>
if you ask for XML</p>
<p>Ethan White 5:23 PM<br>
That makes sense. Thanks.</p>
<p>Matt Jones 5:23 PM<br>
and then you can choose to try one or more</p>
</blockquote>
Infrastructure - Story #8848 (New): A minor difference of annotation index between CN and MNhttps://redmine.dataone.org/issues/88482019-11-01T21:37:01ZJing Taotao@nceas.ucsb.edu
<p>The solr index on CN is:</p>
<pre><arr name="sem_annotation">
<str>http://purl.dataone.org/odo/ECSO_00000512</str>
<str>
http://ecoinformatics.org/oboe/oboe.1.2/oboe-core.owl#MeasurementType
</str>
<str>http://purl.dataone.org/odo/ECSO_00001102</str>
<str>http://purl.dataone.org/odo/ECSO_00001243</str>
<str>http://purl.dataone.org/odo/ECSO_00000629</str>
<str>http://purl.dataone.org/odo/ECSO_00000518</str>
<str>http://www.w3.org/2000/01/rdf-schema#Resource</str>
<str>http://purl.dataone.org/odo/ECSO_00000516</str>
<str>http://purl.obolibrary.org/obo/UO_0000301</str>
</arr>
</pre>
<p>The mn is:</p>
<pre><arr name="sem_annotation">
<str>http://purl.dataone.org/odo/ECSO_00000512</str>
<str>
http://ecoinformatics.org/oboe/oboe.1.2/oboe-core.owl#MeasurementType
</str>
<str>http://purl.dataone.org/odo/ECSO_00001102</str>
<str>http://purl.dataone.org/odo/ECSO_00001243</str>
<str>http://purl.dataone.org/odo/ECSO_00000629</str>
<str>http://purl.dataone.org/odo/ECSO_00000518</str>
<str>http://purl.dataone.org/odo/ECSO_00000516</str>
<str>http://purl.obolibrary.org/obo/UO_0000301</str>
</arr>
</pre>
<p>The cn has an extra <code><str>http://www.w3.org/2000/01/rdf-schema#Resource</str></code><br>
Bryce and I discussed it and thought it wouldn't affect the feature. But we still need to figure it out.</p>
Infrastructure - Story #8842 (New): Some exceptions in Metacathttps://redmine.dataone.org/issues/88422019-09-19T17:53:22ZJing Taotao@nceas.ucsb.edu
<p>In sandbox, we see some exceptions like. It appears not to hurt function, but we need to take a look at it.<br>
<code><br>
9-Sep-2019 15:19:05.303 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Marking servlet [AxisServlet] as unavailable<br>
19-Sep-2019 15:19:05.304 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.loadOnStartup Servlet [AxisServlet] in web application [/metacat] threw load() exception<br>
java.lang.ClassNotFoundException: org.apache.axis.transport.http.AxisServlet<br>
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364)<br>
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185)<br>
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:546)<br>
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:527)<br>
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:150)<br>
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)<br>
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:983)<br>
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4956)<br>
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5270)<br>
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)<br>
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)<br>
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)<br>
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)<br>
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:624)<br>
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1834)<br>
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)<br>
at java.util.concurrent.FutureTask.run(FutureTask.java:266)<br>
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)<br>
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)<br>
at java.lang.Thread.run(Thread.java:748)<br>
</code></p>
Infrastructure - Story #8841 (New): Solr Index processor don't parse the attributes on the otherE...https://redmine.dataone.org/issues/88412019-09-10T22:41:43ZJing Taotao@nceas.ucsb.edu
<p>Details see:<br>
<a href="https://github.com/NCEAS/metacat/issues/1361">https://github.com/NCEAS/metacat/issues/1361</a></p>
Infrastructure - Story #8837 (New): Merge the changes from metacat's feature-project-indexing bra...https://redmine.dataone.org/issues/88372019-08-16T17:18:10ZJing Taotao@nceas.ucsb.edu
<p>Lauren did changes on Metacat's feature-project-indexing branch to support the project view on MetacatUI. We need merge them to DataONE.</p>
Infrastructure - Story #8800 (Closed): Remove extra httpclient and httpcore files from cn web libhttps://redmine.dataone.org/issues/88002019-05-15T21:06:36ZJing Taotao@nceas.ucsb.edu
<p>Bryce reported this bug:<br>
<a href="https://redmine.dataone.org/issues/8799">https://redmine.dataone.org/issues/8799</a></p>
<p>The error message on the tomcat log file suggests that there were two httpclient jar files:</p>
<p>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<br>
java.lang.NoSuchMethodError: </p>
<p>In the lib, we had those jar files:<br>
httpclient-4.3.6.jar and httpclient-4.5.2.jar<br>
httpcore-4.3.3.jar and httpcore-4.4.4.jar</p>
<p>I removed both httpclient-4.5.2.jar and httpcore-4.4.4.jar and it works.<br>
First I tried to remove httpclient-4.3.6.jar`, but our system depends on it.</p>
Infrastructure - Story #8785 (Closed): Index "replicationStatus" field on the CNhttps://redmine.dataone.org/issues/87852019-04-09T18:44:37ZJing Taotao@nceas.ucsb.edu
<p>Please see this ticket:<br>
<a href="https://github.com/NCEAS/metacat/issues/1343">https://github.com/NCEAS/metacat/issues/1343</a></p>