Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added monitoring section with server status

...

The default level of logging is debug, but you can also set logging to info via the commandline: -log info.

Monitoring

ServerStatus

Tika Server uses ServerStatus object to maintain and track current status of server. The data can be exported to REST resource and JMX MBean (from 1.26).

To enable REST endpoint and JMX MBean:

No Format
java -jar tika-server-x.x.jar -status

REST resource to access server status:

No Format
/status

MBean:

Object name: org.apache.tika.server.mbean:type=basic,name=ServerStatusExporter

Architecture

Tika Server is based on JSR 311 for a network serve. The server package uses the Apache CXF framework that provides an implementation of JAX-RS for Java.