Project

General

Profile

bug #6934

Updated by Andreas Müller about 6 years ago

When running export functionality on larger databases (whole database) from within the TaxEditor one often gets RemoteAccessExceptions. A reason for this could be that httpinvoker does not support streaming and large results result in time-outs or similar issues. 
 Maybe #6791 is a solution for this. 


 ~~~ 
 login :  
 editor version : 4.9.2 
 server :    () 
 schema version :  
 os : Windows 7 6.1 amd64 
 java : 1.8.0_141 
 org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [http://api.cybertaxonomy.org:80/flora-greece/remoting/io.service]; nested exception is org.apache.http.NoHttpResponseException: Did not receive successful HTTP response: status code = 502, status message = [Proxy Error] 
                 at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.convertHttpInvokerAccessException(HttpInvokerClientInterceptor.java:216) 
                 at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:147) 
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 
                 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) 
                 at com.sun.proxy.$Proxy52.export(Unknown Source) 
                 at eu.etaxonomy.taxeditor.io.ExportManager$2.run(ExportManager.java:199) 
                 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) 
 Caused by: org.apache.http.NoHttpResponseException: Did not receive successful HTTP response: status code = 502, status message = [Proxy Error] 
                 at org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.validateResponse(HttpComponentsHttpInvokerRequestExecutor.java:357) 
                 at org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.doExecuteRequest(HttpComponentsHttpInvokerRequestExecutor.java:230) 
                 at eu.etaxonomy.taxeditor.service.CdmServiceRequestExecutor.doExecuteRequest(CdmServiceRequestExecutor.java:61) 
                 at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.executeRequest(AbstractHttpInvokerRequestExecutor.java:138) 
                 at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:194) 
                 at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:176) 
                 at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:144) 
                 ... 5 more 
 ~~~ 

 WGB:  

 im Nachgang hierzu habe ich mal die anderen Exportfunktionen ausprobiert. 
 CSV_Name hörte sich viel versprechend an – lief auch schnell durch, aber ohne, dass die Ergebnisdatei bei mir gespeichert wurde. 
 CSV-Print – dauert - Ende mit Fehler (sah genauso aus, aber sicherheitshalber noch mal unten) 
 DwC-A (nur Taxa, Synonyme, Missapplied, mit Header) – dauert – dauert sehr – noch länger – und Fehler.  
 JAXB (nur Synoyms, Taxa, Taxon Names [??]) – dauert auch „noch länger“ – und Fehler. 

Back