com.mirth.connect.donkey.server.channel.ChannelException

Mirth Project | Wayne Huang | 2 years ago
  1. 0

    {code} ERROR 2015-02-13 21:13:18,630 [Timer-2] com.mirth.connect.connectors.file.filesystems.FtpConnection: closeReadFile.completePendingCommand: 426-426 Connection closed; aborted transfer of "/New Text Document.txt" ERROR 2015-02-13 21:13:18,630 [Timer-2] com.mirth.connect.connectors.file.FileReceiver: Unable to dispatch message to channel 2d151a72-d32f-4d66-9070-541af0fd20f2: java.io.IOException: Ftp error: 426 at com.mirth.connect.connectors.file.filesystems.FtpConnection.closeReadFile(FtpConnection.java:251) at com.mirth.connect.connectors.file.FileReceiver.getBytesFromFile(FileReceiver.java:502) at com.mirth.connect.connectors.file.FileReceiver.processFile(FileReceiver.java:318) at com.mirth.connect.connectors.file.FileReceiver.processFiles(FileReceiver.java:221) at com.mirth.connect.connectors.file.FileReceiver.poll(FileReceiver.java:177) at com.mirth.connect.donkey.server.channel.PollConnector$PollConnectorTask.run(PollConnector.java:131) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) ERROR 2015-02-13 21:13:25,347 [Timer-2] com.mirth.connect.connectors.file.FileReceiver: Unable to dispatch message to channel 2d151a72-d32f-4d66-9070-541af0fd20f2: com.mirth.connect.donkey.server.channel.ChannelException at com.mirth.connect.donkey.server.channel.Channel.dispatchRawMessage(Channel.java:1115) at com.mirth.connect.donkey.server.channel.SourceConnector.dispatchRawMessage(SourceConnector.java:191) at com.mirth.connect.donkey.server.channel.SourceConnector.dispatchRawMessage(SourceConnector.java:169) at com.mirth.connect.connectors.file.FileReceiver.processFile(FileReceiver.java:325) at com.mirth.connect.connectors.file.FileReceiver.processFiles(FileReceiver.java:221) at com.mirth.connect.connectors.file.FileReceiver.poll(FileReceiver.java:177) at com.mirth.connect.donkey.server.channel.PollConnector$PollConnectorTask.run(PollConnector.java:131) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) {code} Googling for this error only finds this thread on our own forum from 2011. http://www.mirthcorp.com/community/forums/showthread.php?t=5617

    Mirth Project | 2 years ago | Wayne Huang
    com.mirth.connect.donkey.server.channel.ChannelException
  2. 0

    I had a JavaScript Reader channel (pruning enabled) that was basically just blasting a bunch of messages. At the same time, I ran the data pruner. When I did that, both the pruner and channel processing seemed to stop for a good 15-20 seconds, after which I got this: {code}[2013-06-27 18:48:45,546] ERROR (com.mirth.connect.donkey.server.channel.Channel:961): Error processing message. com.mirth.connect.donkey.server.channel.ChannelException: com.mirth.connect.donkey.server.data.DonkeyDaoException: java.sql.SQLException: Transaction (Process ID 56) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. at com.mirth.connect.donkey.server.channel.Channel.dispatchRawMessage(Channel.java:920) at com.mirth.connect.donkey.server.channel.SourceConnector.dispatchRawMessage(SourceConnector.java:130) at com.mirth.connect.connectors.js.JavaScriptReceiver.poll(JavaScriptReceiver.java:100) at com.mirth.connect.donkey.server.channel.PollConnector$PollConnectorTask.run(PollConnector.java:111) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source)Caused by: com.mirth.connect.donkey.server.data.DonkeyDaoException: java.sql.SQLException: Transaction (Process ID 56) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. at com.mirth.connect.donkey.server.data.jdbc.JdbcDao.insertContent(JdbcDao.java:233) at com.mirth.connect.donkey.server.data.jdbc.JdbcDao.insertMessageContent(JdbcDao.java:161) at com.mirth.connect.donkey.server.data.buffered.BufferedDao.executeTasks(BufferedDao.java:98) at com.mirth.connect.donkey.server.data.buffered.BufferedDao.commit(BufferedDao.java:74) at com.mirth.connect.donkey.server.data.buffered.BufferedDao.commit(BufferedDao.java:61) at com.mirth.connect.donkey.server.channel.Channel.dispatchRawMessage(Channel.java:907) ... 5 moreCaused by: java.sql.SQLException: Transaction (Process ID 56) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:372) at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2894) at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2334) at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:643) at net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:614) at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:573) at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeUpdate(JtdsPreparedStatement.java:707) at com.mirth.connect.donkey.server.data.jdbc.JdbcDao.insertContent(JdbcDao.java:230) ... 10 more{code}

    Mirth Project | 3 years ago | Nick Rupley
    com.mirth.connect.donkey.server.channel.ChannelException: com.mirth.connect.donkey.server.data.DonkeyDaoException: java.sql.SQLException: Transaction (Process ID 56) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
  3. 0

    When using the options encrypted=Yes and Document type='PDF' with a Document Writer Destination in Mirth 3.0.1 (upgraded from 2.2.3) it gives the following error when running the channel: ( On Mirth version 2.2.3 there are no Errors, and the channel works correct.) [2014-01-07 11:59:14,252] ERROR (com.mirth.connect.donkey.server.channel.Channel:1020): Error processing message. com.mirth.connect.donkey.server.channel.ChannelException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DEREncodable at com.mirth.connect.donkey.server.channel.Channel.dispatchRawMessage(Channel.java:979) at com.mirth.connect.donkey.server.channel.SourceConnector.dispatchRawMessage(SourceConnector.java:177) at com.mirth.connect.donkey.server.channel.SourceConnector.dispatchRawMessage(SourceConnector.java:154) at com.mirth.connect.connectors.jdbc.DatabaseReceiver.processRecord(DatabaseReceiver.java:207) at com.mirth.connect.connectors.jdbc.DatabaseReceiver.processResultSet(DatabaseReceiver.java:173) at com.mirth.connect.connectors.jdbc.DatabaseReceiver.poll(DatabaseReceiver.java:122) at com.mirth.connect.donkey.server.channel.PollConnector$PollConnectorTask.run(PollConnector.java:141) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505)Caused by: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DEREncodable at com.mirth.connect.donkey.server.channel.Channel.handleDestinationChainThrowable(Channel.java:1497) at com.mirth.connect.donkey.server.channel.Channel.process(Channel.java:1424) at com.mirth.connect.donkey.server.channel.Channel.dispatchRawMessage(Channel.java:955) ... 8 moreCaused by: java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DEREncodable at com.lowagie.text.pdf.PdfEncryption.<init>(Unknown Source) at com.lowagie.text.pdf.PdfWriter.setEncryption(Unknown Source) at com.lowagie.text.pdf.PdfStamper.setEncryption(Unknown Source) at com.lowagie.text.pdf.PdfStamper.setEncryption(Unknown Source) at com.lowagie.text.pdf.PdfEncryptor.encrypt(Unknown Source) at com.mirth.connect.connectors.doc.DocumentDispatcher.writeDocument(DocumentDispatcher.java:171) at com.mirth.connect.connectors.doc.DocumentDispatcher.send(DocumentDispatcher.java:105) at com.mirth.connect.donkey.server.channel.DestinationConnector.handleSend(DestinationConnector.java:588) at com.mirth.connect.donkey.server.channel.DestinationConnector.process(DestinationConnector.java:336) at com.mirth.connect.donkey.server.channel.DestinationChain.call(DestinationChain.java:224) at com.mirth.connect.donkey.server.channel.Channel.process(Channel.java:1422) ... 9 moreCaused by: java.lang.ClassNotFoundException: org.bouncycastle.asn1.DEREncodable at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 20 more

    Mirth Project | 3 years ago | K.A. Lehmann
    com.mirth.connect.donkey.server.channel.ChannelException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DEREncodable
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.mirth.connect.donkey.server.channel.ChannelException

      No message provided

      at com.mirth.connect.donkey.server.channel.Channel.dispatchRawMessage()
    2. com.mirth.connect
      PollConnector$PollConnectorTask.run
      1. com.mirth.connect.donkey.server.channel.Channel.dispatchRawMessage(Channel.java:1115)
      2. com.mirth.connect.donkey.server.channel.SourceConnector.dispatchRawMessage(SourceConnector.java:191)
      3. com.mirth.connect.donkey.server.channel.SourceConnector.dispatchRawMessage(SourceConnector.java:169)
      4. com.mirth.connect.connectors.file.FileReceiver.processFile(FileReceiver.java:325)
      5. com.mirth.connect.connectors.file.FileReceiver.processFiles(FileReceiver.java:221)
      6. com.mirth.connect.connectors.file.FileReceiver.poll(FileReceiver.java:177)
      7. com.mirth.connect.donkey.server.channel.PollConnector$PollConnectorTask.run(PollConnector.java:131)
      7 frames
    3. Java RT
      TimerThread.run
      1. java.util.TimerThread.mainLoop(Unknown Source)
      2. java.util.TimerThread.run(Unknown Source)
      2 frames