No announcement yet.

puzzling jdbc connector error (file2file works)

  • Filter
  • Time
  • Show
Clear All
new posts

  • puzzling jdbc connector error (file2file works)

    hello all,

    i'm running mirth 1.6.

    established a file 2 file channel.

    am trying to change the file writer to a mysql db writer.

    initially my writer was inserting rows in db (albeit without text appearing in cells), so my connection info is valid

    now i get no inserts, only the below error msg (seen via the error tab of a destination msg).


    thanks kindly for any insight.


    frank ruscica

    ERROR-406: JDBC Connector error
    ERROR MESSAGE: Error writing to database:
    java.sql.SQLException: FUNCTION hl7testdb.$ does not exist Query: INSERT IGNORE INTO hl7testtbl (firstname, lastname) values ($('firstname'), $('lastname'));

    Parameters: []
    at org.apache.commons.dbutils.QueryRunner.rethrow(Que
    at org.apache.commons.dbutils.QueryRunner.update(Quer
    at com.webreach.mirth.connectors.jdbc.JdbcMessageDisp atcher.doDispatch(
    at com.webreach.mirth.connectors.jdbc.JdbcMessageDisp atcher.doSend(
    at org.mule.providers.AbstractMessageDispatcher.send(
    at org.mule.impl.MuleSession.sendEvent(MuleSession.ja va:191)
    at org.mule.impl.MuleSession.sendEvent(MuleSession.ja va:130)
    at org.mule.routing.outbound.AbstractOutboundRouter.s end(
    at org.mule.routing.outbound.FilteringMulticastingRou ter.route(
    at org.mule.routing.outbound.OutboundMessageRouter$1. doInTransaction(
    at org.mule.transaction.TransactionTemplate.execute(T
    at ute(
    at org.mule.impl.model.DefaultMuleProxy.onCall(Defaul
    at org.mule.impl.model.seda.SedaComponent.doSend(Seda
    at org.mule.impl.model.AbstractComponent.sendEvent(Ab
    at org.mule.impl.MuleSession.sendEvent(MuleSession.ja va:201)
    at org.mule.routing.inbound.InboundMessageRouter.send (
    at org.mule.routing.inbound.InboundMessageRouter.rout e(
    at org.mule.providers.AbstractMessageReceiver$Default InternalMessageListener.onMessage(AbstractMessageR
    at org.mule.providers.AbstractMessageReceiver.routeMe ssage(
    at org.mule.providers.AbstractMessageReceiver.routeMe ssage(
    at com.webreach.mirth.connectors.file.FileMessageRece iver.processFile(
    at com.webreach.mirth.connectors.file.FileMessageRece iver.poll(
    at .java:290)
    at eadPoolExecutor$Worker.runTask(ThreadPoolExecutor. java:650)
    at eadPoolExecutor$ :675)
    at Source)

    Post edited by: fruscica, at: 01/22/2008 10:16

    Post edited by: fruscica, at: 01/22/2008 10:17

  • #2
    Reuzzling jdbc connector error (file2file works)

    Could you post your channel ?