IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
Expand all | Collapse all

JDBC Notification not working in wM 9.5 using MS SQL database 2012

  • 1.  JDBC Notification not working in wM 9.5 using MS SQL database 2012

    Posted 01/14/14 03:13 AM

    Hi,

    We have created a Basic Notification and Insert Notification in wM 9.5 on the MS SQL database 2012.

    1.)For the Basic Notification the data is picked up by the database trigger on insert event and inserted into the buffer table. However the data from the buffer table is not published by the wM notification. The polling of the notification is enabled. We are not getting any error on the error log.

    2.)For the insert notification, we are encountering the error while inserting the data in the MS SQL table. The error message is as mentioned below:

    ART.117.4002] Adapter Runtime (Adapter Service): Unable to invoke adapter service TrainingTest:insertService.
    [ADA.1.316] Cannot execute the SQL statement “INSERT INTO DB_Name.Schema_Name.Table_Name(emp_id, f_name, l_name, designation) VALUES (?, ?, ?, ?)”. "
    b Invalid object name ‘Username.BufferTable_Name’."
    Invalid object name ‘Username.BufferTable_Name’. [/b]Caused by: com.wm.adk.error.AdapterServiceException: [ADA.1.316] Cannot execute the SQL statement “INSERT INTO DB_Name.Schema_Name.Table_Name(emp_id, f_name, l_name, designation) VALUES (?, ?, ?, ?)”. "
    (S0002/208) Invalid object name ‘‘Username.BufferTable_Name’’."
    Invalid object name ‘webmuser.WMBbjnhvrw’.
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name ‘webmuser.WMBbjnhvrw’.


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: JDBC Notification not working in wM 9.5 using MS SQL database 2012

    Posted 01/14/14 10:22 AM

    Looks like you need to restart IS and there seems there no buffer table gets creating and thus its saying invalid object name.Did you also check with your DBA on the privileges and all for that db?

    So before you restart IS make sure all the JDBC notifications are in disabled state and then rrestart IS and try enable the notifications one at least to make sure…

    HTH,
    RMG


    #webMethods
    #Integration-Server-and-ESB
    #Adapters-and-E-Standards


  • 3.  RE: JDBC Notification not working in wM 9.5 using MS SQL database 2012

    Posted 01/15/14 01:19 AM

    Hi rmg,

    Thanks for the reply.

    We had already tried the IS Option restart after making sure all the JDBC notifications are in disabled state.
    and Notification got Enabled too. Yesterday, the basic notification part worked for us.

    One quick question, does “UserName” should be same as Schema_Name for MS SQL database too ( just like the usual practice for JDBC connection with Oracle ) ?
    We have asked our DBA on the DB access privileges and other details.

    Regards,
    pbprateesh


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: JDBC Notification not working in wM 9.5 using MS SQL database 2012

    Posted 01/15/14 10:22 AM

    One quick question, does “UserName” should be same as Schema_Name for MS SQL database too ( just like the usual practice for JDBC connection with Oracle ) ? → Not necessarily.


    #webMethods
    #Adapters-and-E-Standards
    #Integration-Server-and-ESB


  • 5.  RE: JDBC Notification not working in wM 9.5 using MS SQL database 2012

    Posted 02/21/14 09:03 AM

    How did you resolve the first scenario?

    I have set a Basic notification on my buffer table and the same has been enabled.
    But its not fetching the records from the Buffer table.

    Can you please come back on this?


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: JDBC Notification not working in wM 9.5 using MS SQL database 2012

    Posted 02/21/14 09:29 AM

    @cemdivya@gmail.com MV,

    If you are using a client to insert data into table, make sure you commit the transaction, explicit.

    HTH.

    Thanks,
    Rankesh


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 7.  RE: JDBC Notification not working in wM 9.5 using MS SQL database 2012

    Posted 02/21/14 09:48 AM

    Its already committed and am able to fetch the records using a basic notification in 7x

    but the basic notification in 9.5 on the same table doesnt fetch them


    #webMethods
    #Adapters-and-E-Standards
    #Integration-Server-and-ESB


  • 8.  RE: JDBC Notification not working in wM 9.5 using MS SQL database 2012



  • 9.  RE: JDBC Notification not working in wM 9.5 using MS SQL database 2012

    Posted 02/21/14 10:14 AM

    I am not getting any error messages or logs either.

    The System requirements seem to be passed.


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 10.  RE: JDBC Notification not working in wM 9.5 using MS SQL database 2012

    Posted 02/21/14 10:27 AM

    @CMV,

    What value you have selected for Publish Document to?

    Thanks,
    Rankesh


    #webMethods
    #Adapters-and-E-Standards
    #Integration-Server-and-ESB