Oracle DB Polling Proxy not polling for records concurrently

Problem Description
We have created a Polling Proxy on OSB from a DB Adapter with the below JCA parameters
• PollingStrategy = "LogicalDeletePollingStrategy"
• MarkReadColumn = "STATUS"
• MarkReadValue = "S"
• MarkReservedValue = "R${weblogic.Name-2}-${IP-2}-${instance}"
• MarkUnreadValue = "R"
• PollingInterval = "60"
• MaxRaiseSize = "1"
• MaxTransactionSize = "10"
• NumberOfThreads = "1"
• ReturnSingleResultSet = "false"
The Proxy picks the records when the state change to "R" and updated the state value to "S". When the proxy fails for any reason the State of the record is changed to a Reserved State. When any record is in a reserved State the proxy does not pick other records that are in a State "R" until the row with the Reserved State is removed.
This leaves all the other records un-processed......
Are the JCA configurations correct in our case?
Regards,
Vinay V Krishnan

This may help...
http://javaoraclesoa.blogspot.com.au/search/label/markreservedvalue
Cheers,
Vlad

Similar Messages

  • Oracle validated package is not available for OEL5

    Oracle validated package is not available for OEL5 yet. Does anyone know when it will be available?
    Available now:
    oracle-validated-1.0.0-3.el4.i386     Oracle Software for Enterprise Linux 4 (i386)
    oracle-validated-1.0.0-3.el4.x86_64     Oracle Software for Enterprise Linux 4 (x86_64)
    oracle-validated-1.0.0-4.el4.i386     Oracle Software for Enterprise Linux 4 (i386)
    oracle-validated-1.0.0-4.el4.x86_64     Oracle Software for Enterprise Linux 4 (x86_64)

    Looking forward to the release. Will the release also include updates for 11g readiness and validation?

  • BPC75NW - Periodic Amount Not Calculating for records with blank YTD value

    We are on BPC75NW SP6 and have a YTD consolidation application.  Data is loaded on a monthly basis uising a process of importing data files from supplying systems and then loading them into BPC using the data manager append function with a transformation file.  YTD amounts are as expected and 'most' periodic amounts are also calculated correctly via MDX mesures in reporting.  However, in situations where we have a P&L YTD balance in one month (say January) and then in the next month (February) there is no longer a YTD balance in that P&L account, no record is loaded for February YTD and the system is not calculating any February periodic amount.  Example:
    January - Load $100 to a P&L Account which is the YTD amount
    The January YTD amount = $100.
    The January Periodic amount = $100.
    February - Load no record to the same P&L account as above (as the YTD amount is now 0)
    The February YTD amount in the system is blank
    The February Periodic amount in the system is blank (This should be a NEGATIVE $100)
    As a possible work around we have also tried to load a 0 to February.  The data manager package shows the record as loaded successfully but since it is a 0 it really does not put it into the database. 
    Surely someone out there has already hit this situation and is willing to share the solution.
    Thank you,
    Vicki S.

    This problem was resolved by installing SAP Note 1405993 - MDX: Error: Invalid MDX command with
    CURRENTMEMBER.  The current text on the note does not describe our error but SAP will not extend the text to cover this issue. 
    Prior to installing this note, the following other notes were also installed but they did not fix the periodic calculation issue.  Under SAP's advisement we are going to leave them however as 'they should not have any side effects':
    1529720 MDX: No data for calculated member and metadata reference
    1590976 MDX: Incorrect data for IIF
    1584196 MDX: Calculated members and different dimensions
    1528374 MDX: System error GET_PRPTY_VALUE-02-
    I will now close this message.
    Vicki Shrontz

  • Oracle EB Tax - 404 Not found for Learn more Topic.

    Hi,
    We are facing following errors on Learn more topics page. If someone could please help or give some direction that would be great. Thanks.
    I am getting following error by following bullet points
    Login to Oracle EBS
    Click TaxManagers
    Under Tax Configuration Heading click Tax Regimes or Taxes or Tax Statues
    On right side it gives you definition for Regimes/Taxes/Tax Statues and there is link "Learn More"
    When I Click Learn More and following error occurs.
    404 Not Found
    Resource /OA_HTML/@ZX_TAX_SEARCH not found on this server

    Hi
    I found this information on EBS website. It seems patch was applied on 31-MARCH-2009.  Any input on this?
    Patch Name
    Patch Description
    Merged Patches
    APPL_TOP Name
    Language
    Completion Date
    Details
    6746000.R12
    12.1.1 iHelp Upgrade Driver - ONLINE HELP FOR ORACLE APPLICATIONS RELEASE 12
    No
    ap6002bld
    US
    31-Mar-2009 23:40:45

  • Proxy not working for a while

    Hi All,
    We are facing a strange problem while proxying from sun one webserver 6.0 to weblogic 8.1sp4,
    The application deployed able to run for a while from browser and stops responding for some time, This is getting repeated atleast once in day, and problem goes away with out any restarts.
    NSAPI plugin error, no Backend servers error we get when application stops responding, and below is log file from sun one webserver.
    [17/Feb/2009:02:33:45] failure ( 1571): for host 171.160.100.23 trying to GET /j
    ira/browse/CSP-1099, wl-proxy reports: exception occurred for backend host '171.
    189.219.30/7663': 'READ_TIMEOUT [os error=0,  line 199 of Reader.cpp]: no read a
    errors
    also even weblogic console takes a long time to come up.
    I wonder this would be problem with network, if to confirrm this and tune, so what would be steps to resolve such type of issues, please help me as this is happening for prod.
    Magnus.conf entries
    Init fn="load-modules" funcs="wl_proxy,wl_init" shlib="/usr2/netscape/server61/p
    lugins/wls81/libproxy.so"
    Init fn="wl_init"
    Obj.conf entry
    <Object name="mbs-jira" ppath="*/jira/*">
    Service fn="wl_proxy" WebLogicHost="cltmbszpwl30.bankofamerica.com" WebLogicPort
    ="7663"
    </Object>
    Thanks
    -Suresh

    Hello All,
    Thanks for all to the update,
    Hi Ameer,
    yes there was dump raised which i have already mentioned above ,and more over this got generated when i tested that interface from SE37...
    " Run time Error : CALL_FUNCTION_REMOTE_ERROR "..
    Hi Prasanthi
    I have got confirmation from the developers that they have not edited this interface from past three months, and more over this is running for a while in a day and not for some time..
    And comming to scenario wise..
    when i check in CC monitoring for this particular service it shows the error which i mentioned above "Sender agreement not found in the channel ".
    If we suppose that sender agreement not maintained in the channel ,then hw come it is working some time and not for some times in a day..
    And more over developers are complaining that this is not working when performing a test...
    Hi Agasthuri,,
    Yes there are altogether 3 servers( 1 CI + 2 Appl ) in both systems CP1(CRM) & XP0(XI).
    Hi Prateek
    I have already performed a Full Cache Refresh and restarted the sytem(XI) also for this particular problem..
    Now the main concern is why is it showing that particular error "Sender Agreement not found in channel " in CC monitoring for a while...and after restart of that service it gets disappeared..And then later again the same error is seen in CC monitoring...for that service..
    Best Regards
    Rakesh Reddy

  • Oracle BI Java host not starting for Windows 7 64 bit

    Hi,
    I am struggling to start "Oracle BI Java host" on my Windows 7 64 bit machine. All other services - BI Server, Presentation Server and even OC4J works good.
    BI Version: OBIEE 10g EE - 10.1.3.4.1
    I have checked these places:
    1. Environment variable: C:\Java\jdk\bin;
    2. Instanceconfig.xml: *<JavaHome>C:\Java\jdk</JavaHome>*
    3. Java verision: *6.0.230.5*
    Can anyone help me to identify and solve this issues.
    Thanks,
    Yar.
    Edited by: Yar on Mar 9, 2011 7:11 AM

    Hi Yar,
    You can try changing the Heap memory allocation parameter for Javahost at <OBI Install Directory>\instances\instance_Number\config\OPMN\opmn\opmn.xml file...
    Search for -Xmx1024M and replace with -Xmx768M, save the file and Start the JavaHost, it should work.
    Regards,
    Kalyan
    http://123obi.com

  • Oracle Workflow Delegate is not Working for the Adhoc Role

    Hi All,
    I have a requirement where I want to send the workflow notification to the Adhoc role and then if the people who are part of the adhoc role are on vacation then the notification should get delegate to the person set by the first approver. Somehow delegate is not working here.
    Please let us know if anyone of you have worked on such requirement or have come across this situation.
    Thanks in Advance,
    Viswas
    Edited by: 873477 on Feb 6, 2012 12:30 AM

    Thanks for the replying on the issue.
    This issue has been resolved now.
    In WF_NOTIFICATION.route procedure, Following query was selecting the Adhoc role name instead of the fnd_user, We have changed our custom in such way that there should always be fnd_user for the follwoing query.
             SELECT   WN.RECIPIENT_ROLE, WN.MESSAGE_TYPE, WN.MESSAGE_NAME
               INTO   recip, msgtype, msgname
               FROM   WF_NOTIFICATIONS WN
              WHERE   WN.NOTIFICATION_ID = nid;Thanks,
    Arun
    Edited by: 873477 on Feb 6, 2012 11:26 PM
    Edited by: 873477 on Feb 6, 2012 11:27 PM

  • DBAdapter polling for new or changed records not issuing callback?

    I have a process which includes a partner link with a database adapter.
    The database adapter is to poll a table for new records using an external database server.
    I have no relationships setup, it's a single-table query.
    The adapter is configured to delete rows after they are read.
    I have the receive process of that partner link tied to a receive activity and its own input variable assigned.
    My process compiles and deploys successfully. When I initiate the process through the BPEL console, the instance of the process waits at the receive activity and nothing happens, even after I manually add records to the table being polled. (which do get deleted, apparently by the partner link.)
    I have other dbadapter partner links in the same process using the same connection that work fine, specifically using procedure execution and custom sql queries.
    I can't find any errors or warnings about this, and the interactions manager in the BPEL Console allows me to manually send a message to the instance, allowing it to continue.
    The application server is 10.1.3.1.0 and I am using JDeveloper 10.1.3.2.0.4066
    Message was edited by:
    Paul.Dunbar
    Follow-up:
    When I set activation logging to debug, I get the following in domain.log
    <2007-04-03 08:15:28,591> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> client acquired
    <2007-04-03 08:15:28,591> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> SELECT SOME_ID, SOME_VALUE FROM PAULD.SOME_TABLE ORDER BY SOME_ID ASC
    <2007-04-03 08:15:28,592> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> client released
    From looking at this it may be that the callback to the receive activity is not occurring?
    Message was edited by:
    Paul.Dunbar
    Second follow-up:
    I'm still having this issue but must give up on troubleshooting.
    Documentation on polling adapter says nothing about handling callbacks, I've been trying to use correlations here with no luck. I'm also not seeing any documentation about setting up correlations for use with the database adapter.
    now the issue I'm having is that the inbound database adapter is still polling my table and deleting records, even though I've undeployed my process.

    I did not. Currently the manual recovery area is empty. I've tried re-deploying my process and am now getting the following in my logs (all debugging on):
    <2007-04-05 08:01:36,671> <DEBUG> <default.collaxa.cube.engine.deployment> <LockManager::acquire> Acquired read lock for SendEventNotice-1.0
    <2007-04-05 08:01:36,671> <DEBUG> <default.collaxa.cube.engine.deployment> <LockManager::release> Released lock for SendEventNotice-1.0
    <2007-04-05 08:01:36,672> <DEBUG> <default.collaxa.cube.engine.deployment> <LockManager::acquire> Acquired read lock for SendEventNotice-1.0
    <2007-04-05 08:01:36,672> <DEBUG> <default.collaxa.cube.engine.deployment> <LockManager::release> Released lock for SendEventNotice-1.0
    <2007-04-05 08:01:36,678> <DEBUG> <default.collaxa.cube.engine.data> <ConnectionFactory::getConnection> GOT CONNECTION 1 Autocommit = false
    <2007-04-05 08:01:36,681> <DEBUG> <default.collaxa.cube.engine.data> <ConnectionFactory::closeConnection> CLOSE CONNECTION 0
    <2007-04-05 08:01:36,681> <DEBUG> <default.collaxa.cube.engine.data> <ConnectionFactory::getConnection> GOT CONNECTION 1 Autocommit = false
    <2007-04-05 08:01:36,682> <DEBUG> <default.collaxa.cube.engine.data> <ConnectionFactory::closeConnection> CLOSE CONNECTION 0
    <2007-04-05 08:01:36,686> <DEBUG> <default.collaxa.cube.engine.deployment> <LockManager::acquire> Acquired read lock for SendEventNotice-1.0
    <2007-04-05 08:01:36,687> <DEBUG> <default.collaxa.cube.engine.deployment> <LockManager::release> Released lock for SendEventNotice-1.0
    <2007-04-05 08:01:36,688> <DEBUG> <default.collaxa.cube.engine.deployment> <LockManager::acquire> Acquired read lock for SendEventNotice-1.0
    <2007-04-05 08:01:36,688> <DEBUG> <default.collaxa.cube.engine.deployment> <LockManager::release> Released lock for SendEventNotice-1.0
    <2007-04-05 08:01:36,688> <DEBUG> <default.collaxa.cube.engine.deployment> <LockManager::acquire> Acquired write lock for SendEventNotice-1.0
    <2007-04-05 08:01:36,688> <DEBUG> <default.collaxa.cube.engine.data> <BaseProcessPersistenceAdaptor::updateMetaData> Updating process metadata [ domain = default, process = SendEventNotice, revision = 1.0, state = 0, lifecycle = 0 ]
    <2007-04-05 08:01:36,688> <DEBUG> <default.collaxa.cube.engine.data> <ConnectionFactory::getConnection> GOT TX CONNECTION 1 Autocommit = false
    <2007-04-05 08:01:36,691> <DEBUG> <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::receive> Receiving message log process event message 61b55bd8c71ae1e3:-3d66bcb1:111c1b2d4aa:-7f9c for set system
    <2007-04-05 08:01:36,691> <DEBUG> <default.collaxa.cube.engine.dispatch> <Dispatcher::adjustThreadPool> Allocating 1 thread(s); pending threads: 1, active threads: 0, total: 84
    <2007-04-05 08:01:36,693> <DEBUG> <default.collaxa.cube.engine.dispatch> <DispatcherBean::send> Sent message to queue
    <2007-04-05 08:01:36,693> <DEBUG> <default.collaxa.cube.engine> <DomainObserverRegistry::notify> Notifying observer class oracle.bpel.services.rules.DeploymentListener with aspect class com.collaxa.cube.engine.observer.ProcessStateChangeAspect for domain default
    <2007-04-05 08:01:36,693> <DEBUG> <default.collaxa.cube.engine> <DomainObserverRegistry::notify> Notifying observer class com.collaxa.cube.engine.test.driver.deployment.BPELTestDeployer with aspect class com.collaxa.cube.engine.observer.ProcessStateChangeAspect for domain default
    <2007-04-05 08:01:36,693> <DEBUG> <default.collaxa.cube.engine> <DomainObserverRegistry::notify> Notifying observer class oracle.bpel.services.workflow.task.PurgeTask with aspect class com.collaxa.cube.engine.observer.ProcessStateChangeAspect for domain default
    <2007-04-05 08:01:36,693> <DEBUG> <default.collaxa.cube.services> <oracle.bpel.services.workflow.task.PurgeTask::update(ICubeAspect> Called for aspect com.collaxa.cube.engine.observer.ProcessStateChangeAspect
    <2007-04-05 08:01:36,693> <DEBUG> <default.collaxa.cube.engine> <DomainObserverRegistry::notify> Notifying observer class oracle.tip.esb.configuration.deployment.bpel.BPELSvcDeploymentManager with aspect class com.collaxa.cube.engine.observer.ProcessStateChangeAspect for domain default
    <2007-04-05 08:01:36,693> <DEBUG> <default.collaxa.cube.engine.dispatch> <SystemDispatchSet::fetchScheduled> Fetched message log process event message 61b55bd8c71ae1e3:-3d66bcb1:111c1b2d4aa:-7f9c from system queue for processing
    <2007-04-05 08:01:36,693> <DEBUG> <default.collaxa.cube.engine.dispatch> <LogProcessEventMessageHandler::handle> Processing log process event message 61b55bd8c71ae1e3:-3d66bcb1:111c1b2d4aa:-7f9c
    <2007-04-05 08:01:36,693> <DEBUG> <default.collaxa.cube.engine> <DomainObserverRegistry::notify> Notifying observer class com.collaxa.cube.engine.data.CubeInstanceCache with aspect class com.collaxa.cube.engine.observer.ProcessStateChangeAspect for domain default
    <2007-04-05 08:01:36,693> <DEBUG> <default.collaxa.cube.engine> <DomainObserverRegistry::notify> Notifying observer class oracle.bpel.services.workflow.DeploymentListener with aspect class com.collaxa.cube.engine.observer.ProcessStateChangeAspect for domain default
    <2007-04-05 08:01:36,693> <DEBUG> <default.collaxa.cube.services> <oracle.bpel.services.workflow.DeploymentListener::update(ICubeAspect> Called for aspect com.collaxa.cube.engine.observer.ProcessStateChangeAspect
    <2007-04-05 08:01:36,693> <DEBUG> <default.collaxa.cube.engine> <DomainObserverRegistry::notify> Notifying observer class com.collaxa.cube.engine.core.BaseCubeProcess$ActivationObserver with aspect class com.collaxa.cube.engine.observer.ProcessStateChangeAspect for domain default
    <2007-04-05 08:01:36,693> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JCAActivationAgent::onStateChanged State is changed for process 'bpel://localhost/default/SendEventNotice~1.0/', state=ON
    <2007-04-05 08:01:36,693> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Adapter Framework instance: OraBPEL - endpointActivation for portType=initialCoordination_ptt, operation=receive
    <2007-04-05 08:01:36,693> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Looking up jca:address...
    <2007-04-05 08:01:36,693> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Looking up WSDL Service jca:address for portType=initialCoordination_ptt and operation=receive
    <2007-04-05 08:01:36,693> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Locating Resource Adapter for jca:address.. {http://xmlns.oracle.com/pcbpel/wsdl/jca/}address: location='eis/DB/TST2' ManagedConnectionFactory='oracle.tip.adapter.db.DBManagedConnectionFactory' (properties: {Password=E466676A7A458FA6EBCFF72E13C04843, PlatformClassName=oracle.toplink.platform.database.oracle.Oracle10Platform, ConnectionString=jdbc:oracle:thin:@//lxdb2:1521/TST2, DriverClassName=oracle.jdbc.OracleDriver, UserName=SONRIS_DBA})
    <2007-04-05 08:01:36,693> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Setting up Input Header Message QName: null
    <2007-04-05 08:01:36,693> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Setting up Input Header Part Name: null
    <2007-04-05 08:01:36,694> <DEBUG> <default.collaxa.cube.engine.data> <ConnectionFactory::getConnection> GOT TX CONNECTION 2 Autocommit = false
    <2007-04-05 08:01:36,694> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Setting Adapter Name: Database Adapter
    <2007-04-05 08:01:36,694> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Determining Input and Output WSDL Message elements
    <2007-04-05 08:01:36,695> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Creating ActivationSpec...
    <2007-04-05 08:01:36,695> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Instantiating ActivationSpec oracle.tip.adapter.db.DBActivationSpec
    <2007-04-05 08:01:36,695> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Populating ActivationSpec oracle.tip.adapter.db.DBActivationSpec with properties: {MaxRaiseSize=1, MarkReadFieldName=DONE_READING, UseBatchDestroy=false, MarkUnreadValue=UNREAD, ReturnSingleResultSet=false, QueryName=initialCoordination, MarkReadValue=READ, MarkReservedValue=RESERVED, DescriptorName=initialCoordination.AnotherTable, NumberOfThreads=1, MappingsMetaDataURL=initialCoordination_toplink_mappings.xml, PollingStrategyName=LogicalDeletePollingStrategy, PollingInterval=5, SequencingFieldName=AN_ID, MaxTransactionSize=unlimited}
    <2007-04-05 08:01:36,697> <DEBUG> <default.collaxa.cube.engine.data> <ConnectionFactory::closeConnection> CLOSE TX CONNECTION 1
    <2007-04-05 08:01:36,700> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Preparing ActivationSpec for Translation Service
    <2007-04-05 08:01:36,701> <DEBUG> <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::acknowledge> Acknowledged message log process event message 61b55bd8c71ae1e3:-3d66bcb1:111c1b2d4aa:-7f9c
    <2007-04-05 08:01:36,705> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Preparing ActivationSpec for Connection Factory and Properties
    <2007-04-05 08:01:36,705> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Invoking endpointActivation() on Resource Adapter
    <2007-04-05 08:01:36,708> <INFO> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.DBResourceAdapter endpointActivation> Activating: oracle.tip.adapter.db.DBActivationSpec@4e7ed
    <2007-04-05 08:01:36,710> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> client acquired
    <2007-04-05 08:01:36,713> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> client released
    <2007-04-05 08:01:36,715> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.DBEndpoint start> About to schedule the inbound polling thread with the work manager. ActivationSpec: oracle.tip.adapter.db.DBActivationSpec@4e7ed
    <2007-04-05 08:01:36,716> <INFO> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.DBEndpoint start> Kicked off 1 threads.
    <2007-04-05 08:01:36,717> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> client acquired
    <2007-04-05 08:01:36,719> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> begin transaction
    <2007-04-05 08:01:36,721> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> rollback transaction
    <2007-04-05 08:01:36,722> <ERROR> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.InboundWork handleException> Non retriable exception during polling of the database ORABPEL-11624
    DBActivationSpec Polling Exception.
    Query name: [initialCoordination], Descriptor name: [initialCoordination.AnotherTable]. Polling the database for events failed on this iteration.
    If the cause is something like a database being down successful polling will resume once conditions change. Caused by Exception [TOPLINK-6024] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.QueryException
    Exception Description: Modify queries require an object to modify.
    Query: UpdateObjectQuery(null).
    <2007-04-05 08:01:36,722> <FATAL> <default.collaxa.cube.activation> <AdapterFramework::Inbound> [initialCoordination_ptt::receive(AnotherTableCollection)]Resource Adapter requested Process shutdown!
    <2007-04-05 08:01:36,723> <FATAL> <default.collaxa.cube.activation> <AdapterFramework::Inbound>
    ORABPEL-11624
    DBActivationSpec Polling Exception.
    Query name: [initialCoordination], Descriptor name: [initialCoordination.AnotherTable]. Polling the database for events failed on this iteration.
    If the cause is something like a database being down successful polling will resume once conditions change. Caused by Exception [TOPLINK-6024] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.QueryException
    Exception Description: Modify queries require an object to modify.
    Query: UpdateObjectQuery(null).
    As reflected in the log messages, the process is automatically turned off. Turning it back on is ineffective, the server turns it back off with the same exception.
    This is a separate issue, but I'm not seeing much reason for this to be happening either. I've scrapped the process and started over, using my own BPEL process that simulates what I would expect that the dbadapter is supposed to do when it's configured to poll for records.

  • JCA Polling Adapter not picking up records

    Hello All
    I have been trying to configure a JCA polling adapter to pick up records from the Database, the first time I configured it, it read a whole bunch of records. Now I have configured the following in the database and am getting no records being polling.
    1. Poll for new or changed records
    2. Update a field in the table F40g02 for logical delete
    3. Read value = READ, UNREAD value = UNREAD, Reserved value = RESERVED
    4.Polling interval 5 seconds, Database XROWS per xml document 1, Database Rows per Transaction 10
    I ran the SQL specified in the adapter and I get a record. Does anyone have any idea.
    I have seen this warning in the EM
    Database Adapter <oracle.tip.adapter.db.inbound.IPAddrPollingService getUniqueMarkReservedValue> The markReservedValue of distributed polling might not be a unique value.  To make it so, you can add the last x digits (default = 2) of the host IP address using this format for the MarkReservedValue: [original_val]${IP[-x]}
    Regards

    Hello
    The problem I am facing is I can't get the records that are processed (already READ) to not poll again despite the value being changed to the READ value configured, if I set the READ value in the configuration it will poll every record all the time despite the fact it is equal to the READ value.  Then if I set the READ value and any other value no records will poll.
    Consider 4 records in the DB (currently in test I have 431 but I have used distributed locking and ReturnSingleResultSet to limit it)
    ID = 1, STATUS = PROCESSED
    ID = 2, STATUS = UNPROCESSED
    ID = 3, STATUS = UNPROCESSED
    ID = 4, STATUS = OTHER
    Config 1: If READ = PROCESSED records 1,2,3,4 will poll
    Config 2: If READ = PROCESSED, UNREAD = UNPROCESSED no records will poll
    Config 3: If READ = PROCESSED, UNREAD = UNPROCESSED, RESERVED = OTHER no records will poll
    Config 4: If READ = PROCESSED and TOPLINK STATUS not equal string "PROCESSED" then records 1,2,3,4 will poll
    What I want is Record 2 and 3 to poll which I believe is config 3 should do. However I believe there have been some changes that relate to distributed polling for clusters in 11.1.1.3 onwards which means in jdeveloper (11.1.1.6) when I go to re-config the db adapter after setting the RESERVED value it disappears from the editor .
    JCA properties obviously with a MarkReservedValueand MarkUnreadValue column jumping in.depending on which config I am trying
          <property name="DescriptorName" value="dbPollBlockRecords.F40G02"/>
          <property name="QueryName" value="dbPollBlockRecordsSelect"/>
          <property name="MappingsMetaDataURL" value="dbPollBlockRecords-or-mappings.xml"/>
          <property name="PollingStrategy" value="LogicalDeletePollingStrategy"/>
          <property name="MarkReadColumn" value="STATUS"/>
          <property name="MarkReadValue" value="PROCESSED"/>
          <property name="PollingInterval" value="700"/>
          <property name="MaxRaiseSize" value="1"/>
          <property name="MaxTransactionSize" value="10"/>
          <property name="NumberOfThreads" value="1"/>
          <property name="ReturnSingleResultSet" value="true"/>   (This property has been manually configured, will unfortunately poll all records that match without it)
    Regards

  • DB Adapter: Polling For New Records returns the First record multiple Times

    I Polling for New or Chnaged Records against DB2 on iSeries. The DB Adapter returns the first record from the Table multiple Times. If the Table has 5 records it displays the first record 5 times. I am using BPEL 10.1.3.1 Can anyone help me with this.

    Hi there,
    please check out the DBAdapter trouble-shooting guide:
    http://download-east.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/app_trblshoot.htm#CIHFEHFA
    I am copying an entry from there into here:
    A.1.21 Some Queried Rows Appear Twice or Not at All in the Query Result
    Problem
    When you execute a query, you may get the correct number of rows, but some rows appear multiple times and others do not appear at all.
    This behavior is typically because the primary key is configured incorrectly. If the database adapter reads two different rows that it thinks are the same (for example, the same primary key), then it writes both rows into the same instance and the first row's values are overwritten by the second row's values.
    Solution
    Open Application Sources > TopLink > TopLink Mappings. In the Structure window, double-click PHONES. On the first page, you should see Primary Keys. Make sure that the correct columns are selected to make a unique constraint.
    Save and then edit the database partner link.
    Click Next to the end, and then click Finish and Close.
    Open your toplink_mappings.xml file. For the PHONES descriptor, you should see something like this:
    <primary-key-fields>
    <field>PHONES.ID1</field>
    <field>PHONES.ID2</field>
    </primary-key-fields>
    Thanks
    Steve

  • Sender SFTP Adapter channel is not polling for files

    Hello All,
    Couple of SFTP sender adapter channel was failing in Developent system with u201Cdirectory listingu201D error.All SFTP sender channels stopped polling for the files in Developent system  . We were unable to find the reason for adapter failure, Hence we restarted the j2ee server and adapter started polling files. Later we are facing the same issue in Quality system. THe adapter cahnnel is not polling files in Quality system even.
    All lean tool adapters were showing the u201CHost key was not accepted erroru201D on 27th of Feb . As per the other channel trace, the time stamp of last successful polling and error time stamp of lean tool sender channels are exactly same
    Eventhough two communication channels access the same SFTP adapter, one communicationchannel is getting 'Host key was not accepted error' but in other communication channel, files are getting picked.
    Please let me know the solution if you have come accross this issue previously
    Regards,
    DilipKumar

    Hi Mike,
    Thanks for your reply.
    Its not a standard SFTP adapter rather its a C-BURGER SFTP adapter.
    Sorry I did not mention this in my previous post
    Regards,
    DilipKumar

  • Polling New Records in a table/Multiple servers

    We have a production environment that consists of 2 servers and I have a BPEL process that polls new records in a table and then sets flag as completed.
    Will this be a problem since we have more than one server?
    I ask this because I have another BPEL process that polls a FTP directory for files and then moves them after processing but when the process is put on the 2 servers, the process always becomes inactive and stops polling the directory, then I make it active again and it works for a little while and then becomes inactive again. I solved this be putting this process on my local SOA installation but I want to find a resolution for this.
    Thanks
    james

    The issue you have with the FTP adapter is that you have not configured it as a singleton adapter. Once this is done you will not have this issue.
    The DB adapter will not get the error that you get with FTP but you may get strange behavior if not configured correctly. If you are not using a sequencing file you should be ok as the dabase takes care of any locking. If you are using the sequencing function, e.g. sequence table then you may get 2 messages fired as both servers kick get the poll.
    To configure the db adapter for polling have a look at the following doc.
    http://download.oracle.com/docs/cd/E10291_01/core.1013/e10294/webapp.htm#CHDIDCGH
    cheers
    James

  • Polling for database updates fails to update sequence file/table

    I have a small system to poll for changes to a database table of student details. It consists of:
    Database adapter, which polls the database for changes, retreives a changed row, and passes the generated XML to -
    "receive" router service, which simply passes the retrieved database XML data to -
    "execute" router service, which transforms the XML and passes the new message to -
    File Adapter, which writes the transformed XML to a file.
    The problem is that the database polling is not updating the sequence recorder - I have tried using a sequence file which stores the personnumber, a sequence table which stores the personnumber and a sequence table which stores the last-updated timestamp. In all cases the database adapter successfully reads the sequence file/table and retreives the correct row, based on the sequence value ( I have tested this by manually changing the sequence value), the data is transformed and a correct xml file is created, but the system then fails to update the sequence file/table so that when the next polling time comes around the very same database row is extracted again and again and again.
    In the ESB control panel I have one error: "Response payload for operation "receive" is invalid!"
    The Trace is:
    oracle.tip.esb.server.common.exceptions.BusinessEventRejectionException: Response payload for operation "receive" is invalid! at oracle.tip.esb.server.service.EsbRouterSubscription.processEventResponse(Unknown Source) at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(Unknown Source) at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(Unknown Source) at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source) at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source) at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(Unknown Source) at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.processMessage(Unknown Source) at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.onMessage(Unknown Source) at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:281) at oracle.tip.adapter.db.InboundWork.onMessageImpl(InboundWork.java:1381) at oracle.tip.adapter.db.InboundWork.onMessage(InboundWork.java:1291) at oracle.tip.adapter.db.InboundWork.transactionalUnit(InboundWork.java:1262) at oracle.tip.adapter.db.InboundWork.runOnce(InboundWork.java:501) at oracle.tip.adapter.db.InboundWork.run(InboundWork.java:401) at oracle.tip.adapter.db.inbound.InboundWorkWrapper.run(InboundWorkWrapper.java:43) at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242) at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215) at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819) at java.lang.Thread.run(Thread.java:595)
    The payload is:
    <PersonCollection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/ISSSimIN">
    <Person>
    <name>Bob</name>
    <surname>Stupid</surname>
    <istatus>2</istatus>
    <active>Active</active>
    <personnumber>3001</personnumber>
    <role>Staff</role>
    <organization>TEX</organization>
    <updateTimestamp>2007-11-29T14:06:55.000+00:00</updateTimestamp>
    </Person>
    </PersonCollection>
    The payload above is the XML output from the Database adapter, the xsd for which was autogenerated by JDeveloper, so I don't understand how it can be invalid.
    I have only been working with ESB for 3 days, but half of that time has now been spent stuck on this issue. Anyone got any ideas??
    Richard

    You need to be careful. Submit and committing to the database are two different things.
    Submit on a page (and autoSubmit the property) are only posting the changes you typed into the field, back down to the application server. NOTHING is happening with the database at this point. So the applications's internal "cache" of records (using something like ADF BC) is holding the changes but the database doesn't know anything. So if you quit now, no changes will go to the database.
    These changes onlyget submitted down to the app server when you do some sort of action like press a button. Simply navigating fields will be doing nothing back to the app server. If you add autoSubmit then you will automatically submit the changes on that field down to the app server when you leave the field (but again, this is not touching the database)
    You have to explicitly add a COMMIT operation to save those changes to the database.
    Maybe if you try in a simple EMP example and send us your findings we can help direct you further.
    Regards
    Grant

  • Polling for change in status in db

    Hello,
    In my current process I need to wait for the change in status (or a new record) in a database.
    A while loop, is making the process too large and is not probably the way to go.
    Can I achieve this using the db adapter, it has a poll for change but it does not have any parameters.
    The query generated is [SELECT ID, DEC_NO, PICK FROM POLL_TEST ORDER BY DEC_NO ASC]
    but what I need is [SELECT ID, DEC_NO, PICK FROM POLL_TEST where DEC_NO=#parameter from input]
    My flow is like this:-
    Step 1 - receive
    Step 2 - some other operations
    Step 3 - wait //my problem is here
    Step 4 - continue with process
    Any other way this can be achieved?
    Using Oracle SOA suite 10.1.3.1
    Thanks.
    Edited by: sashwat on Jan 6, 2009 9:32 AM

    Hey,
    Here is a short sample :
    CREATE OR REPLACE PACKAGE "TRAINING"."PCK_PARAM" as
    procedure p_set_param( p_val varchar2 );
    function f_get_param return varchar2;
    end;/
    CREATE OR REPLACE PACKAGE BODY "TRAINING"."PCK_PARAM" AS
    param VARCHAR2(100);
    procedure p_set_param( p_val varchar2 ) AS
    BEGIN
    param := p_val;
    END p_set_param;
    function f_get_param return varchar2 AS
    BEGIN
    RETURN param;
    END f_get_param;
    END PCK_PARAM;/
    create view vw_test as select ename from emp where ename = pck_param.f_get_param;/
    select * from vw_test => Returns nothing as the param is null/
    select * from emp/
    begin
    pck_param.p_set_param('KING');
    end;/
    select * from vw_test => Returns the row for ename = 'KING'/
    begin
    pck_param.p_set_param('XXXX');
    end;/
    You can in that way have a parametrised view so you can poll for change on it.
    Cheers,
    Arnaud

  • Polling for new Data in Tables with SQL-functions

    Hi
    In my table I have 2 columns:
    event_state : integer (0 = unread, 1 = read)
    min_process_time : date
    In the DB-Adapter-Wizard I can configure my event_state-Field for using as logical delete field. In the SQL-Query there is a
    ... WHERE event_state=0
    But, I only want to query all new entries in this table, where
    min_process_time > SYSDATE.
    How can I configure my toplink-mapping, that SYSDATE can be used in the polling-query? If I use plain-sql instead of the expression from the Wizard (last page), then this sql-statement is ignored. In an expression I only can use a constant-value.
    Any idea?
    Thanks
    Gregor

    Hi
    I am creating a database Polling (logical delete OPEN to CLOSED) adapter that polls a table for records which have a "SCHEDULED" date field.
    The Polling Adapter should pick up those records where the status is OPEN and SCHEDULED<=SYSDATE.
    DB Adapter wizard does not allows this where clause(SCHEDULED<=SYSDATE) to be set; so i tried modifying the Toplink SQL with custom SQL. But it does not works. Please suggest a workaround.
    Please help.
    Thanks
    Debashis

Maybe you are looking for