Hi,
I have Created an Adapter Notification For Oracle. i followed the steps given in JDBC Documentation.
- Created Connection
- Created Adapter Notification for Insert
- made the document publishable
- sync the doc to broker
- when i commited a record.
- All i got is 2 types of Errors
Error 1 :
wm.adapter.wmjdbc.admin:registerAdapter
com.wm.pkg.art.error.DetailedServiceException: [ART.114.13] Adapter Runtime: Error occured while Adapter Runtime was loading adapter type “JDBCAdapter”. [ART.114.9] Adapter Runtime: Error(s) while registering adapter type JDBCAdapter
Trace :
com.wm.pkg.art.error.DetailedServiceException: [ART.114.13] Adapter Runtime: Error occured while Adapter Runtime was loading adapter type “JDBCAdapter”.
[ART.114.9] Adapter Runtime: Error(s) while registering adapter type JDBCAdapter.
at com.wm.pkg.art.deployment.Service.registerAdapterType(Service.java:126)
at java.lang.reflect.Method.invoke(Native Method)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:287)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:339)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:104)
at com.wm.app.b2b.server.Service.doInvoke(Service.java:605)
at com.wm.app.b2b.server.Service.doInvoke(Service.java:502)
at com.wm.adapter.wmjdbc.admin.Service.registerAdapter(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:287)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:339)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:119)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:91)
at com.wm.app.b2b.server.SessionInvoke.run(Session.java:652)
at com.wm.util.pool.PooledThread.run(PooledThread.java:105)
at java.lang.Thread.run(Thread.java:479)
After that i went and changed the Transaction Type from “LOCAL_TRANSACTION” to “NO_TRANSACTION”. when i did the mentioned steps again i got the following Error
Error 2:
wm.art.ns:createAdapterNotification
[ADA.1.308] There must be at least one expression for the SELECT statement.
Trace :
>>>BasicData:message=There must be at least one expression for the SELECT statement.,service=wm.art.ns:createAdapterNotification,date=Mon Aug 25 20:47:23 CST 2003,sessionId=Venki,sessionName=10.1.28.36,sessionId=25Gww6zQCqkk0J6|oLvC1+rptHPOA=55558,serviceCallStack=[0]wm.art.ns:createAdapterNotification,stack=
com.wm.adk.error.AdapterServiceException: [ADA.1.308] There must be at least one expression for the SELECT statement.
at com.wm.adk.error.AdapterException.(AdapterException.java:270)
at com.wm.adk.WmAdapter.createAdapterException(WmAdapter.java:100)
at com.wm.adapter.wmjdbc.services.SelectColumns.generateSql(Unknown Source)
at com.wm.