JDBC Adapter - DELETE operation not working in receiver backend system
Hi All,
In my scenario ,I want to delete entire records of the table from one backend system.
I have created the inbound message and after mapping it is as below:
<?xml version="1.0" encoding="UTF-8" ?>
<ns0:abc_delete xmlns:ns0="http://abc/xi/BACKEND/IB_IF_18/100">
<STATEMENTNAME>
<F12345 action="DELETE" />
</STATEMENTNAME>
</ns0:abc_delete>
here F12345 is the table name.
When I execute this scenario I get black and white flag in XI SXMB_MONI but in backend system (SQL Server) no records get deleted the table is as it is.
Please have a look on this (same mentioned by Bhavesh)...
http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/frameset.htm
<b><b> <StatementName3>
<dbTableName action=DELETE>
<key1>
<col2>val2old</col2>
<col4>val4</col4>
</key1>
<key2>
<col2>val2old2</col2>
</key2>
</dbTableName>
</StatementName3></b></b>
● action=DELETE
Statements with this action cause existing table values to be deleted. One or more <key> elements formulate the condition for which table values are deleted. The names of <key> elements are arbitrary. Column values within a <key> element are combined with a logical AND; different <key> elements are combined with a logical OR.
The corresponding SQL statement for StatementName3 in the example above is as follows:
DELETE FROM dbTableName WHERE ((col2=val2old AND col4=val4) OR (col2=val2old2))
The response document contains the following element:
<delete_count>count</delete_count>
If there is no <key> element, or if there is a <key> element but it is empty, then no condition is specified and the entire table is to be deleted. This may not be permitted by the configuration of the JDBC adapter for security reasons and will therefore result in an error during message processing and an appropriate error message.
Thanks
Farooq.
Similar Messages
-
Ftp Adapter Inbound operation not working
Hi All,
I'm running on SOA 11g on a Oracle Linux machine.
FtpAdapter is configured and works well for outbound operations (my test composite can put a file on a ftp location).
For inbound operation something is not working, my composite, a simple ftp adapter + bpel process, never start (no instances) .
I'm able to get the file using an ftp client (tested from the soa server machine too).
I just increased the server log and I can see the ftp communication but an exception is raised in socket operation after *FTP Adapter Project2 FTP Command: LIST, reply:[[*
*125 Data connection already open; Transfer starting.;*
This is the log:
[2011-09-17T12:57:07.780+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: enqueueLockedMessages] Spining ...........Sleeping for 2000 milliseconds oracle.tip.mediator.dispatch.db.DeferredDBLocker
[2011-09-17T12:57:07.905+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: <anonymous>] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTPManagedConnectionFactory::getPasswordCredential using mcf for credentials
[2011-09-17T12:57:07.906+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: <anonymous>] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Constructed new Managed Connection
[2011-09-17T12:57:07.907+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: <anonymous>] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Adding Event Listener
[2011-09-17T12:57:07.908+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: <anonymous>] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Constructed new CCI Connection
[2011-09-17T12:57:07.909+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Host name is '10.17.29.80'.
[2011-09-17T12:57:07.911+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Control socket SO_TIMEOUT is [15000]
[2011-09-17T12:57:07.911+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Reading reply from 10.17.29.80
[2011-09-17T12:57:07.911+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getReply2()
[2011-09-17T12:57:07.912+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getMappedCommand() with command =[USER]
[2011-09-17T12:57:07.912+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Got tuple =>MappedCommand==> command[USER], arguments=[ftpadmin]
[2011-09-17T12:57:07.912+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Sending cmd[USER ftpadmin]
[2011-09-17T12:57:07.912+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Host 10.17.29.80 FTP command: USER ftpadmin
[2011-09-17T12:57:07.912+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getReply()
[2011-09-17T12:57:07.913+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP Command: USER, reply:[[
331 Password required for ftpadmin.
[2011-09-17T12:57:07.913+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getMappedCommand() with command =[PASS]
[2011-09-17T12:57:07.913+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Got tuple =>MappedCommand==> command[PASS], arguments will not be displayed
[2011-09-17T12:57:07.913+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Sending cmd[PASS]
[2011-09-17T12:57:07.913+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Host 10.17.29.80 FTP command: PASS
[2011-09-17T12:57:07.914+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getReply()
[2011-09-17T12:57:07.915+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP Command: PASS, reply:[[
230 User logged in.
[2011-09-17T12:57:07.915+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getMappedCommand() with command =[PASV]
[2011-09-17T12:57:07.915+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Got tuple =>MappedCommand==> command[PASV], arguments=[null]
[2011-09-17T12:57:07.915+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Sending cmd[PASV]
[2011-09-17T12:57:07.916+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Host 10.17.29.80 FTP command: PASV
[2011-09-17T12:57:07.916+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getReply()
[2011-09-17T12:57:07.916+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP Command: PASV, reply:[[
227 Entering Passive Mode (10,17,29,80,200,109).
[2011-09-17T12:57:07.917+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Passive: ip = 10.17.29.80, port = 51309
[2011-09-17T12:57:07.917+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Connecting to 10.17.29.80:51309
[2011-09-17T12:57:07.918+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getMappedCommand() with command =[LIST]
[2011-09-17T12:57:07.918+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Got tuple =>MappedCommand==> command[LIST], arguments=[input]
[2011-09-17T12:57:07.918+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Sending cmd[LIST /input]
[2011-09-17T12:57:07.918+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Host 10.17.29.80 FTP command: LIST /input
[2011-09-17T12:57:07.918+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getReply()
[2011-09-17T12:57:07.919+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP Command: LIST, reply:[[
125 Data connection already open; Transfer starting.
[2011-09-17T12:57:07.922+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 UnixFtpListParser::doConfig endpointProperties=[ {SingleThreadModel=true, Recursive=false, PollingFrequency=30, bpel.process.revision.id=Project2, bpel.process.guid=default/Project2!1.0*soa_64b06fdd-9667-4739-8835-5a585f55abb8:getMyFile, UseHeaders=false, IncludeFiles=.*\..*, wsdl.service.name=getMyFile, DeleteFile=true, MinimumAge=0, PhysicalDirectory=/input, wsdl.service.port.jcaAddress.adapterInstanceJndi=eis/Ftp/CustomAdapter, FileType=ascii, instance=0}], [false]
[2011-09-17T12:57:08.303+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: run] Locker running
[2011-09-17T12:57:08.304+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: lockMessages] Trying to obtain locks
[2011-09-17T12:57:08.304+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: beginTransaction] Transaction begins
[2011-09-17T12:57:08.304+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] TransactionManager status
[2011-09-17T12:57:08.304+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] Getting Transaction status
[2011-09-17T12:57:08.305+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: beginTransaction] TransactionManager begin
[2011-09-17T12:57:08.305+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] TransactionManager status
[2011-09-17T12:57:08.305+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] Getting Transaction status
[2011-09-17T12:57:08.307+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.error] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.error.ErrorDBLocker] [APP: soa-infra] [SRC_METHOD: lock] Updated rows :0
[2011-09-17T12:57:08.308+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: lockMessages] Obtained locks
[2011-09-17T12:57:08.308+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: commitTransaction] Commiting Transaction
[2011-09-17T12:57:08.308+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] TransactionManager status
[2011-09-17T12:57:08.308+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] Getting Transaction status
[2011-09-17T12:57:08.308+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: commitTransaction] TransactionManager commit
[2011-09-17T12:57:08.310+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.error] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.error.ErrorDBLocker] [APP: soa-infra] [SRC_METHOD: getLockedMessages] Error instance list size :0
[2011-09-17T12:57:08.311+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: enqueueLockedMessages] Spining ...........Sleeping for 5000 milliseconds oracle.tip.mediator.common.error.ErrorDBLocker
[2011-09-17T12:57:09.829+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: run] Locker running
[2011-09-17T12:57:09.829+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: lockMessages] Trying to obtain locks
[2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: beginTransaction] Transaction begins
[2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] TransactionManager status
[2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] Getting Transaction status
[2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: beginTransaction] TransactionManager begin
[2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] TransactionManager status
[2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] Getting Transaction status
[2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.dispatch.db] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.dispatch.db.DeferredDBLocker] [APP: soa-infra] [SRC_METHOD: lock] Obtaining locks for max rows 200
[2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.dispatch.db] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.dispatch.db.DeferredDBLocker] [APP: soa-infra] [SRC_METHOD: lock] Counter reset as end of cycle
[2011-09-17T12:57:09.831+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: lockMessages] Obtained locks
[2011-09-17T12:57:09.831+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: commitTransaction] Commiting Transaction
[2011-09-17T12:57:09.831+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] TransactionManager status
[2011-09-17T12:57:09.831+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] Getting Transaction status
[2011-09-17T12:57:09.831+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: commitTransaction] TransactionManager commit
[2011-09-17T12:57:09.833+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: enqueueLockedMessages] Spining ...........Sleeping for 2000 milliseconds oracle.tip.mediator.dispatch.db.DeferredDBLocker
[2011-09-17T12:57:09.969+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Timed out in [2046] msecs
[2011-09-17T12:57:09.970+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Exception caught while reading control socket
[2011-09-17T12:57:09.970+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 [[
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at java.io.BufferedReader.fill(BufferedReader.java:136)
at java.io.BufferedReader.readLine(BufferedReader.java:299)
at java.io.BufferedReader.readLine(BufferedReader.java:362)
at oracle.tip.adapter.ftp.FTPClient$BufferedTimedReader.readLine(FTPClient.java:2385)
at oracle.tip.adapter.ftp.FTPClient.populateListResults(FTPClient.java:2562)
at oracle.tip.adapter.ftp.FTPClient._listFilesUsingKey(FTPClient.java:2513)
at oracle.tip.adapter.ftp.FTPClient.listFiles(FTPClient.java:753)
at oracle.tip.adapter.ftp.FTPAgent.getFileList(FTPAgent.java:505)
at oracle.tip.adapter.file.inbound.FileSource.getFileList(FileSource.java:260)
at oracle.tip.adapter.file.inbound.PollWork.processFilesInSameThread(PollWork.java:844)
at oracle.tip.adapter.file.inbound.PollWork.run(PollWork.java:335)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Someone can point me to the right way to solve this issue?I have posted one solution in this forum..Please check whether this can help you...
Re: FTP adapter not picking files -
File adapter Read operation not working.
Hi All,
I have a simple file adapter which will read from a csv file and insert into a table. I have deployed the application successfully, but the application is not reading from the specific location. I am not getting any error in the EM console. Below is the XSD that I used.
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
xmlns:tns="http://TargetNamespace.com/InboundService"
targetNamespace="http://TargetNamespace.com/InboundService"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
nxsd:version="NXSD"
nxsd:stream="chars"
nxsd:encoding="US-ASCII"
>
<xsd:element name="Root-Element">
<xsd:complexType>
<xsd:choice minOccurs="1" maxOccurs="unbounded" nxsd:choiceCondition="terminated" nxsd:terminatedBy=",">
<xsd:element name="Student" nxsd:conditionValue="R">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Roll" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="Name" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="Flag" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy=""" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
This is the file that I want to read:
5,Ram,N
6,Shyam,N
Please help friends.You should extensively practice the samples given in Oracle's documentation guide for modelling Native XSD. That will give you a better idea, about how to go about the native xsd schemas.. Anyways, I looked into your schema.. You need to make 2 changes to make this xsd work..
(1) Change "xsd:choice" tags to "xsd:sequence".
(2) Include a closing tag of "xsd:schema" to make the xsd well-formed. -
Hi,
i have created a form with reprt and at the fprm a have created Report for delete Record If Any record i9s not correct and i am on the same page when i create new Record.Page does not back to report page.
i have add a column in report for delete ACTION. i am facing error
ORA-20514: Invalid action DELETE on this object. (IU)I am Using. Hidden Item P86_SELECTED
}<script type="text/javascript">
function doDelete(p_arg){
$s('P86_SELECTED',p_arg);
doSubmit('DELETE');
</script>Report URL
javascript:doDelete('#ID#');Process With Condion Request = Experassion 1
begin
delete from HR_EMP_PERSONAL_DTL where ID =:P86_SELECTED;
end;
Experassion1 =DELETEHow remove this error.
Thanks
Edited by: 805629 on Feb 14, 2011 8:37 PM
Edited by: 805629 on Feb 20, 2011 10:01 PMAre there any tables related to HR_EMP_PERSONAL_DTL that refer to the ID column as a foreign key?
If so, these will have to be deleted before deleting your HR_EMP_PERSONAL_DTL record. You can either do that in your code or by using CASCADE DELETE options on the HR_EMP_PERSONAL_DTL table itself -
Other database delete is not working on forall statement
Dear all,
My scenario is , i create a program, the program fetch the data from database x and i want to delete on the same x database but i am running this program at y database, so
so i created a view
create or replace view vw_ibs_pda_bills_x as
SELECT *
FROM ibs_pda_bills_x@testarch1my program
Declare
CURSOR c2 IS
SELECT *
FROM vw_ibs_pda_bills_x
WHERE bill_month <= '31-dec-2008'; -- AND bpref_no = :cons;
opr varchar2(10) := 'DELETE';
TYPE tsch IS TABLE OF c2%ROWTYPE;
vtsch tsch;
cnt NUMBER := 0;
stime NUMBER;
etime NUMBER;
DURATION NUMBER;
rcount NUMBER;
errorsd PLS_INTEGER;
ecode NUMBER;
val1 VARCHAR2 (100);
val2 VARCHAR2 (100);
val3 VARCHAR2 (100);
val4 VARCHAR2 (100);
BEGIN
BEGIN
stime := DBMS_UTILITY.get_time ();
OPEN c2;
LOOP
FETCH c2
BULK COLLECT INTO vtsch LIMIT 1000;
IF vtsch.COUNT = 1000
THEN
cnt := cnt + 1;
END IF;
If opr = 'INSERT' Then
FORALL i IN 1 .. vtsch.COUNT SAVE EXCEPTIONS
INSERT INTO dlul.ibs_pda_bills
VALUES vtsch (i);
Else
FORALL i IN 1 .. vtsch.COUNT SAVE EXCEPTIONS
Delete from vw_ibs_pda_bills_x where bill_month = vtsch(i).bill_month;
End if;
EXIT WHEN c2%NOTFOUND;
END LOOP;
etime := DBMS_UTILITY.get_time ();
DURATION := ((etime - stime) / 100) / 60;
rcount :=
(cnt * 1000) + vtsch.COUNT - NVL (SQL%BULK_EXCEPTIONS.COUNT, 0);
If opr = 'INSERT' Then
INSERT INTO process_stage_log
VALUES (SYSDATE, 'IBS_PDA_BILLS', DURATION, rcount);
Else
INSERT INTO process_stage_log
VALUES (SYSDATE, 'IBS_PDA_BILLS-D', DURATION, rcount);
End if;
CLOSE c2;
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
errorsd := SQL%BULK_EXCEPTIONS.COUNT;
IF errorsd > 0
THEN
FOR j IN 1 .. errorsd
LOOP
ecode := SQL%BULK_EXCEPTIONS (j).ERROR_CODE;
val1 :=
vtsch (SQL%BULK_EXCEPTIONS (j).ERROR_INDEX).sch_code;
val2 :=
vtsch (SQL%BULK_EXCEPTIONS (j).ERROR_INDEX).bpref_no;
val3 :=
vtsch (SQL%BULK_EXCEPTIONS (j).ERROR_INDEX).bill_month;
val4 :=
vtsch (SQL%BULK_EXCEPTIONS (j).ERROR_INDEX).service_code;
If opr = 'INSERT' Then
INSERT INTO process_error_log
VALUES (SYSDATE, ecode, 'IBS_PDA_BILLS', 'sch_code', val1,
'bpref_no', val2, 'bill_month', val3, 'service_code', val4,'INSERT');
Else
INSERT INTO process_error_log
VALUES (SYSDATE, ecode, 'IBS_PDA_BILLS', 'sch_code', val1,
'bpref_no', val2, 'bill_month', val3, 'service_code', val4,'DELETE');
End if;
END LOOP;
END IF;
END;
END pda_insert;the program want to do the delet option for all delete is not working. The program executed successful but the operation delete is not happening
how to solve this issue.
please help me
kanishNo error encountered in my log table
the new workaround you said, that is instead of for all , already i tried for i in 1.. to like
instead of forall delete i tried the following way
Declare
CURSOR c2 IS
SELECT *
FROM ibs_pda_bills_x@testarch1
WHERE bill_month <= '31-dec-2008'; -- AND bpref_no = :cons;
opr varchar2(10) := 'DELETE';
TYPE tsch IS TABLE OF c2%ROWTYPE;
vtsch tsch;
cnt NUMBER := 0;
stime NUMBER;
etime NUMBER;
DURATION NUMBER;
rcount NUMBER;
errorsd PLS_INTEGER;
ecode NUMBER;
val1 VARCHAR2 (100);
val2 VARCHAR2 (100);
val3 VARCHAR2 (100);
val4 VARCHAR2 (100);
BEGIN
BEGIN
stime := DBMS_UTILITY.get_time ();
OPEN c2;
LOOP
FETCH c2
BULK COLLECT INTO vtsch LIMIT 1000;
IF vtsch.COUNT = 1000
THEN
cnt := cnt + 1;
END IF;
If opr = 'INSERT' Then
FORALL i IN 1 .. vtsch.COUNT SAVE EXCEPTIONS
INSERT INTO dlul.ibs_pda_bills
VALUES vtsch (i);
Else
/* fORALL i IN 1 .. vtsch.COUNT SAVE EXCEPTIONS
Delete from vw_ibs_pda_bills_x where to_char(bill_month,'dd-mm-rrrr') = to_char(vtsch (i).bill_month,'dd-mm-rrrr');*/
for i in 1..vtsch.count loop
delete ibs_pda_bills_x@testarch1 where to_char(bill_month,'dd-mm-rrrr') = to_char(vtsch (i).bill_month,'dd-mm-rrrr');
end loop;
End if;
EXIT WHEN c2%NOTFOUND;
END LOOP;
etime := DBMS_UTILITY.get_time ();
DURATION := ((etime - stime) / 100) / 60;
rcount :=
(cnt * 1000) + vtsch.COUNT - NVL (SQL%BULK_EXCEPTIONS.COUNT, 0);
If opr = 'INSERT' Then
INSERT INTO process_stage_log
VALUES (SYSDATE, 'IBS_PDA_BILLS', DURATION, rcount);
Else
INSERT INTO process_stage_log
VALUES (SYSDATE, 'IBS_PDA_BILLS-D', DURATION, rcount);
End if;
CLOSE c2;
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
errorsd := SQL%BULK_EXCEPTIONS.COUNT;
IF errorsd > 0
THEN
FOR j IN 1 .. errorsd
LOOP
ecode := SQL%BULK_EXCEPTIONS (j).ERROR_CODE;
val1 :=
vtsch (SQL%BULK_EXCEPTIONS (j).ERROR_INDEX).sch_code;
val2 :=
vtsch (SQL%BULK_EXCEPTIONS (j).ERROR_INDEX).bpref_no;
val3 :=
vtsch (SQL%BULK_EXCEPTIONS (j).ERROR_INDEX).bill_month;
val4 :=
vtsch (SQL%BULK_EXCEPTIONS (j).ERROR_INDEX).service_code;
If opr = 'INSERT' Then
INSERT INTO process_error_log
VALUES (SYSDATE, ecode, 'IBS_PDA_BILLS', 'sch_code', val1,
'bpref_no', val2, 'bill_month', val3, 'service_code', val4,'INSERT');
Else
INSERT INTO process_error_log
VALUES (SYSDATE, ecode, 'IBS_PDA_BILLS', 'sch_code', val1,
'bpref_no', val2, 'bill_month', val3, 'service_code', val4,'DELETE');
End if;
END LOOP;
END IF;
END;
END pda_insert;i am receiving the following error
ORA-02055: distributed update operation failed; rollback required
ORA-06531: Reference to uninitialized collection
ORA-06512: at line 77
ORA-06531: Reference to uninitialized collection
kanish -
hi all
My Adapter Engine is not working in RWB.
In runtime workbench - message monitoring u2013 message from component - adapter engine is not working
experts provide me the solution
Regards
RajuHi
What u r not getting kindly elobrate.
R u using Component MOnitoring r Message Monitoring.
Component Monitoring --> Adapter Eninge --> u can see all CC
Im Message Moniotring --> AE --> u can Set the Sender and receiver System to view the messages
srini -
Soa11g: DB Adapter Delete Operation and Transaction
Guys,
I need your help to understand the transaction flow in SOA 11g.
We have two table with primary and foreign key replationship.
Master Table: Employee (empId Primary Key)
Child Table : Department (empId Foreign Key)
Employee is associated with Department table with 1 to N relationship.
We have a composite with BPEL process. In Input of the BPEL we are getting 1 employee with many department. Our design is like below.
1) get the message.
2) read the empId from Input.
3) delete N records from Department table using DB adapter Delete Operation by passing empId as an Input. *(INVOKE 1)*
4) delete 1 records from Employee table by passing empId as an Input. *(INVOKE 2)*
I have following doubts.
1) Since without deleting the child records we can't delete parents. Before INVOKE 2(invoking DB adapter to delete parent record), I want to make sure that INVOKE 1 has completed ( all the child records have deleted successfully.) How to achieve this in BPEL?
2) let's say we have 5 child records. after deletion of 3rd record, DB gets down or some fault occurs ...will the entire transaction be roll back?
In this scenario we want to delete only 3 records without deleting the parent records . How to achieve this in BPEL.
3) what all are the transaction property available in SOA 11g to control the transactions.
Any inputs is appreciated!!
Thanks,
ABHi,
1 st DB adapter Delete operation(Child Table deletion) successfully completed with out DB Down or with out any errors.
2 nd DB adapter delete operation failed (Master Table Deletion) due to DB down (or) due to remote fault.
In the above scenario ... Is 1 st DB adapter delete operation gets roll back?
( or)
It commits even second one get failed...
In case of first one commits how can i achieve roll back of first one automatically if second one fails...
Any one can explain how the transaction concept works with DB adapters..?
Thanks&Regards,
Sridhar Rachumallu -
in iTunes 11.1 (I26) , I cannot find how to delete podcast listings showing undownloaded podcasts. Delete does not work. Option Delete does not work. Dragging to the trash does not work. Under Edit, Delete is greyed out. Mac OS 10.6.8.
Tom at the Genius Bar told me that Option Delete would work. It does not.
I had to upgrade to iTunes 11.1.(I26) because it is required with OS7 on my iPod Touch (5th Gen). I have tried shutting down iTunes, then shutting down the entire system. This is the first in many visits that the Genius Bar gave me a solution that did not work.
This is a big awkward computer locked to my desk. I would rather not unlock it and then carry it through a shopping center to the Genius Bar if i can avoid oit.
When I installed iTunes 11.1, I discovered that Ihad to resubscribe to virtually all of the podcasts that I had previously been subscribed to. That was a surprise.Hello Achates:
I did not read the rather long post. If you wish to reinstall OS X 10.4, use your software install DVD. Backup is essential. To minimize your risk, I would use an archive and install:
http://docs.info.apple.com/article.html?artnum=107120
In that way, you will have a fresh copy of OS X and your current settings will be preserved.
Incidentally, I do not agree that the printer problem is best solved by reinstalling OS X. I have had HP printers for sometime and, on one occasion, had difficulty after an upgrade. HP technical support walked me through uninstalling all traces of the HP driver and then reinstalling.
Barry -
Multiple delete is not working.
Hi,
Multiple delete is not working. Please find my backend bean code. Please let me know the issue in my code.
Table:
<af:table value="#{bindings.CmProcessParamValueView13.collectionModel}"
var="row"
rows="#{bindings.CmProcessParamValueView13.rangeSize}"
emptyText="#{bindings.CmProcessParamValueView13.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.CmProcessParamValueView13.rangeSize}"
rowBandingInterval="1"
selectedRowKeys="#{bindings.CmProcessParamValueView13.collectionModel.selectedRow}"
selectionListener="#{bindings.CmProcessParamValueView13.collectionModel.makeCurrent}"
rowSelection="multiple"
binding="#{backingBeanScope.backing_app_RunCalcPage.t1}"
id="t1" width="720px" inlineStyle="height:140px;" partialTriggers="cb6 cb3"
filterVisible="true" filterModel="#{bindings.CmProcessParamValueView13.queryDescriptor}" >
<af:column sortProperty="ParamValue7"
sortable="true" width="690"
headerText="Comm Type"
rowHeader="unstyled"
id="c2" align="left" filterable="true">
<af:outputText value="#{row.ParamValue7}"
id="ot4"/>
</af:column>
</af:table>
Backing Bean Delete Code:
RowKeySet rowKeySet = (RowKeySet)this.t1.getSelectedRowKeys();
CollectionModel cm = (CollectionModel)this.t1.getValue();
System.out.println("RowKeySet is: "+ rowKeySet.getSize());
for (Object facesTreeRowKey : rowKeySet) {
cm.setRowKey(facesTreeRowKey);
JUCtrlHierNodeBinding rowData =
(JUCtrlHierNodeBinding)cm.getRowData();
System.out.println("RowData is : "+rowData.getAttribute("ParamValue7"));
rowData.getRow().remove();
Thanks.Issue is resolved...
Solution is,
Remove selectionListener and selectedKey attributes from the table.
Delete code is:
DCBindingContainer dcBindings =
(DCBindingContainer)getBindings();
DCIteratorBinding dcIterator =
dcBindings.findIteratorBinding("Iterator...");
RowSetIterator rs = dcIterator.getRowSetIterator();
RowKeySet rks = this.t1.getSelectedRowKeys();
Iterator rksIter = rks.iterator();
while (rksIter.hasNext()) {
List l = (List) rksIter.next();
Key key = (Key)l.get(0);
Row row = rs.getRow(key);
if(row != null)
row.remove();
} -
space.anddelte
space.and.delete.keys.not.working.on.wireless.keyboard.help!Before replacing the keyboard do 2-3 SMC resets using the instructions in iMac SMC and PRAM reset
-
Is it possible to check automati all bookmarks, and delete the not working bookmarks
Is it possible to check automatic all bookmarks, and delete the not working bookmarks
Try this extension:
*CheckPlaces: https://addons.mozilla.org/firefox/addon/checkplaces/ -
At the top of my Mozilla home page, it lists the current URL site, such as http://www.safeco.com, I am on plus the others in the drop down box. How do I delete them. Highlighting and hitting delete does not work.
I am using windows Vista 007 and Mozila 3.6.1.3Do those entries have a yellow star at the far right?
If they have then they are bookmarks. You can remove them if you open that link and click the star to open the Edit This Bookmark dialog and click the Remove button in that dialog.
* [[Clearing Location bar history]]
* [[Cannot clear Location bar history]] -
i have a macbook air 13 inch, facetime is not working. i receive calls but its dosen't connect. i have already tried resetting it.i am running on 10.7.5.can someone please help?
I've checked this page over and over - I'm completely updated and I can answer the call on my ipad and iphone, just not my macbook air - any other suggestions? thanks in advance
-
I have a MacBook Air using Maverick. I have files in the trash I want to recover to their original files. I do not have "Back Up" and "Command + Delete" does not work.
Drag them out of the Trash and put them in their original location. Put Back may work on one file at a time.
-
My FontBook tells me it will not work in the present system. I have 10.6.8. How can I update my Fon Book?
Click here, check that your computer meets the requirements, buy and install the DVD, and then run Software Update.
(73181)
Maybe you are looking for
-
Hello, Software: forms 10g problem: I have one block in my form based on a view. It works fine for my English language selection. However, when I switch to French I encounter an error. Example: Block name: REQUESTS_VIEW View_name: REQUESTS_VIEW Table
-
[Now in AUR!] S3TC libraries for open source Xorg drivers
Due to the typical retarded patent issues, S3TC support can't be packaged with Mesa or the Xorg drivers; instead, it's a separate set of libraries, available here, which probably cannot be distributed as a binary. It looks easy enough to install manu
-
Hi, The credit card number should be masked .
-
iTunes won't install. Says error writing to file C:\Program Files\itunes\itunes.resources\da.lproj\AboutBox.rft Does anybody know what I need to do to fix this?
-
Running oracle form 6i or reports from 9iAS Portal
Where I can find the most accurat and deatil information how to run form6i or reports from 9iAS Portal. How to integrate Designer developed forms, reports ,sql scripts web forms from designer 6i into 9iAS Portal.Do I have to go to OC4J. or is there o