1

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)
4

0 回答 0