Details
Description
For use in production services, Tika Server should really be deployed as a WAR file, under a reliable servlet container that knows how to run as a system service, for example Tomcat or JBoss.
This is especially important on Windows, where I wasted an entire day trying to make TikaServerCli run as some kind of a service.
Maven makes building a webapp pretty trivial. With the attached patch applied, "mvn war:war" should work. It seems to run fine in Tomcat, which makes Windows deployment much simpler. Just install Tomcat and drop the WAR file into tomcat's webapps directory and you're away.
Since tika is now using Apache CXF this patch is not valid anymore. However, I would like to deploy tika-server as a Tomcat servlet. Would anyone have the correct code for the Servlet.java?