fedora Batch ingest Error

38 views
Skip to first unread message

Shiva Parto

unread,
Jul 19, 2017, 7:14:50 AM7/19/17
to Fedora Community
Hi everyone
I'm trying to have Fedora batch ingest file but i got error.
I checked the fedora.log and got this Error:
org.apache.cxf.interceptor.Fault: Could not send Message.
        at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64) ~[cxf-bundle-2.7.7.jar:2.7.7]
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272) ~[cxf-bundle-2.7.7.jar:2.7.7]
        at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:565) [cxf-bundle-2.7.7.jar:2.7.7]
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:474) [cxf-bundle-2.7.7.jar:2.7.7]
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:377) [cxf-bundle-2.7.7.jar:2.7.7]
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:330) [cxf-bundle-2.7.7.jar:2.7.7]
        at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96) [cxf-bundle-2.7.7.jar:2.7.7]
        at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135) [cxf-bundle-2.7.7.jar:2.7.7]
        at com.sun.proxy.$Proxy50.describeRepository(Unknown Source) [na:na]
        at org.fcrepo.client.utility.ingest.AutoIngestor.ingestAndCommit(AutoIngestor.java:98) [fcrepo-client-admin-3.8.1.jar:na]
        at org.fcrepo.client.utility.ingest.AutoIngestor.ingestAndCommit(AutoIngestor.java:81) [fcrepo-client-admin-3.8.1.jar:na]
        at org.fcrepo.client.batch.BatchIngest.process(BatchIngest.java:170) [fcrepo-client-admin-3.8.1.jar:na]
        at org.fcrepo.client.batch.BatchTool.process(BatchTool.java:115) [fcrepo-client-admin-3.8.1.jar:na]
        at org.fcrepo.client.batch.AutoBatchIngest.<init>(AutoBatchIngest.java:50) [fcrepo-client-admin-3.8.1.jar:na]
        at org.fcrepo.client.batch.AutoBatchIngest.main(AutoBatchIngest.java:93) [fcrepo-client-admin-3.8.1.jar:na]
Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '404: Not Found' when communicating with http://localhost:8080/fedora/services/accessMTOM
        at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1542) ~[cxf-bundle-2.7.7.jar:2.7.7]
        at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1502) ~[cxf-bundle-2.7.7.jar:2.7.7]
        at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1309) ~[cxf-bundle-2.7.7.jar:2.7.7]
        at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) ~[cxf-bundle-2.7.7.jar:2.7.7]
        at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:627) ~[cxf-bundle-2.7.7.jar:2.7.7]
        at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) ~[cxf-bundle-2.7.7.jar:2.7.7]
        ... 14 common frames omitted
ingest failed for: 300720.xml
        javax.xml.ws.WebServiceException
        Could not send Message.
ingest format specified was: "info:fedora/fedora-system:FOXML-1.1"
===BATCH HAS FAILED===
consider manually backing out any objects which were already successfully ingested in this batch
Exception in thread "main" javax.xml.ws.WebServiceException: Could not send Message.
        at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:146)
        at com.sun.proxy.$Proxy50.describeRepository(Unknown Source)
        at org.fcrepo.client.utility.ingest.AutoIngestor.ingestAndCommit(AutoIngestor.java:98)
        at org.fcrepo.client.utility.ingest.AutoIngestor.ingestAndCommit(AutoIngestor.java:81)
        at org.fcrepo.client.batch.BatchIngest.process(BatchIngest.java:170)
        at org.fcrepo.client.batch.BatchTool.process(BatchTool.java:115)
        at org.fcrepo.client.batch.AutoBatchIngest.<init>(AutoBatchIngest.java:50)
        at org.fcrepo.client.batch.AutoBatchIngest.main(AutoBatchIngest.java:93)
Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '404: Not Found' when communicating with http://localhost:8080/fedora/services/accessMTOM
        at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1542)
        at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1502)
        at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1309)
        at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
        at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:627)
        at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
        at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:565)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:474)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:377)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:330)
        at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
        at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135)
        ... 7 more




any help would be appreciated!

Ralf Claussnitzer

unread,
Jul 19, 2017, 7:50:56 AM7/19/17
to fedora-c...@googlegroups.com

Hello Shiva,

the reason seems to be that the service endpoint was not available at the time of request:

On 07/19/2017 01:14 PM, Shiva Parto wrote:
Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '404: Not Found' when communicating with http://localhost:8080/fedora/services/accessMTOM

Maybe heavy load crashes the endpoint. You could try to slow down the batch ingest a bit.

Regards,
Ralf

Shiva Parto

unread,
Jul 23, 2017, 2:30:59 AM7/23/17
to fedora-c...@googlegroups.com
Hello Raif,
I checked this,bud it didnt solved...
thanks,
Regards.
any help would be appreciated!
shiva

--
You received this message because you are subscribed to a topic in the Google Groups "Fedora Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/fedora-community/tGHunUiwk7E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to fedora-community+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages