com.mirth.connect.server.Mirth: Running Java HotSpot(TM) 64-Bit Server VM 1.6.0_20 o

Mirth Project | Igor Ges | 6 years ago
  1. 0

    After importing Mirth 1.8.2 channels into a new instance of Mirth 2.0.0 we keep getting the same error when starting Mirth. The error seems to happen in the channel preprocessor. {noformat} NFO 2010-11-04 15:22:05,231 [Thread-2] com.mirth.connect.server.Mirth: Mirth Connect 2.0.0.5127 (October 28, 2010) server s arted: Thu Nov 04 15:22:05 CST 2010 INFO 2010-11-04 15:22:05,231 [Thread-2] com.mirth.connect.server.Mirth: This product was developed by Mirth Corporation (htt orp.com) and its contributors (c)2005-2010. INFO 2010-11-04 15:22:05,231 [Thread-2] com.mirth.connect.server.Mirth: Running Java HotSpot(TM) 64-Bit Server VM 1.6.0_20 o at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) ERROR 2010-11-04 15:22:04,250 [Thread-2] com.mirth.connect.server.util.JavaScriptUtil: Error executing f2439943-2775-416b-8df c-1fd7d920f9eb_Deploy script from channel: f2439943-2775-416b-8dfc-1fd7d920f9eb com.mirth.connect.server.MirthJavascriptTransformerException: SOURCE CODE: 4816: } 4817: };var release_tag = 50;function doScript() { 4818: // This script executes once when the mule engine is started 4819: // You only have access to the globalMap here to persist data 4820: 4821: message = message.replace(/:/g, "|") 4822: message = message.replace (/;/g, "^"); 4823: return message; 4824: } LINE NUMBER: 4820 DETAILS: ReferenceError: "message" is not defined. at com.mirth.connect.server.util.JavaScriptUtil.executeScript(JavaScriptUtil.java:251) at com.mirth.connect.server.util.JavaScriptUtil.executeChannelDeployOrShutdownScript(JavaScriptUtil.java:180) at com.mirth.connect.server.controllers.DefaultScriptController.executeChannelDeployScript(DefaultScriptController.ja va:197) at com.mirth.connect.server.controllers.MuleEngineController.deployChannels(MuleEngineController.java:199) at com.mirth.connect.server.controllers.MuleEngineController.redeployAllChannels(MuleEngineController.java:281) at com.mirth.connect.server.controllers.MuleEngineController.startEngine(MuleEngineController.java:144) at com.mirth.connect.server.Mirth.startEngine(Mirth.java:205) at com.mirth.connect.server.Mirth.startup(Mirth.java:176) at com.mirth.connect.server.Mirth.run(Mirth.java:126) INFO 2010-11-04 15:22:05,231 [Thread-2] com.mirth.connect.server.Mirth: Mirth Connect 2.0.0.5127 (October 28, 2010) server s uccessfully started: Thu Nov 04 15:22:05 CST 2010 INFO 2010-11-04 15:22:05,231 [Thread-2] com.mirth.connect.server.Mirth: This product was developed by Mirth Corporation (htt p://www.mirthcorp.com) and its contributors (c)2005-2010. INFO 2010-11-04 15:22:05,231 [Thread-2] com.mirth.connect.server.Mirth: Running Java HotSpot(TM) 64-Bit Server VM 1.6.0_20 o n Linux (2.6.18-xen, amd64) with charset UTF-8. {noformat}

    Mirth Project | 6 years ago | Igor Ges
    com.mirth.connect.server.Mirth: Running Java HotSpot(TM) 64-Bit Server VM 1.6.0_20 o
  2. 0

    After importing Mirth 1.8.2 channels into a new instance of Mirth 2.0.0 we keep getting the same error when starting Mirth. The error seems to happen in the channel preprocessor. {noformat} NFO 2010-11-04 15:22:05,231 [Thread-2] com.mirth.connect.server.Mirth: Mirth Connect 2.0.0.5127 (October 28, 2010) server s arted: Thu Nov 04 15:22:05 CST 2010 INFO 2010-11-04 15:22:05,231 [Thread-2] com.mirth.connect.server.Mirth: This product was developed by Mirth Corporation (htt orp.com) and its contributors (c)2005-2010. INFO 2010-11-04 15:22:05,231 [Thread-2] com.mirth.connect.server.Mirth: Running Java HotSpot(TM) 64-Bit Server VM 1.6.0_20 o at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) ERROR 2010-11-04 15:22:04,250 [Thread-2] com.mirth.connect.server.util.JavaScriptUtil: Error executing f2439943-2775-416b-8df c-1fd7d920f9eb_Deploy script from channel: f2439943-2775-416b-8dfc-1fd7d920f9eb com.mirth.connect.server.MirthJavascriptTransformerException: SOURCE CODE: 4816: } 4817: };var release_tag = 50;function doScript() { 4818: // This script executes once when the mule engine is started 4819: // You only have access to the globalMap here to persist data 4820: 4821: message = message.replace(/:/g, "|") 4822: message = message.replace (/;/g, "^"); 4823: return message; 4824: } LINE NUMBER: 4820 DETAILS: ReferenceError: "message" is not defined. at com.mirth.connect.server.util.JavaScriptUtil.executeScript(JavaScriptUtil.java:251) at com.mirth.connect.server.util.JavaScriptUtil.executeChannelDeployOrShutdownScript(JavaScriptUtil.java:180) at com.mirth.connect.server.controllers.DefaultScriptController.executeChannelDeployScript(DefaultScriptController.ja va:197) at com.mirth.connect.server.controllers.MuleEngineController.deployChannels(MuleEngineController.java:199) at com.mirth.connect.server.controllers.MuleEngineController.redeployAllChannels(MuleEngineController.java:281) at com.mirth.connect.server.controllers.MuleEngineController.startEngine(MuleEngineController.java:144) at com.mirth.connect.server.Mirth.startEngine(Mirth.java:205) at com.mirth.connect.server.Mirth.startup(Mirth.java:176) at com.mirth.connect.server.Mirth.run(Mirth.java:126) INFO 2010-11-04 15:22:05,231 [Thread-2] com.mirth.connect.server.Mirth: Mirth Connect 2.0.0.5127 (October 28, 2010) server s uccessfully started: Thu Nov 04 15:22:05 CST 2010 INFO 2010-11-04 15:22:05,231 [Thread-2] com.mirth.connect.server.Mirth: This product was developed by Mirth Corporation (htt p://www.mirthcorp.com) and its contributors (c)2005-2010. INFO 2010-11-04 15:22:05,231 [Thread-2] com.mirth.connect.server.Mirth: Running Java HotSpot(TM) 64-Bit Server VM 1.6.0_20 o n Linux (2.6.18-xen, amd64) with charset UTF-8. {noformat}

    Mirth Project | 6 years ago | Igor Ges
    com.mirth.connect.server.Mirth: Running Java HotSpot(TM) 64-Bit Server VM 1.6.0_20 o

    Root Cause Analysis

    1. com.mirth.connect.server.Mirth

      Running Java HotSpot(TM) 64-Bit Server VM 1.6.0_20 o

      at org.mortbay.util.ThreadPool$PoolThread.run()
    2. Jetty Util
      ThreadPool$PoolThread.run
      1. org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
      1 frame