com.mirth.connect.donkey.server.StartException: com.mirth.connect.donkey.server.StartException: Failed to start HTTP Listener

Mirth Project | Brent Moen | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Appears that Jetty fails when the context path has a trailing slash. We should check for it and remove it. {code} [2014-04-15 08:55:27,521] ERROR (com.mirth.connect.server.controllers.DonkeyEngineController:191): Error deploying channel 20aae280-4f8f-4904-8d90-48185825bc87. com.mirth.connect.donkey.server.StartException: com.mirth.connect.donkey.server.StartException: Failed to start HTTP Listener at com.mirth.connect.donkey.server.channel.Channel$StartTask.call(Channel.java:1962) at com.mirth.connect.donkey.server.channel.Channel$StartTask.call(Channel.java:1861) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722)Caused by: com.mirth.connect.donkey.server.StartException: Failed to start HTTP Listener at com.mirth.connect.connectors.http.HttpReceiver.onStart(HttpReceiver.java:110) at com.mirth.connect.donkey.server.channel.SourceConnector.start(SourceConnector.java:88) at com.mirth.connect.donkey.server.channel.Channel$StartTask.call(Channel.java:1939) ... 6 moreCaused by: java.lang.IllegalArgumentException: ends with / at org.eclipse.jetty.server.handler.ContextHandler.setContextPath(ContextHandler.java:1237) at com.mirth.connect.connectors.http.HttpReceiver.onStart(HttpReceiver.java:101) ... 8 more {code}

    Mirth Project | 3 years ago | Brent Moen
    com.mirth.connect.donkey.server.StartException: com.mirth.connect.donkey.server.StartException: Failed to start HTTP Listener
  2. 0

    {code}[2014-05-28 10:47:33,867] ERROR (com.mirth.connect.server.controllers.DonkeyEngineController:191): Error deploying channel 73cfb309-1e7d-4165-a60c-dbbe7f131816. com.mirth.connect.donkey.server.StartException: com.mirth.connect.donkey.server.StartException: Failed to start HTTP Listener at com.mirth.connect.donkey.server.channel.Channel$StartTask.call(Channel.java:1967) at com.mirth.connect.donkey.server.channel.Channel$StartTask.call(Channel.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:680)Caused by: com.mirth.connect.donkey.server.StartException: Failed to start HTTP Listener at com.mirth.connect.connectors.http.HttpReceiver.onStart(HttpReceiver.java:116) at com.mirth.connect.donkey.server.channel.SourceConnector.start(SourceConnector.java:86) at com.mirth.connect.donkey.server.channel.Channel$StartTask.call(Channel.java:1944) ... 6 moreCaused by: java.lang.IllegalArgumentException: ends with / at org.eclipse.jetty.server.handler.ContextHandler.setContextPath(ContextHandler.java:1237) at com.mirth.connect.connectors.http.HttpReceiver.onStart(HttpReceiver.java:107) ... 8 more{code}

    Mirth Project | 3 years ago | Nick Rupley
    com.mirth.connect.donkey.server.StartException: com.mirth.connect.donkey.server.StartException: Failed to start HTTP Listener
  3. 0

    Appears that Jetty fails when the context path has a trailing slash. We should check for it and remove it. {code} [2014-04-15 08:55:27,521] ERROR (com.mirth.connect.server.controllers.DonkeyEngineController:191): Error deploying channel 20aae280-4f8f-4904-8d90-48185825bc87. com.mirth.connect.donkey.server.StartException: com.mirth.connect.donkey.server.StartException: Failed to start HTTP Listener at com.mirth.connect.donkey.server.channel.Channel$StartTask.call(Channel.java:1962) at com.mirth.connect.donkey.server.channel.Channel$StartTask.call(Channel.java:1861) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722)Caused by: com.mirth.connect.donkey.server.StartException: Failed to start HTTP Listener at com.mirth.connect.connectors.http.HttpReceiver.onStart(HttpReceiver.java:110) at com.mirth.connect.donkey.server.channel.SourceConnector.start(SourceConnector.java:88) at com.mirth.connect.donkey.server.channel.Channel$StartTask.call(Channel.java:1939) ... 6 moreCaused by: java.lang.IllegalArgumentException: ends with / at org.eclipse.jetty.server.handler.ContextHandler.setContextPath(ContextHandler.java:1237) at com.mirth.connect.connectors.http.HttpReceiver.onStart(HttpReceiver.java:101) ... 8 more {code}

    Mirth Project | 3 years ago | Brent Moen
    java.lang.IllegalArgumentException: ends with /
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      ends with /

      at org.eclipse.jetty.server.handler.ContextHandler.setContextPath()
    2. Jetty
      ContextHandler.setContextPath
      1. org.eclipse.jetty.server.handler.ContextHandler.setContextPath(ContextHandler.java:1237)
      1 frame
    3. com.mirth.connect
      Channel$StartTask.call
      1. com.mirth.connect.connectors.http.HttpReceiver.onStart(HttpReceiver.java:101)
      2. com.mirth.connect.donkey.server.channel.SourceConnector.start(SourceConnector.java:88)
      3. com.mirth.connect.donkey.server.channel.Channel$StartTask.call(Channel.java:1939)
      4. com.mirth.connect.donkey.server.channel.Channel$StartTask.call(Channel.java:1861)
      4 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      5. java.lang.Thread.run(Thread.java:722)
      5 frames