THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
No Format |
---|
<properties> <server> <params> <port>9999</port> <forkedJvmArgs> <arg>-Xmx2g</arg> <arg>-Dlog4j.configurationFile=my-forked-log4j2.xml</arg> </forkedJvmArgs> <endpoints> <endpoint>status</endpoint> <endpoint>rmeta</endpoint> </endpoints> </params> </server> </properties> |
SSL (Beta)
Tika Server now has the ability to be spawned with SSL enabled by providing a keystore/Truststore as part of the configuration, this is likely to change but is available as part of Tika 2.4
Example:
Code Block | ||
---|---|---|
| ||
<properties>
<server>
<params>
<port>9999</port>
<taskTimeoutMillis>54321</taskTimeoutMillis>
<minimumTimeoutMillis>10</minimumTimeoutMillis>
<enableUnsecureFeatures>true</enableUnsecureFeatures>
<maxFiles>20</maxFiles>
<forkedJvmArgs>
<arg>-Xmx2g</arg>
</forkedJvmArgs>
<endpoints>
<endpoint>rmeta</endpoint>
</endpoints>
</params>
<tlsConfig>
<params>
<active>true</active>
<keyStoreType>myType</keyStoreType>
<keyStorePassword>pass</keyStorePassword>
<keyStoreFile>/something/or/other</keyStoreFile>
<trustStoreType>myType2</trustStoreType>
<trustStorePassword>pass2</trustStorePassword>
<trustStoreFile>/something/or/other2</trustStoreFile>
</params>
</tlsConfig>
</server>
</properties> |
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.