Replies: 1 comment 3 replies
-
If you halt the channel, you should be able to delete the stuck message and restart the process. Obviously when you delete the message you will lose anything in process. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a Database Reader channel that was stuck at "Stopping".
I've stopped the Mirth process (through task manager) and the dashboard always shows "Stopping" status of the channel.
When I try to halt it, the following error message is displayed: Remove messages task terminated due to error or halt.
[2023-10-02 11:35:42,430] ERROR (com.mirth.connect.server.controllers.DonkeyMessag eController:324): Remove messages task terminated due to error or halt.
java.util.concurrent.CancellationException
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at com.mirth.connect.server.channel.ChannelFuture.get (ChannelFuture.java:34)
at com.mirth.connect.server.controllers.DonkeyEngineC ontroller.waitForTasks(DonkeyEngineController.java :1740)
at com.mirth.connect.server.controllers.DonkeyEngineC ontroller.removeMessages(DonkeyEngineController.ja va:638)
at com.mirth.connect.server.controllers.DonkeyMessage Controller.removeMessages(DonkeyMessageController. java:322)
at com.mirth.connect.server.api.servlets.MessageServl et.removeMessage(MessageServlet.java:249)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.mirth.connect.server.api.providers.MirthResour ceInvocationHandlerProvider$1.invoke(MirthResource InvocationHandlerProvider.java:219)
at org.glassfish.jersey.server.model.internal.Abstrac tJavaResourceMethodDispatcher$1.run(AbstractJavaRe sourceMethodDispatcher.java:144)
at org.glassfish.jersey.server.model.internal.Abstrac tJavaResourceMethodDispatcher.invoke(AbstractJavaR esourceMethodDispatcher.java:161)
at org.glassfish.jersey.server.model.internal.JavaRes ourceMethodDispatcherProvider$VoidOutInvoker.doDis patch(JavaResourceMethodDispatcherProvider.java:14 3)
at org.glassfish.jersey.server.model.internal.Abstrac tJavaResourceMethodDispatcher.dispatch(AbstractJav aResourceMethodDispatcher.java:99)
at org.glassfish.jersey.server.model.ResourceMethodIn voker.invoke(ResourceMethodInvoker.java:389)
at org.glassfish.jersey.server.model.ResourceMethodIn voker.apply(ResourceMethodInvoker.java:347)
at org.glassfish.jersey.server.model.ResourceMethodIn voker.apply(ResourceMethodInvoker.java:102)
at org.glassfish.jersey.server.ServerRuntime$2.run(Se rverRuntime.java:326)
at org.glassfish.jersey.internal.Errors$1.call(Errors .java:271)
at org.glassfish.jersey.internal.Errors$1.call(Errors .java:267)
at org.glassfish.jersey.internal.Errors.process(Error s.java:315)
at org.glassfish.jersey.internal.Errors.process(Error s.java:297)
at org.glassfish.jersey.internal.Errors.process(Error s.java:267)
at org.glassfish.jersey.process.internal.RequestScope .runInScope(RequestScope.java:317)
at org.glassfish.jersey.server.ServerRuntime.process( ServerRuntime.java:305)
at org.glassfish.jersey.server.ApplicationHandler.han dle(ApplicationHandler.java:1154)
at org.glassfish.jersey.servlet.WebComponent.serviceI mpl(WebComponent.java:471)
at org.glassfish.jersey.servlet.WebComponent.service( WebComponent.java:425)
at org.glassfish.jersey.servlet.ServletContainer.serv ice(ServletContainer.java:383)
at org.glassfish.jersey.servlet.ServletContainer.serv ice(ServletContainer.java:336)
at org.glassfish.jersey.servlet.ServletContainer.serv ice(ServletContainer.java:223)
at org.eclipse.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:760)
at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1617)
at com.mirth.connect.server.MethodFilter.doFilter(Met hodFilter.java:37)
at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1604)
at com.mirth.connect.server.api.providers.Clickjackin gFilter.doFilter(ClickjackingFilter.java:44)
at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1604)
at com.mirth.connect.server.api.providers.ApiOriginFi lter.doFilter(ApiOriginFilter.java:71)
at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle( ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nex tHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.session.SessionHandler.do Handle(SessionHandler.java:1589)
at org.eclipse.jetty.server.handler.ScopedHandler.nex tHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.do Handle(ContextHandler.java:1296)
at org.eclipse.jetty.server.handler.ScopedHandler.nex tScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(S ervletHandler.java:485)
at org.eclipse.jetty.server.session.SessionHandler.do Scope(SessionHandler.java:1559)
at org.eclipse.jetty.server.handler.ScopedHandler.nex tScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.do Scope(ContextHandler.java:1211)
at org.eclipse.jetty.server.handler.ScopedHandler.han dle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerList.handl e(HandlerList.java:59)
at org.eclipse.jetty.server.handler.HandlerWrapper.ha ndle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java :500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle $1(HttpChannel.java:386)
at org.eclipse.jetty.server.HttpChannel.dispatch(Http Channel.java:560)
at org.eclipse.jetty.server.HttpChannel.handle(HttpCh annel.java:378)
at org.eclipse.jetty.server.HttpConnection.onFillable (HttpConnection.java:268)
at org.eclipse.jetty.io.AbstractConnection$ReadCallba ck.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInt erest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEn dPoint.onFillable(SslConnection.java:426)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable( SslConnection.java:320)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded (SslConnection.java:158)
at org.eclipse.jetty.io.FillInterest.fillable(FillInt erest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(Channel EndPoint.java:117)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouK ill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouK ill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouK ill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouK ill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecut or$ReservedThread.run(ReservedThreadExecutor.java: 367)
at org.eclipse.jetty.util.thread.QueuedThreadPool.run Job(QueuedThreadPool.java:782)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Run ner.run(QueuedThreadPool.java:914)
at java.lang.Thread.run(Unknown Source)
Is there any alternative to undeploy the channel from the dashboard?
The Mirth Connect version is 3.9.0
Thanks
Beta Was this translation helpful? Give feedback.
All reactions