You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Frederik Bosch (JIRA)" <ji...@apache.org> on 2012/10/16 13:07:03 UTC

[jira] [Commented] (TIKA-894) Add webapp mode for Tika Server, simplifies deployment

    [ https://issues.apache.org/jira/browse/TIKA-894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476911#comment-13476911 ] 

Frederik Bosch commented on TIKA-894:
-------------------------------------

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?
                
> Add webapp mode for Tika Server, simplifies deployment
> ------------------------------------------------------
>
>                 Key: TIKA-894
>                 URL: https://issues.apache.org/jira/browse/TIKA-894
>             Project: Tika
>          Issue Type: Improvement
>          Components: packaging
>    Affects Versions: 1.1, 1.2
>            Reporter: Chris Wilson
>              Labels: maven, newbie, patch
>         Attachments: tika-server-webapp.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira