You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Chris Wilson (Created) (JIRA)" <ji...@apache.org> on 2012/04/17 13:42:17 UTC
[jira] [Created] (TIKA-894) Add webapp mode for Tika Server,
simplifies deployment
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
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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TIKA-894) Add webapp mode for Tika Server,
simplifies deployment
Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476914#comment-13476914 ]
Sergey Beryozkin commented on TIKA-894:
---------------------------------------
The following fragment may help:
http://cxf.apache.org/docs/jaxrs-services-configuration.html#JAXRSServicesConfiguration-ConfiguringJAXRSservicesincontainerwithoutSpring
I guess the simplest option is to use org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet, with jaxrs.serviceClasses pointing to Tika class, and jaxrs.providers - to Tika JAX-RS providers
> 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
[jira] [Comment Edited] (TIKA-894) Add webapp mode for Tika Server,
simplifies deployment
Posted by "Frederik Bosch (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (TIKA-894) Add webapp mode for Tika Server,
simplifies deployment
Posted by "Chris Wilson (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Wilson updated TIKA-894:
------------------------------
Attachment: tika-server-webapp.patch
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TIKA-894) Add webapp mode for Tika Server,
simplifies deployment
Posted by "Frederik Bosch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476926#comment-13476926 ]
Frederik Bosch commented on TIKA-894:
-------------------------------------
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
[jira] [Commented] (TIKA-894) Add webapp mode for Tika Server,
simplifies deployment
Posted by "Frederik Bosch (JIRA)" <ji...@apache.org>.
[ 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