Hi all,
We have recently started experiencing issues when ingesting a new
collection - 'java.net.SocketTimeoutException: Read timed out' error.
Using both the fedora admin client and the batch ingest script to load
these objects yields the same results. The admin client simply times out
without any useful feedback. The command line script indicates that there
is a read timeout error (full trace below):
./fedora-ingest.sh d /storage/nas/Test/FOXMLFiles/
info:fedora/fedora-system:FOXML-1.1 testserver.ucd.ie:80 fedoraAdmin
password http ""
WARN 14:04:08.901 (PhaseInterceptorChain) Interceptor for {
http://fedora-commons.org/2011/07/definitions/types/}FedoraAPIMMTOMService#{http://fedora-commons.org/2011/07/definitions/types/}ingesthas
thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not send Message.
at
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)
~[cxf-bundle-2.6.2.jar:2.6.2]
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
~[cxf-bundle-2.6.2.jar:2.6.2]
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:531)
[cxf-bundle-2.6.2.jar:2.6.2]
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:464)
[cxf-bundle-2.6.2.jar:2.6.2]
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:367)
[cxf-bundle-2.6.2.jar:2.6.2]
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:320)
[cxf-bundle-2.6.2.jar:2.6.2]
at
org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:89)
[cxf-bundle-2.6.2.jar:2.6.2]
at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
[cxf-bundle-2.6.2.jar:2.6.2]
at $Proxy52.ingest(Unknown Source) [na:na]
at
org.fcrepo.client.utility.ingest.AutoIngestor.ingestAndCommit(AutoIngestor.java:134)
[fcrepo-client-admin-3.6.1.jar:na]
at
org.fcrepo.client.utility.ingest.Ingest.oneFromFile(Ingest.java:52)
[fcrepo-client-admin-3.6.1.jar:na]
at
org.fcrepo.client.utility.ingest.Ingest.multiFromDirectory(Ingest.java:91)
[fcrepo-client-admin-3.6.1.jar:na]
at org.fcrepo.client.utility.ingest.Ingest.main(Ingest.java:522)
[fcrepo-client-admin-3.6.1.jar:na]
Caused by: java.net.SocketTimeoutException: SocketTimeoutException invoking
http://testserver.ucd.ie:80/fedora/services/managementMTOM: Read timed out
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method) ~[na:1.6.0_26]
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
~[na:1.6.0_26]
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
~[na:1.6.0_26]
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
~[na:1.6.0_26]
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.mapException(HTTPConduit.java:1467)
~[cxf-bundle-2.6.2.jar:2.6.2]
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1452)
~[cxf-bundle-2.6.2.jar:2.6.2]
at
org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
~[cxf-bundle-2.6.2.jar:2.6.2]
at
org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:660)
~[cxf-bundle-2.6.2.jar:2.6.2]
at
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
~[cxf-bundle-2.6.2.jar:2.6.2]
... 12 common frames omitted
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
~[na:1.6.0_26]
at java.net.SocketInputStream.read(SocketInputStream.java:129)
~[na:1.6.0_26]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
~[na:1.6.0_26]
at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
~[na:1.6.0_26]
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
~[na:1.6.0_26]
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)
~[na:1.6.0_26]
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
~[na:1.6.0_26]
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1195)
~[na:1.6.0_26]
at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)
~[na:1.6.0_26]
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1604)
~[cxf-bundle-2.6.2.jar:2.6.2]
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1530)
~[cxf-bundle-2.6.2.jar:2.6.2]
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1438)
~[cxf-bundle-2.6.2.jar:2.6.2]
... 15 common frames omitted
The fedora/client/logs file contains the following for each object
attempted (using demo objects as an example):
<failed
file="/var/opt/fedora36/client/demo/foxml/local-server-demos/document-transform-demo/sdef_demo_12.xml">
Could not send Message.
</failed>
<failed
file="/var/opt/fedora36/client/demo/foxml/local-server-demos/document-transform-demo/sdep_demo_13.xml">
Could not send Message.
</failed>
Incidentally, the results are the identical whether I attempt to ingest
FOXML files from the local machine or across the network. It looks like it
may be an issue with the messaging configuration but this has behaved up
until recently and there have been no configuration changes of note. The
issue arises on both our test and production servers (using fedora 3.6.1
and 3.5, respectively).
I noticed a similar post to this on the mailing list last year which
received no response. Has anyone experienced similar issues? Any assistance
would be appreciated.
Kind regards,
Peter Clarke
James Joyce Library,
University College Dublin,
Belfield,
Dublin 4,
Ireland
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users