![Serviio 1.9 service stopping](https://knopkazmeya.com/15.png)
![serviio 1.9 service stopping serviio 1.9 service stopping](https://s3.amazonaws.com/gerber-gh/579a4f14818af64912fbbb78/GS-525-S.jpg)
#Serviio 1.9 service stopping code
Returning error code 404 to the REST layer.
![serviio 1.9 service stopping serviio 1.9 service stopping](https://icon-library.com/images/friction-icon/friction-icon-26.jpg)
17:24:10,517 WARN HttpCodeException occurred. Message: Could not find segment file: C:\Windows\TEMP\Serviio\transcoding-temp-bc3f6a7581da522f6e771ced3da2a17b.stf\segment00009.ts 17:24:10,517 WARN Error while processing resource, sending back 404 error. 17:24:10,325 WARN HttpCodeException occurred. Message: Could not find segment file: C:\Windows\TEMP\Serviio\transcoding-temp-bc3f6a7581da522f6e771ced3da2a17b.stf\segment00008.ts 17:24:10,324 WARN Error while processing resource, sending back 404 error. Message: nullĪt .liver(CDSRetrieveMediaServerResource.java:87)Īt (Unknown Source)Īt (DelegatingMethodAccessorImpl.java:43)Īt .invoke(Method.java:498)Īt .doHandle(ServerResource.java:524)Īt .get(ServerResource.java:743)Īt .doHandle(ServerResource.java:618)Īt .doNegotiatedHandle(ServerResource.java:679)Īt .doConditionalHandle(ServerResource.java:357)Īt .doConditionalHandle(AbstractServerResource.java:49)Īt .doConditionalHandle(AbstractProEditionServerResource.java:35)Īt .AbstractCDSServerResource.doConditionalHandle(AbstractCDSServerResource.java:59)Īt .AbstractRestrictedCDSServerResource.doConditionalHandle(AbstractRestrictedCDSServerResource.java:58)Īt .handle(ServerResource.java:1014)Īt .handle(Finder.java:246)Īt .doHandle(Filter.java:159)Īt .handle(Filter.java:206)Īt .doHandle(Router.java:431)Īt .handle(Router.java:648)Īt .StatusFilter.doHandle(StatusFilter.java:155)Īt .handle(CompositeHelper.java:211)Īt .ApplicationHelper.handle(ApplicationHelper.java:84)Īt (Application.java:384)Īt (Component.java:406)Īt (Server.java:516)Īt .ServerHelper.handle(ServerHelper.java:72)Īt .HttpServerHelper.handle(HttpServerHelper.java:152)Īt .(SimpleContainer.java:80)Īt .Dispatcher.dispatch(Dispatcher.java:121)Īt .n(Dispatcher.java:103)Īt .runWorker(ThreadPoolExecutor.java:1149)Īt $n(ThreadPoolExecutor.java:624) This is not advised to do, and can cause unforeseen side effects.
![serviio 1.9 service stopping serviio 1.9 service stopping](https://vendingproservice.com/wp-content/uploads/2018/12/b16fb88146085f6e48bf62050fbc6d53_cropped_optimized.jpg)
Its too tricky and hard to stop a route using the same thread that currently is processing a message from the route. 17:24:09,535 WARN HttpCodeException occurred. Using another thread to stop the route is also what is normally used when stopping Camel itself, or for example when an application in a server is stopped etc.
![Serviio 1.9 service stopping](https://knopkazmeya.com/15.png)