DB Adapter polling is stopped because of SQLServerException

Hi
I am doing a DB adapter polling to MS SQL server database. If I am decreasing my polling frequency too low say 5 seconds, I am getting the below error some times and the polling process is getting stopped.
Query name: [Poll_xworlds_eventsSelect], Descriptor name: [Poll_xworlds_events.XworldsEvents]. Polling the database for events failed on this iteration.
Caused by com.microsoft.sqlserver.jdbc.SQLServerException: Lock request time out period exceeded..
This exception is considered not retriable, likely due to a modelling mistake. To classify it as retriable instead add property nonRetriableErrorCodes with value "-1222" to your deployment descriptor (i.e. weblogic-ra.xml). This polling process will shut down, unless the fault is related to processing a particular row, in which case polling will continue but the row will be rejected (faulted).
Also can anybody tell me how to add this in weblogic-ra.xml and which weblogic-ra.xml. this is 11g.
Thanks.

Changing the retryInterval and retryCount for that adapter process solved the problem. Thanks. I assume there's no bad side effects if I set this to keep trying for an hour or so? That's how long the target DB may be down for backups.
Thanks,
Lon

Similar Messages

  • BPEL: invalid namespace error with DB adapter polling and java embedding

    Hello
    I'm using bpel 10.1.3.1.0, and I'm experiencing the following problem: I'm am not able to use the SetTitle() function in a process which polls for records using the db adapter.
    Steps to reproduce the problem:
    - I create a very simple bpel process which poll for records in a table.
    - I deploy it, write manually a record in the polled table and the process start.
    - I can see the record picked up through the visual flow in the console
    - everything looks ok and the process ends correctly
    - now I add a java embedding activities just after the receive
    - I set the instance title like this: setTitle("Go");
    - redeploy, write a record in the polled table and the process start.
    - but the process ends in error with the following message "XMLDOMException has been thrown. invalid namespace for prefix xmlns"
    And there is no way to make it work. Consider:
    If I put the same java embedding activity in another process, for example a simple asynchronous process which just copy the input to the output, and I run from the console, the instance title is set as I want ("Go")
    If I remove the three lines from the polling process
    <bpelx:exec name="Java_Embedding_1" language="java" version="1.3">
    <![CDATA[setTitle("Go");]]>
    </bpelx:exec>
    then the process is executed correctly again. I add them again and then namespace error.
    Whatever statement I put in the java embedding activity (for example a string concatenation or even just a comment I have the same result: invalid namespace for prefix xmlns.
    Does anybody has a suggestion to evercome the problem? I need to set the title because its a mess to find out which instance processed a specific record.
    Thanks by
    Paolo

    I made a lot of further tests, and I can say the problem is related only to the database adapter polling mechanism.
    If I create an asynchronous process, with any kind of database activity (for example select) I can set the title normally.
    If I create a process which start with database table polling, then I cannot use the java embedding.
    try this:
    - create BPEL empty project
    - drop a database adapter service and follow the wizard:
    - select a connection (I tried both oracle or sqlserver connection)
    - select "poll for new or changed record"
    - select any table empty or with few record inside (1 or 2)
    - press next 4 times
    - chose delete record after read (press next)
    - chose order by "no ordering" in polling options (press next 2 times)
    - now drop a receive activity on the process, and connect with the polling partner link
    - drop a java embedding and write any valid java statement
    - deploy; if the table is empty, write a recod in the table
    - the process is instantiated, but the it fails in the --> receive <-- activity with "invalid namespace" error

  • Database Adapter Polling

    I am using Jdeveloper 10.1.3.1.0 to do the database polling. The adapter polls two tables joined by the foreign key.Then it will update the status code as logic deletion. However, when I tried to set the database rows per xml document to 1 on step 10 of 11 of the polling options. However, when I tried to set database row per transaction to 50, it won't allow me. My understanding is that this 50 will set the database commit every 50 records. The wizard basically stopped there. Only after I changed it to unlimited, it proceeded.Can anybody help me?

    Hi,
    The triggering instances will not depend on the Database rows/transaction but will only depend on the Database rows/xml document.
    Database rows/transaction is internal to the DB and the DB adapter.
    If u keep Database rows/transaction as 200 and no. of rows/ xml document as 100 and 1000 rows are to be processed, then it will create 10 instances.
    However if you have 1000 rows for processing DB adapter will run a cursor in a loop to pick up 200 rows from the 1000
    rows 5 times (this is a batch setting between DB and the DB adapter and will distribute the load of picking 1000 rows at a time into 5 transactions) and then these 200 rows will be distributed into 2 BPEL instances of 100 rows (this is a batch setting between DB adapter and BPEL).
    Hope this clarifies.
    With Regards,
    Harshwardhan

  • DB adapter polls all the records regardless of the MaxTransactionSize

    Hi All,
    I have a requirement that I need to poll only 10 records per minutes from DB2 database, regardless of how many ever records in the database at the time of the polling. I used the DB polling with custom sql, to fetch only first 10 records, as well as MaxTransactionSize set to 10 and PollingInterval to 60 (sec), PollingStrategy as LogicalDeletePollingStrategy. But when I test it out, if I have 100 records in the database, it updated all 100 records with the MarkReadValue and gave me all 100 records. I tried with disabling the SkipLocking as well, but doesn't seem to work. I also tried using the throttling in DB adapter in the composite.xml, but though the composites are showing up one by one based on the throttling time interval, in the database, it updated all the records right away, which is unacceptable as per business logic. Can someone please guide me how I can implement this? Thanks in advance.
    Note: I am using SOA 11.1.1.5. In 10.1.3.4, we have implemented this and it is working well, but can't make it to work in 11.1.1.5.
    Hruthayah

    Thanks for responding, Narsing.
    Please Note that MaxRaiseSize property doesn't behave the same in Database Adapter as it does in File Adapter Polling...
    MaxTransactionSize = Database Rows Per Transaction
    MaxRaiseSize = Database Rows Per XML Document
    In Database Adapter, MaxRaiseSize means the maximum number of records it can get in an XML Document...Yes, I do understand that, and that is why since I want one record per each instance, I have MaxRaiseSize set to 1.
    in the steps of configuring DB Adapter, you can select the 'Do Synchronous Post to BPEL' option in the 'Operation Type' screen in the adapter configuration wizard. This will generate an empty response message type for output variable. In the BPEL process add the reply activity at the end of the process by selecting output variable and also add the reply activities in the end of catch and catch all blocks in the exception handling.I had done what you have suggested. But I have seen two issue.
    1. Although only one instance is being showing up for the first time in EM, in database, all the records are being marked as "Reserved". (which is unacceptable as per the business requirement)
    2. Next instances are showing up right after first one is done. (meaning, all the instances are showing up one by one without waiting for the polling interval)
    Is this because of the DB2 database? I even tried updating the "PoolingService-or-mappings.xml" file to include the custom sql so that it will exactly fetch first 10 records.
    <query name="EOneEvents" xsi:type="read-all-query">
    <timeout>0</timeout>
    +<call xsi:type="sql-call">+
    +<sql>SELECT E1GS2A, E1VALU, E1UKID, E1ACTN, E1AA20, E1GPSP, E1LL, E1GS1A, E1GS1B, E1HBST1, E1HBST2, E1HBST3, E1HBST4, E1HBST5, E1CRTU, E1CRTJ, E1CRTT, E1WRKSTNID, E1HBOPID, E1UPMB, E1UPMJ, E1UPMT, E1JOBN, E1PID FROM F57MTE01 WHERE ((E1GS2A = 'LOT') AND (E1GPSP = '0')) ORDER BY E1CRTJ, E1CRTT ASC fetch first 3 rows only</sql>+
    +</call>+
    <reference-class>PollingService.F57mte01</reference-class>
    <cache-usage>primary-key</cache-usage>
    <lock-mode>none</lock-mode>
    <container xsi:type="list-container-policy">
    <collection-type>java.util.Vector</collection-type>
    </container>
    </query>
    </queries>
    I would appreciate if you can guide me if I am doing something wrong here.
    Hruthayah

  • When trying to update my iPad 2 to iOS 7 I keep getting the message that it has stopped because the file is full.  There is plenty of room on the iPad.  It also says to check the settings.  What do I do now?

    When trying to update my iPad on iTunes I keep getting a message that the download has stopped because the file is full.  There is plenty of space on the iPad.  Also, the message says to check the settings.  What am I supposed to check in the settings?  What do I do now?

    I have the same problem. It is only with tv shows and only with programs I have downloaded after the software update.
    Apple support sent me the above link too....but it doesn't solve the problem...my computer is authorized and the content is in my library and will play on my Mac air, but it will not sync the tv shows, it keeps saying my computer isn't authorized for it.
    No answers here, but you are definitely not alone with this issue.

  • TS1393 I cannot eject my iPod using either itunes or the eject button on bottom tool bar beacuse it says something is in use by another application or "The device 'generic volume' cannot be stopped because  a program is still accessing it" Synced new iPad

    How can I eject my ipod when neither itunes not the "safe to eject" button will allow it.  Itunes says "...cannot be ejected because it contains files that are in use by another application."  The safe to eject button says "The device 'generic volume' cannot be stopped because a program is still accessing it."  The has never happened before.  The only thing new is that I added an iPad yesterday.  Thanks. 

    Go to your computer's System Tray and try ejecting.  If you can't eject, there is an application that is trying to access your iPod.
    Go to http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx and download ProcessExplorer.
    Go to http://support.microsoft.com/kb/555665 and follow the instructions under Resolution.
    Note that this is a good, general process any time you can't access any file.
    In my case an update to RealPlayer installed a program called RecordingManager that was accessing my iPod.

  • File Adapter polls all the files from the directory when deployed again

    Hi,
    File Adapter polls all the files from the inbound directory irrespective of the timestamp when deployed again.
    For ex. when the BPEL process with file adapter is deployed, it starts polling the directory based on the timestamp as and when the directory is written with the files. I did not opt for deleting the files after read by the File Adapter.
    But, when BPEL process is modified and deployed again, this time, the file adapter picks up all the files in the inbound directory and doesn't consider the timestamp.
    My guess is that it should not pick all the files but based on timestamp only.
    I guess I can observe the same behavior if I bounce the Application Server also
    Do I have an option to achieve this?
    Thanks,
    Sasi Bhushan.

    try this:
    1- create a File object for the directory. (look at isDirectory() )
    2- create a File[] that represents the files in that directory. (.listFiles())
    3- if (file[x].isDirectory()) {recursive method call;}
    4- else {
    process file;
    If you want more help--do some work on it, and come back with specific questions relating to specific lines in your code and specific error messages you've been receiving.

  • OSB DB Adapter Polling Issue

    Hello Everybody,
    Requirement
    I am doing DB Adapter polling in OSB.I have a db adapter which polls order table whenever there is a record with status='N'.The OSB component is on single node of Weblogic Server.
    1.The db adapter picks the order data with status='N' in the proxy service
    2.It transforms to webservice xsd
    3.Invokes a webservice.
    4.The webservice returns acknowledgement number.
    5.The order table should be updated with status 'Z' and attribute1=acknowledgement number
    OSB Service Design
    1.Proxy service calls business service to poll the order table
    2.Converts the payload to the xsd format required by target
    3.Invokes the webservice on target
    4.Receives acknowledgement number
    5.calls a plsql procedure which updates all the records within this batch with the acknowledgement number and status='Z'
    My configurations in db adapter
    Logical delete option in db adapter.
    Unread Value :'N'
    Read Value : 'A'
    Polling frequency : 300 seconds
    no of databse rows per XML document : 10
    Database rows per transaction : 10
    Issue
    1.My process after getting the acknowledgement number it updates the status with Z and attribute1=acknowledgement number.At the of this transaction I am seeing that the status is being updated by
    the adapter to 'A' based on read value.I want the read value only to be updated initially but as soon as my OSB process picks it for further processing it should not update again.How can i prevent
    the status from getting updated to 'A'.
    2.I have 40 records in order table.Per the database rows per transaction it should process 10 records at a time and for each batch of 10 i should get one acknowledgement number.Instead i see that
    all the 40 records are updated with the same acknowledgement number.Kindly help as to how I can resolve this situation.
    Thanks & Regards,
    Radha

    Hi Arik,
    I tried setting the property(idempotent) in jca file of the polling adapter and it gave me below error.Kindly help
    <adapter-config name="EBS_FETCHDATA" adapter="Database Adapter" wsdlLocation="EBS_FETCHDATA.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/DB/newebs" UIConnectionName="EBS" adapterRef=""/>
    <endpoint-activation portType="EBS_FETCHDATA_ptt" operation="receive">
    <activation-spec className="oracle.tip.adapter.db.DBActivationSpec">
    <property name="DescriptorName" value="EBS_FETCHDATA.XxcmfOtmOrderHdrIfaceTmp"/>
    <property name="QueryName" value="EBS_FETCHDATASelect"/>
    <property name="MappingsMetaDataURL" value="EBS_FETCHDATA-or-mappings.xml"/>
    <property name="PollingStrategy" value="LogicalDeletePollingStrategy"/>
    <property name="MarkReadColumn" value="OTM_INTERFACE_STATUS"/>
    <property name="MarkReadValue" value="A"/>
    <property name="MarkUnreadValue" value="N"/>
    <property name="PollingInterval" value="60"/>
    <property name="MaxRaiseSize" value="10"/>
    <property name="MaxTransactionSize" value="300"/>
    <property name="NumberOfThreads" value="1"/>
    <property name="ReturnSingleResultSet" value="false"/>
    <property name="idempotent" value="false"/>
    </activation-spec>
    </endpoint-activation>
    </adapter-config>
    ---------------------ERROR---------------
    Invalid JCA transport endpoint configuration, exception: javax.resource.ResourceException: BINDING.JCA-12532 Cannot set JCA WSDL Property. Error while setting JCA WSDL Property. Property setIdempotent is not defined for oracle.tip.adapter.db.DBActivationSpec Please verify the spelling of the property.
    Thanks,
    Radha

  • DB adapter polling in OSB

    1. In a clustered environemnt, we need to use "Distributed polling" in DB adapter to make sure the multiple cluster instances are not polling for the database at the sametime. If "Distributed polling" can achieve that, what is the need to have singleton property set for the DB adapter in the composite.xml
    2. For achieving DB adapter polling in osb, we need to create the adapter in bpel and then export them to osb project. In such OSB project, where do we set the singleton property ?

    Thanka Ananth.
    I assume active-passive cluster setup means,
    there will be a cluster with only one osb or bpel managed server (active cluster)
    There wil be another cluster with only one osb or bpel managed server (passive cluster).
    so when there is some data inserted into the database, there will be only one managed server (available on active cluster) will be available to poll for the recored. Passive man server does not poll for this record. I assume this is the default behaviour. If such is the case, then what is the use of setting this singleton property ?

  • FIle adapter polling at a particular time

    Hi,
    I want to pull a file say  at 12.00 am  always from a FTP server.
    Is there any scheduler in XI where in I can start the adapter polling without manually activating the file adapter at 12.00 am
    Thanks,
    Sachin

    HI,
    As of now File Adapter doesnot support this. Refer SAP Note 821267 Question No 18.
    There is some workaround is there. Using BPM etc..
    Regards,
    Moorthy

  • "recording stopped because the format of the source media changed" Error

    I am trying to import video from my digital camera via firewire to quicktime...
    the New movie recording screen appears and works, but after a random amount of time (normally just around 4 minutes..) the recording stops and the message appears..
    "recording stopped because the format of the source media changed"
    I have plenty of disk space, and am sending the output vid to the desktop..
    please help.. I have spent 3 days trying to record the vid...
    I cannot import via imovie because I want to have the sound come from a different source then the movie.. i.e. Quicktime lets me get vid from DV and sound from "saffire" sound card..
    Thanks
    Geoff

    Jon Walker wrote:
    This is an older model Sony prosumer 3CCD camera that records to mini-DV tape.
    So does the HC3 and I have to re-set the camcorder output to match the capture settings each time I switch modes. However, I don't use QT for capture since the ability to maintain frame rate is dependent on the platform's CPU power. As you feel the problem is tied to your use of QT Pro, why not download and try the free Vidi dedicated capture utility.
    I'll check out vidi. I'm not familiar with it. I've been using this same method to capture clips for several years. I pretty much set the camera once and never have to mess with it again. I don't switch the mode at all during the day.

  • NM7.1: Inbound processing was stopped because of server error (id=10)

    Dear Experts,
    We have migrated the 2.5 application to 7.1. Now when I am creating few transactions from mobile client say create or modify & trying to synchronize its giving me an error as stated below... I have copied the error code text from trace file of client.
    Pls let me know if anyone has any clue so as what might be the reason behind it..!!
    <r id="1268990872922" t="14:57:52" d="2010-03-19" s="D" c="000" u="" g="" m="HTTPSyncCommandIn#Error(errorId=10, messageText=Error during Uploading messages Id mismatch)">
    <f n="SourceName" v=" [/CFS/Sync/Synchronizer/HttpSyncCommand]"/>
    <f n="LocationName" v=" (com.sap.tc.mobile.cfs.sync.synchronizer.http.Command:execute)"/>
    <f n="ThreadName" v="Thread-41"/>
    </r>
    <r id="1268990872923" t="14:57:52" d="2010-03-19" s="E" c="000" u="" g="" m="An error encountered on server: &quot;Error during Uploading messages Id mismatch&quot;; error code 10">
    <f n="SourceName" v=" [/CFS/Sync]"/>
    <f n="LocationName" v=" (com.sap.tc.mobile.cfs.sync.api.SyncManager:postMessage)"/>
    <f n="ThreadName" v="Thread-41"/>
    </r>
    <r id="1268990872924" t="14:57:52" d="2010-03-19" s="E" c="000" u="" g="" m="Inbound processing was stopped because of server error (id=10): Error during Uploading messages Id mismatch ">
    <f n="SourceName" v=" [/CFS/Sync/Synchronizer]"/>
    <f n="LocationName" v=" (com.sap.tc.mobile.cfs.sync.synchronizer.http.HttpSynchronizer:readResponse)"/>
    <f n="ThreadName" v="Thread-41"/>
    </r>
    <r id="1268990872937" t="14:57:52" d="2010-03-19" s="D" c="000" u="" g="" m="commit called on PersistenceSink with connection 27830759">
    <f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.jdbc.core.JDBCPersistenceSink:commit)"/>
    <f n="ThreadName" v="Thread-41"/>
    </r>
    Regards,
    Saptak

    Hi Amit,
    Thanks for your inputs.. Do you have any idea behind this error, why does the client & doe messages go out of sync. And what can be done as a precautionary measure to avoid it..
    Do you want me to try "Recover the device", or to reinitialise it ??
    Because if I reinitialise the device then the user will not be able to sync again with same device & i will have to un-install & re-install the client & sync again...and this will create problems in production system.
    I also tried to recover the device; it doesnt work this way.
    Pls guide me...
    Thanks in advance,
    Regards,
    Saptak

  • This program is stopping because too many errors have occurred.

    I'm putting a game through QA and they found that the Director Projector throws the following error in Windows 7 when the user switches their windows user.
    "This program is stopping because too many errors have occurred."
    To test, I created an empty director projector that does nothing but repeat frame 1 and it throws the same error.  Any thoughts on what could be causing this?

    Has anyone figured out how to fix this problem? It is happening to me in a kiosk that runs 24 hours a day. If I use Log Me In to check on the kiosk remotely, it sometimes throws this error. Log Me In automatically switches to a different user account. After I disconnect from Log Me In session, the error occurs, I suppose when it switches back to the original user.
    This is a big problem, any help will be appreciated.

  • Instances created before db adapter poll completes.

    Hi,
    We have been seeing a couple of instances where these instances seem to have been created before the database adapter could finish off it's polling cycle.
    The DB Adapter in our case does a logical delete and updates a column with 'Y', the timestamp of which is updated in another column of the same table.The instance when it gets created goes and updates another timestamp in the same table.
    The problem is that in some cases the timestamp of instance is greater than the timestamp of database adapter leading to other issues.
    Can anyone explain what is happening here and any possible resolution for the same.
    Thanks,
    Shishir

    Hi Shishir,
    If I understand your scenario correctly then below happens:
    DB Adapter polls a table and picks up the records for processing. After picking up it internally updates a particular column (logical delete) as configured in Adapter configuration. Then in BPEL Adapter process there is a step where you update another column in same table (timestamp). And when you see Adapter process instance in BPEL console, you observed that BPEL process instance creation timestamp > update database column timestamp for the processed record.
    Is this your problem? If yes then its a normal behavior.
    When the BPEL Adapter process is instantiated then its in memory and is only dehydrated when transaction is committed, in other words the in memory BPEL instance will be persisted to BPEL internal database when the process is finished or if it encounters explicit checkpoint or wait kind of activities. And when this BPEL process is dehydrated that is the process instance creation time which you see on BPEL Console.
    Please let me know if this clarifies your problem or otherwise explain me further if I understood it wrong.
    Thanks.
    Regards,
    Ankit A.
    http://fusionmusings.blogspot.com
    Edited by: AnkitAggarwal on Apr 14, 2010 2:00 AM

  • HT5312 My stops because of the wrong answer to the secret question, and I want to use it for evil application from Apple Store?

    My stops because of the wrong answer to the secret question, and I want to use it for evil application from Apple Store?

    Hello mr sami,
    Thank you for the details of the issue you are experiencing with your security questions.  I found an article with some useful information if you cannot remember the answers to your security questions:
    What should I do if I don't remember the answers to my Apple ID security questions?
    Try answering them at least once to see if you can get them right, even if you are not sure you remember the answers to your security questions.
    If you are confident you can't remember them, try one of the following:
    If you have three security questions and a rescue email address
    sign in to My Apple ID and select the Password and Security tab to send an email to your rescue email address to reset your security questions and answers.
    If you have one security question and you know your Apple ID passwordsign in to My Apple ID and select the Password and Security tab to reset your security question.
    If you have one security question, but don't remember your Apple ID password
    contact Apple Support for assistance. Learn more about creating a temporary support PIN to help Apple confirm your identity when you contact Apple Support.
    Note: If you have forgotten your password and answer your security questions incorrectly too many times in a row, you will be unable to try to answer your security questions for a period of time. During that time you will not be able to reset your password and will not have access to your account.
    You can find the full article here:
    Apple ID: All about Apple ID security questions
    http://support.apple.com/kb/HT5665
    If you continue to have issues, please contact our Account Security Team as outlined in this article:
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

Maybe you are looking for

  • Getting Error while running EBS ER Trusted Recon Scheduler

    Hi All, I have created EBS Connector and loaded it in oim. While i am trying to run the Scheduler EBS ER Trusted Recon Scheduler I got this Error : oracle.iam.connectors.common.ConnectorException: * I have checked in Log File It shows following Error

  • Can't get texts from one person

    Does anyone know of anything I could try to help me receive texts from someone that I previously received texts from just fine? About 2 weeks ago a friend of mine and I noticed that neither of our texts were being received by the other.  He uses an i

  • If I go back to Lion from Mountain Lion, Can I go back to ML after?

    So, I got my 2012 Air with Lion, did a back up and upgraded to ML. I've had it since release and my laptop runs a LOT hotter now and the battery life is much worse. As I have an Android phone and not an iPhone, half the new feature in ML are made red

  • Sales order ATP

    HI all, How to find the component lead time for a material during sales order ATP process. I am looking for a FM which would give me the exploded component list with commited date. I will be using this date in a user exit of sales order. Thanks in ad

  • HP Photosmart 7510 - Unable to Find Printer

    I am installing the HP Photosmart 7510.  The wireless connection is good with a strong signal.  Router is a Cisco Wireless-G.  I am running Windows XP.  I have rebooted with the firewall disabled, but continue to get the error message "Unable to find