java.lang.Exception: java.net.UnknownHostException: ${server}

Mirth Project | David Schramm | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    HTTP Sender Channel: Source Transformer: channelMap.put("server", "localhost:5566"); Destination Sending to: http://${server} Use Persistent Queues is set to Yes. If the end destination is down, causing queuing, two Errors are immediately thrown: [2011-08-04 11:38:01,848] FATAL (org.mule.impl.DefaultComponentExceptionStrategy:84): The error is: java.net.UnknownHostException: ${server} java.lang.Exception: java.net.UnknownHostException: ${server} at com.mirth.connect.connectors.http.HttpMessageDispatcher.sendPayload(HttpMessageDispatcher.java:197) at org.mule.providers.QueueEnabledConnector$QueueWorker.run(QueueEnabledConnector.java:218) at java.lang.Thread.run(Thread.java:680)Caused by: java.net.UnknownHostException: ${server} at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at java.net.Socket.<init>(Socket.java:375) at java.net.Socket.<init>(Socket.java:249) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) at com.mirth.connect.connectors.http.HttpMessageDispatcher.submitHttpRequest(HttpMessageDispatcher.java:128) at com.mirth.connect.connectors.http.HttpMessageDispatcher.sendPayload(HttpMessageDispatcher.java:187) ... 2 more [2011-08-04 11:38:01,848] FATAL (org.mule.impl.DefaultComponentExceptionStrategy:83): The Default Component Exception Strategy has been invoked but there is no current event on the context Channel works as expected if end system is up.

    Mirth Project | 6 years ago | David Schramm
    java.lang.Exception: java.net.UnknownHostException: ${server}
  2. 0

    HTTP Sender Channel: Source Transformer: channelMap.put("server", "localhost:5566"); Destination Sending to: http://${server} Use Persistent Queues is set to Yes. If the end destination is down, causing queuing, two Errors are immediately thrown: [2011-08-04 11:38:01,848] FATAL (org.mule.impl.DefaultComponentExceptionStrategy:84): The error is: java.net.UnknownHostException: ${server} java.lang.Exception: java.net.UnknownHostException: ${server} at com.mirth.connect.connectors.http.HttpMessageDispatcher.sendPayload(HttpMessageDispatcher.java:197) at org.mule.providers.QueueEnabledConnector$QueueWorker.run(QueueEnabledConnector.java:218) at java.lang.Thread.run(Thread.java:680)Caused by: java.net.UnknownHostException: ${server} at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at java.net.Socket.<init>(Socket.java:375) at java.net.Socket.<init>(Socket.java:249) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) at com.mirth.connect.connectors.http.HttpMessageDispatcher.submitHttpRequest(HttpMessageDispatcher.java:128) at com.mirth.connect.connectors.http.HttpMessageDispatcher.sendPayload(HttpMessageDispatcher.java:187) ... 2 more [2011-08-04 11:38:01,848] FATAL (org.mule.impl.DefaultComponentExceptionStrategy:83): The Default Component Exception Strategy has been invoked but there is no current event on the context Channel works as expected if end system is up.

    Mirth Project | 6 years ago | David Schramm
    java.net.UnknownHostException: ${server}
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    NPE loading settings during network failure

    GitHub | 5 years ago | forkner
    java.net.UnknownHostException: geoiplookup.wikimedia.org
  5. 0

    Build returning error code -1

    Google Groups | 3 years ago | Jeff Schmitz
    java.net.UnknownHostException: http://proxy.boeing.com

  1. jstrayer 1 times, last 4 months ago
  2. Gatgeagent 3 times, last 6 months ago
8 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.UnknownHostException

    ${server}

    at java.net.PlainSocketImpl.connect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195)
    2. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
    3. java.net.Socket.connect(Socket.java:529)
    4. java.net.Socket.connect(Socket.java:478)
    5. java.net.Socket.<init>(Socket.java:375)
    6. java.net.Socket.<init>(Socket.java:249)
    6 frames
  3. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)
    2. org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121)
    3. org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
    4. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
    5. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
    6. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
    7. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
    7 frames
  4. com.mirth.connect
    HttpMessageDispatcher.sendPayload
    1. com.mirth.connect.connectors.http.HttpMessageDispatcher.submitHttpRequest(HttpMessageDispatcher.java:128)
    2. com.mirth.connect.connectors.http.HttpMessageDispatcher.sendPayload(HttpMessageDispatcher.java:187)
    2 frames
  5. org.mule.providers
    QueueEnabledConnector$QueueWorker.run
    1. org.mule.providers.QueueEnabledConnector$QueueWorker.run(QueueEnabledConnector.java:218)
    1 frame
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:680)
    1 frame