Announcement

Collapse
No announcement yet.

Channels deploy themselves after undeploying and restarting the machine

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Channels deploy themselves after undeploying and restarting the machine

    I have a lot of channels on my dev computer.

    I don't want all channels to be running all time, just the few that I'm working on.

    Every time I open Mirth Administrator, ALL my channels are deployed and running. And I stop and undeploy all of them. Until the next computer restart that I see all channels running again, listening on a lot of ports and doing stuff that I don't need/want them to do. Just need them in the same state that I left them: undeployed.

    Is this a bug? How can I undeploy and keep channels that way after restarting?

    I'm using 3.4.2 and this happened on previous versions as well.

    Thanks.

  • #2
    This is expected behavior.

    It sounds like you have your channels
    1. enabled
    2. "Initial State" set to Started

    Either disable the channels you don't want to start when you restart your computer (i.e. the MC server)

    Or set the initial state to Stopped.
    Best,

    Kirby

    Mirth Certified|Epic Bridges Certified|Cloverleaf Level 2 Certified

    Appliance Version 3.11.4
    Mirth Connect Version 3.8.0
    Java Version 1.6.0_45-b06
    Java (64 bit) Version 1.6.0_45-b06
    Java 7 (64 bit) Version 1.7.0_151-b15
    Java 8 (64 bit) Version 1.8.0_181-b13
    PostgreSQL Version 9.6.8

    Comment


    • #3
      I think that disabled channels don't get auto deployed. But if a channel is enabled but undeployed, it will get redeployed post-restart. So if you are not using a particular channel undeploy and disable it, or set the initial status to Stopped in channel settings.
      HL7v2.7 Certified Control Specialist!

      Comment


      • #4
        Originally posted by ppazos View Post
        How can I undeploy and keep channels that way after restarting?
        change in the config file <mirth install folder>/conf/mirth.properties the parameter

        Code:
        # Determines whether or not channels are deployed on server startup.
        server.startupdeploy = true
        to

        Code:
        # Determines whether or not channels are deployed on server startup.
        server.startupdeploy = false
        However, this means no channel will be deployed at startup. if you want selective deployment, you have to either disable the concerned channels or set their initial state to stopped (like already mentioned above)
        Last edited by odo; 08-21-2017, 03:13 AM.

        Comment

        Working...
        X