web stats
Halt not working - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 02-08-2019, 09:54 AM
StickyBandit's Avatar
StickyBandit StickyBandit is offline
Mirth Guru
 
Join Date: Aug 2013
Location: Home Alone
Posts: 902
StickyBandit is on a distinguished road
Red face Halt not working

I have a channel that says "stopping" I have tried halt, it does not work.
The only way to stop this channel seems to be restarting Mirth Connect, but we don't want to do this because this is our live production box that is constantly getting data.

What can I do to get halt to actually halt the channel?

Mirth Connect Server 3.6.1
Built on July 13, 2018
Java version: 1.8.0_181
Reply With Quote
  #2  
Old 02-14-2019, 12:48 PM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 629
agermano is on a distinguished road
Default

Do you know where in your code the channel is getting stuck? Some endless loop condition that it isn't breaking out of or something?
Reply With Quote
  #3  
Old 02-14-2019, 02:49 PM
StickyBandit's Avatar
StickyBandit StickyBandit is offline
Mirth Guru
 
Join Date: Aug 2013
Location: Home Alone
Posts: 902
StickyBandit is on a distinguished road
Default

It happens when it is unable to execute a SQL DELETE statement, (maybe because a row is locked or something).
There is a grayed out message that never finishes and the channel just gets permanently stuck.
Reply With Quote
  #4  
Old 02-15-2019, 09:07 AM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 629
agermano is on a distinguished road
Default

I think it's possible to set a timeout on the connection before you issue the delete so that it won't hang forever. I don't know if timing out cancels the pending request or not. You might also want to turn auto-commit off to make sure it rolls back.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 07:33 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation