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:35:04 UTC

[jira] [Comment Edited] (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=13476926#comment-13476926 ] 

Frederik Bosch edited comment on TIKA-894 at 10/16/12 11:34 AM:
----------------------------------------------------------------

I would love to write the code, but I do not think I am able to. My Java skills are not sufficient. Could you provide me an example?
                
      was (Author: f.bosch@genkgo.nl):
    I would love to write the code, but I do not think I am able to. Could you provide me an example?
                  
> 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