[
https://issues.apache.org/jira/browse/TIKA-1570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17536725#comment-17536725
]
Hudson commented on TIKA-1570:
------------------------------
SUCCESS: Integrated in Jenkins build Tika ยป tika-main-jdk8 #563 (See
[https://ci-builds.apache.org/job/Tika/job/tika-main-jdk8/563/])
TIKA-1570 -- add a stop method to TikaServerCli (tallison:
[https://github.com/apache/tika/commit/ba631c095a67ee9c11502147e9bc4f7735415373])
* (edit) CHANGES.txt
* (edit)
tika-server/tika-server-core/src/main/java/org/apache/tika/server/core/TikaServerCli.java
* (edit)
tika-server/tika-server-core/src/main/java/org/apache/tika/server/core/TikaServerWatchDog.java
* (edit)
tika-server/tika-server-core/src/test/java/org/apache/tika/server/core/TikaServerIntegrationTest.java
* (edit)
tika-server/tika-server-core/src/main/java/org/apache/tika/server/core/TikaServerConfig.java
> Seeking a stop method for better use with Apache Commons Daemon
> ---------------------------------------------------------------
>
> Key: TIKA-1570
> URL: https://issues.apache.org/jira/browse/TIKA-1570
> Project: Tika
> Issue Type: Improvement
> Components: server
> Affects Versions: 1.7
> Reporter: Jason Borg
> Priority: Minor
> Fix For: 2.4.1
>
>
> I've got tika-server-1.7.jar from http://tika.apache.org/download.html
> I've downloaded v1.0.15 of the Windows binaries for Apache Commons Daemon
> from http://commons.apache.org/proper/commons-daemon/binaries.html
> I can get Tika started as a service, but I can't determine what to use for a
> stop method.
> prunsrv.exe //IS//tika-daemon --DisplayName "Tika Daemon" --Classpath
> "C:\Tika Service\tika-server-1.7.jar" --StartClass
> "org.apache.tika.server.TikaServerCli" --StopClass
> "org.apache.tika.server.TikaServerCli" --StartMethod main --StopMethod main
> --Description "Tika Daemon Windows Service" --StartMode java --StopMode java
> This starts, and works as I'd hope, but when trying to stop the service it
> doesn't respond. Obviously org.apache.tika.server.TikaServerCli.main(string[]
> args) isn't a suitable stop method, but I'm lost for alternatives.
> Using Daemon in exe mode works for start, but gives inconsistent results for
> stop. Adding a stop method to Tika would be ideal.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)