Announcement

Collapse
No announcement yet.

Mirt stops responding after an exception

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

  • Mirt stops responding after an exception

    ----------------------------------
    Environment: Windows 2000 Server w/SP4, Mirth v1.1, Java Version 1.5.0 (build 1.5.0_08-b03)
    ----------------------------------
    Mirth stops receiving messages after an exception. I have to re-start Mirth to make it work again.

    Steps followed are:
    Disable channel / Deploy Channel / Shutdown Mirth / Start Mirth / Enable Channel / Deploy channel.

    -NS

  • #2
    Re: Mirt stops responding after an exception

    Can you include the exception you received?

    Thanks,
    -Chris
    Chris Lang

    Comment


    • #3
      Re: Mirt stops responding after an exception

      I don't think there was any specific exception that was causing this problem. When I observed this problem the exceptions I was getting were related to SQL/JavaScript syntax erros like this one:

      -----------------
      ERROR [5_destination_1.dispatcher.1] org.mule.impl.DefaultExceptionStrategy: Caught exception in Exception Strategy: Line 1: Incorrect syntax near '}'. Query: INSERT IGNORE INTO Patient (Account, FirstName, LastName)
      VALUES (?, ?, ?);} Parameters: [562001, TestPatient, DevMPM04]
      java.sql.SQLException: Line 1: Incorrect syntax near '}'. Query: INSERT IGNORE INTO Patient (Account, FirstName, LastName)
      VALUES (?, ?, ?);} Parameters: [562001, TestPatient, DevMPM04]
      at org.apache.commons.dbutils.QueryRunner.rethrow(Que ryRunner.java:330)
      at org.apache.commons.dbutils.QueryRunner.update(Quer yRunner.java:399)
      at org.mule.providers.jdbc.JdbcMessageDispatcher.doDi spatch(JdbcMessageDispatcher.java:95)
      at org.mule.providers.AbstractMessageDispatcher$Worke r.run(AbstractMessageDispatcher.java:257)
      at org.mule.impl.work.WorkerContext.run(WorkerContext .java:290)
      at edu.emory.mathcs.backport.java.util.concurrent.Thr eadPoolExecutor$Worker.runTask(ThreadPoolExecutor. java:650)
      at edu.emory.mathcs.backport.java.util.concurrent.Thr eadPoolExecutor$Worker.run(ThreadPoolExecutor.java :675)
      at java.lang.Thread.run(Unknown Source)
      -----------------

      Comment

      Working...
      X