微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Apache TIKA:org.apache.cxf.interceptor故障:XML_WRITE_EXC

如何解决Apache TIKA:org.apache.cxf.interceptor故障:XML_WRITE_EXC

Apacke Tika 1.24。

Tika在服务器模式下运行如下:

java -Xmx3G -jar tika-server.jar -spawnChild --host=hostname.domain.com

我在Tika Server日志中观察到以下错误。是什么原因造成的?

rMeta/text (autodetecting type)
ERROR Problem with writing the data,class org.apache.tika.server.MetadataList,ContentType: application/json
WARN  Interceptor for {http://resource.server.tika.apache.org/}MetadataResource has 
thrown exception,unwinding Now
org.apache.cxf.interceptor.Fault: org.apache.tika.exception.TikaException:
org.eclipse.jetty.io.EofException
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.io.IOException: org.apache.tika.exception.TikaException:
org.eclipse.jetty.io.EofException
at org.apache.tika.server.writer.MetadataListMessageBodyWriter.writeto(
MetadataListMessageBodyWriter.java:64)
...
WARN  Interceptor for {http://resource.server.tika.apache.org/}
MetadataResource has thrown exception,unwinding Now
org.apache.cxf.interceptor.Fault: XML_WRITE_EXC
at org.apache.cxf.jaxrs.interceptor.JAXRSDefaultFaultOutInterceptor.
handleMessage(JAXRSDefaultFaultOutInterceptor.java:106)

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。