ConfigurationException when using NotifySQLTable in SOA-P 5.0

Solution Verified - Updated -

Issue

We are using the NotifySQLTable to insert data in to a MySQL table.We are getting the below error while using the NotifySQLTable.

07:04:36,504 ERROR [NotificationList] Can't instantiate target <target class="NotifySQLTable" driver-class="com.mysql.jdbc.Driver"
connection-url="jdbc:mysql://@HOST@:@PORT@/@SCHEMA@" user-name="@USERNAME@"
password="@PASSWORD@" table="@TABLENAME@" dataColumn="@message@">
<column name="@message_id@" value="90" />
</target>

org.jboss.soa.esb.ConfigurationException: Invalid class <NotifySQLTable>, or missing library.

This is how the NotifySQLTable is defined in jboss-esb.xml:

<action class="org.jboss.soa.esb.actions.Notifier" name="db_notifier"> 
  <property name="okMethod" value="notifyOK" /> 
  <property name="destinations"> 
    <NotificationList type="OK"> 
      <target class="NotifySQLTable" driver-class="com.mysql.jdbc.Driver" 
              connection-url="jdbc:mysql://@HOST@:@PORT@/@SCHEMA@" user-name="@USERNAME@" 
              password="@PASSWORD@" table="@TABLENAME@" dataColumn="@message@"> 
        <column name="@message_id@" value="90" /> 
      </target> 
    </NotificationList> 
  </property> 
</action>

Environment

  • JBoss Enterprise SOA Platform (SOA-P)
    • 5.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.