Time Out Settings in OSB

Hi All,
I have a service which calls DB via DB adapter. For the webservice call, I have an option of read time out settings in the business service, so that it will get time out after the configured time period.
But for the DB call I dont have this option in the business service and we are getting stuck thread exceptions when the legacy is taking more time to respond back. We have a requirement that all the services realted to DB call have to get time out when the legacy takes more time.
Kindly help me in doing this.
Thanks and Regards,
Prabhu

Hi Anuj,
I did a sample stored procedure which will wait for number of seconds which we send as input and will send the success repose after the number of seconds.
StoredProcedure:
create or replace
procedure sleep (seconds in number,response out varchar2) as testdata number;
begin
testdata := seconds;
dbms_lock.sleep(testdata);
response := 'SUCCESS';
end;
Business Service XML:
<?xml version="1.0" encoding="UTF-8"?>
<xml-fragment xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:env="http://www.bea.com/wli/config/env" xmlns:jca="http://www.bea.com/wli/sb/transports/jca" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ser:coreEntry isProxy="false" isEnabled="true">
<ser:binding type="SOAP" isSoap12="false" xsi:type="con:SoapBindingType" xmlns:con="http://www.bea.com/wli/sb/services/bindings/config">
<con:wsdl ref="Sleep2/Sleep_dbBS"/>
<con:binding>
<con:name>Sleep_ptt-binding</con:name>
<con:namespace>http://xmlns.oracle.com/pcbpel/adapter/db/Application1/Project2/Sleep</con:namespace>
</con:binding>
</ser:binding>
<ser:monitoring isEnabled="false">
<ser:aggregationInterval>10</ser:aggregationInterval>
<ser:pipelineMonitoringLevel>Pipeline</ser:pipelineMonitoringLevel>
</ser:monitoring>
<ser:reporting>true</ser:reporting>
<ser:sla-alerting isEnabled="true">
<ser:alertLevel>normal</ser:alertLevel>
</ser:sla-alerting>
<ser:ws-policy>
<ser:binding-mode>wsdl-policy-attachments</ser:binding-mode>
</ser:ws-policy>
</ser:coreEntry>
<ser:endpointConfig>
<tran:provider-id>jca</tran:provider-id>
<tran:inbound>false</tran:inbound>
<tran:URI>
<env:value>jca://eis/DB/SleepConnection1</env:value>
</tran:URI>
<tran:outbound-properties>
<tran:load-balancing-algorithm>round-robin</tran:load-balancing-algorithm>
<tran:retry-count>0</tran:retry-count>
<tran:retry-interval>30</tran:retry-interval>
<tran:retry-application-errors>true</tran:retry-application-errors>
</tran:outbound-properties>
<tran:all-headers>false</tran:all-headers>
<tran:provider-specific>
<jca:jca-file ref="Sleep2/Sleep_db"/>
<jca:adapter-name>Sleep</jca:adapter-name>
<jca:adapter-type>DATABASE</jca:adapter-type>
<jca:always-use-wsdl>true</jca:always-use-wsdl>
<jca:connection-mode>managed</jca:connection-mode>
<jca:outbound-properties>
<jca:operation-properties>
<jca:operation-name>Sleep</jca:operation-name>
<jca:spec-properties>
<jca:property>
<jca:name>ProcedureName</jca:name>
<jca:value>SLEEP</jca:value>
</jca:property>
<jca:property>
<jca:name>QueryTimeout</jca:name>
<jca:value>2</jca:value>
</jca:property>
<jca:property>
<jca:name>GetActiveUnitOfWork</jca:name>
<jca:value>false</jca:value>
</jca:property>
</jca:spec-properties>
</jca:operation-properties>
</jca:outbound-properties>
</tran:provider-specific>
</ser:endpointConfig>
</xml-fragment>
When I run this from the business service, if I give the input as 10, we are getting error only after 10 seconds not in the query time out seconds. But the thing is we are getting error. If we set the time as 11 seconds we are getting success response. But our requirement is the procedure has to time out in the specified seconds. Kindly correct me if I am wrong.
Regards,
Prabhu

Similar Messages

  • SAP PORTAL Time-Out Settings / BO iView Reports..?

    We have created BO object-specific iView requests in SAP PORTAL based on Ingo's posting....
    SAP BusinessObjects Enterprise & SAP Enterprise Portal - Part 3 of 4
    Currently, just posting some small CR4E and Analysis for Office (*Design Studio will be added in a few months) report objects that are based on BW queries - and response time is a few seconds.
    However, long-term as our BW grows - and the volume of data/periods expands we may see some reduction in the performance of these reports, and they make take a few-minutes to return data.
    The SAP Portal team already have an issue with an ECC / T-Code report (*no Business Objects involved) which runs over 100 seconds - and hits a Portal time-out....and are wondering if we would hit the same issue if a CR4E within the Portal ran longer than 100 seconds...?
    I think the answer is "NO", the Portal time-out would not apply in that scenario. My assumption is that in our solution-path, the Portal's 100 second time-out rule would ONLY apply to the process of the Portal invoking the iView request - and opening the frame for the CR4E content.
    Once the frame is open - and the RPT / Prompt-Screen is loaded the Portal time-out is "happy".
    After that iView -> BO frame is established....so, even if the CR4E & BW Query took more than 100 Seconds to return/display the data - the SAP Portal would not time-out - as all of that activity is actually taking place at the BOE Platform layer within the frame (and using the time-out settings at the BOE level).
    Can anyone confirm that my assumptions are correct, or explain where the assumption is wrong..?
    Thanks in advance...!

    In our scenario, the SAP PORTAL has a 100 second time-out, but the Business Objects platform where the CR4E content is hosted has a 600 second time-out for "View on Demand" reporting.
    When the SAP PORTAL opens the iView connection, it is opening the CR4E content in a frame on the Portal. Prompts are entered - and the RPT execution begins on the BOE platform.
    There is a "spinning-wheel" displayed from the BOE platform, and if run in BO LaunchPad it could run for up to 600 seconds before a time-out occured.
    When it is presented in SAP PORTAL via iView connection - does that "spinning-wheel" from BOE Platform provide enough of a "heartbeat" to let the PORTAL know not to drop the connection at 100 seconds....?
    My reasoning is that SAP PORTAL should be opening the BOE content with the same rules that apply when the report is opening in the BO LaunchPad.
    We are going to create a "SLOW" report in CR4E (*Lots of charts & sub-reports) to test/compare LaunchPad and Portal display of the same report.

  • How to change time out settings in Analytic Provider Service...

    ... or how to disable automatic disconnect between APS and essbase server (using XMLA interface).
    First a short summary:
    We would like to use a third party product to analyze data (DeltaMaster from Bissantz). This product uses the XMLA interface provided by Analytic Provider Service. Mostly the connection works, I can choose one of our cubes, sometimes a drill down is possible, but sometimes the following error occurs:
    "Microsoft.AnalysisServices.AdomdClient.AdomdErrorResponseException: (1042006): Network Error [10061] Unable To Connect To [entwgdw.hres.de:33769]. The client timed out waiting to connect to the Essbase Agent using TCP/IP. Check youer network connections. Also please make sure that Server and Port values are correct [...]"
    I have already talked to the Bissantz support concerning this issue and the recommended me to increase the APS time out settings and/or to disable the automatic disconnect between APS and essbase server after every query.
    The question is: Is this possible and if yes: How and where can I change these settings???
    Kind regards
    André

    You could look at updating the essbase.properties file in the APS installation directory.
    olap.server.netRetryCount=600
    olap.server.netConnectRetry=3
    olap.server.netDelay=200
    olap.server.netSocketTimeOut=200
    Update then restart APS
    Though this might not be the issue if on windows, it may be down to the amount of ports being used, have a read [here |http://timtows-hyperion-blog.blogspot.com/2007/12/essbase-api-error-fix-geeky.html ] for a possible fix.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Load Balancing Time Out Settings

    Hi, getting error below and I'm sure its to do with Time Out on Load Balancing, anyone confirm as don't want to mess around with IIS...
    The average of the most recent heartbeat intervals [499] for request [Ping] used by clients is less than or equal to [540].
    Make sure that your firewall configuration is set to work correctly with Exchange ActiveSync and direct push technology. Specifically, make sure that your firewall is configured so that requests to Exchange ActiveSync do not expire before they have the opportunity
    to be processed.
    For more information about how to configure firewall settings when using Exchange ActiveSync, see Microsoft Knowledge Base article 905013, "Enterprise Firewall Configuration for Exchange ActiveSync Direct Push Technology" (http://go.microsoft.com/fwlink/?linkid=3052&amp;kbid=905013).
    Currently timeout is set to 5mins on LB...
    Thanks!

    I'm talking about Health Check Time Values below;
    http://blogs.vmware.com/vsphere/2012/11/load-balancing-using-vcloud-networking-and-security-5-1-edge.html
    Parameter
    Description
    Interval
    Interval at which a server is pinged.
    Timeout
    Time within which a response from the server must be received.
    Health Threshold
    Number of consecutive successful health checks before a server is declared operational.
    Unhealth Threshold
    Number of consecutive unsuccessful health checks before a server is declared dead.

  • Time out settings in a proxy

    Hi ,
    I am calling a Proxy from a Function module... now the requirement is: if proxy exceeds the set  execution time, we need to kill the process and send a message to the user.
    Can we set a time out in Proxy? If so, Please let me know the configuration settings for that?
    Can we set the time out programatically or dynamically to kill the proxy?
    Thanks & Regards,
    Pavan.

    Check this out ..This might solve ur issue
    kill RFC session

  • Time out settings

    Hi,
    A user was timing out after 10 minutes. What config files can we validate the current setting?
    Thanks & Regards
    Ganesh.K

    Hi,
    A user was timing out after 10 minutes. What config files can we validate the current setting?
    Thanks & Regards
    Ganesh.K

  • Ridiculous time out durations in sending mail

    When sending messages from my MacBook Pro, Often the timeout for failed SMTP sending is ridiculously long... up to three minutes in many instances.
    There is no cancel button anywhere, and no way I can determine to retrieve the message to try another server.
    Most often when the failed in sending window finally appears, I can select the SAME server, and it goes straight away.
    My iMac and my G4 Powermac never display this behaviour and are all using the same versions of leopard for OS and mail. And, are connected to the same wireless network profiles using Time Capsule.
    1) Is there a way to adjust the time out settings for SMTP? I cannot seem to find that setting anywhere.
    2) When setting up an new SMTP server, I notice that it still takes an intetminable duration to verify the server(s) this is frustrating when I am constantly setting up several SMTP accounts on new system.
    Maybe these two issues are related?

    The option is only great if it actually works. It's just a way to start the troubleshooting. If it doesn't make any difference, then it won't be used and the only pain will be to delete the numbers.
    If it works, then there may be other answers like putting the numbers into the router. I'm not sure what you will have to do if you don't have access to the routers configuration...
    Maybe it won't work at all, and we try something else. I worry about the next problem after I fix the one I'm on.
    The ISP's I've been working with are getting more strict with their smtp servers all the time. They're changing the settings and putting in so many port restrictions that webmail, gmail, livemail etc are becoming the only choice when traveling. 10 years ago I bought my own domain so that I can control my mail server and don't worry about quota's or ports.
    Message was edited by: dechamp

  • What is TIME OUT error?

    while executing queries,
    its not giving output.
    if we see...the error is Tme out.
    what does it mean and where the problem lies?

    Hi,
    I'd like to add a few points:
    1. Not sure if you're accessing this query via the portal.
    If you're, then you need to check the time out settings on both - Portal as well as BI.
    Incase if you're following the federated portal approach (for BI7.0), then you should check the time out setting on the Producer portal as well as Consumer portal.
    As mentioned in the earlier posts, the time out setting can be increased, if need be.
    2. If however, you're convinced that all the time out settings are good enough and decide not to increase it any further, try following some recommendations on the overall BI performance.
    Please also let us know which version of BI are you using (i.e. BI 7.0 or BW3.5) to help address your issue.
    Thanks,
    Ashish

  • Connection times out constantly.

    When browsing in Firefox, it constantly times out.
    Sometimes it does it after 15 mins and sometimes it takes an hour or better.
    I need help, the only way to get it going again is to reboot and frankly that is getting old.

    Hi Carey,
    Thank you for responding. No, we don't have any firewalls I think...Hmm strangely the crash doesn't seem to appear int he FTP Log. Here is the log from roughly the time of the "Operation Time Out":
    > LIST
    < 150 Opening data channel for directory list.
    < -rw-r--r-- 1 ftp ftp           3743 Sep 10 09:38 content.ascx
    < -rw-r--r-- 1 ftp ftp           4861 Sep 07 12:42 home.ascx
    < -rw-r--r-- 1 ftp ftp           3034 Sep 10 09:47 ie8.css
    < drwxr-xr-x 1 ftp ftp              0 Sep 07 12:53 images
    < drwxr-xr-x 1 ftp ftp              0 Sep 06 11:05 includes
    < -rw-r--r-- 1 ftp ftp           3373 Sep 10 09:38 OnePane.ascx
    < -rw-r--r-- 1 ftp ftp          20116 Sep 10 09:43 skin.css
    < 226 Transfer OK
    > CWD /
    < 250 CWD successful. "/" is current directory.
    > CWD /lis-con.com.au/Portals/0/Skins/Liscon/images
    < 250 CWD successful. "/lis-con.com.au/Portals/0/Skins/Liscon/images" is current directory.
    > PWD
    < 257 "/lis-con.com.au/Portals/0/Skins/Liscon/images" is current directory.
    This is the "Background File Activity":
    Started: 10/09/2012 9:48 AM
    Operation timed out. Cancelling...
    Operation timed out. Cancelling...
    Operation timed out. Cancelling...
    Operation timed out. Cancelling...
    Operation timed out. Cancelling...
    Operation timed out. Cancelling...
    Operation timed out. Cancelling...
    Operation timed out. Cancelling...
    Operation timed out. Cancelling...
    lis-con.com.au\Portals\0\Skins\Liscon\images\icon_topphone.svg - user cancelled
    Operation cancelled.
    Finished: 10/09/2012 9:53 AM
    It's just a little bit frustrating that it takes it 5 minutes to time-out. Is there any way to set time-out settings? Also, if you try and cancel out of the time-out that's when it just stops and you need to force-quit.
    Thank you again for taking a look at this!

  • Header UI 2007 not working + Time-out CRM 2007

    Hello,
    We are currently installing CRM 2007 as a standalone. However we encounter 2 problems:
    1. De header menu (personalize etc) is not working. Clicking on those links has no effect at all
    2. When starting a functionality (e.g. account management -> accounts) we get a time-out after 60 seconds. Probably because SAP is compiling the screen for the first time. How can we adjust the time-out settings?
    Thanks!

    Sander,
    The timeouts are controlled by profile parameter settings for the ICM.  You can use the parameters listed below to control these settings.
    icm/keep_alive_timeout - seconds
    icm/conn_timeout - msec
    icm/max_timeout_net - msec
    icm/min_timeout_mpi - msec
    rdisp/plugin_auto_logout - seconds
    I would strongly recommend however that you SGEN your entire system before using the new CRM webclient.  You still can time out even with the parameters above set to generous values.
    Take care,
    Stephen

  • Daughter IPOD Touch 4th lost all music from itunes, Itunes suggested to restore to factory settings. Have done so last few days, all showing 20 hours to restore then times out and starts back to 20 hours again. Will not sync at all. HELP

    IPOD TOUCH(4th gen) MUSIC DISPLAY has wiped out all my music. The music I have is all still on ITUNES but will NOT SYNC. When attempted a displayes message appeared- Cannot read contents of IPOD (my IPOD name), go to Summary tab to Restore to factory settings. When I click OK it takes me to a CLICK on RESTORE OPTION, which I did. Then it explains that I will lose all APPS, etc.. to restore. I clicked OK again and it shows my IPOD is Downloading Software Update. The only thing being it has done this for 3 days now. It starts by stating will take 20 hours, goes down to 12 or 10 and prompts OUT and when I redo the thing again it starts back up at 20 hours but continually times out. *Also, in case it matters ,the SYNC option on my IPOD in ITUNES is Highlighted as to where I cannot use that option. Everytime I start it back up I get the same message (Cannot read contents of IPOD, go to Summary Tab,etc..) Help.

    http://support.apple.com/kb/HT1808
    There have been some problems accessing pages on the Apple web site.  If the hyperlink gives you a "We're sorry" message, try again.
    Please do not post with large italic font.  It is very annoyint.

  • Locked down computer (means I cannot see network settings) allows IE6 but Firefox always times out.

    The tech guys have locked down the computer and I cannot see the network settings and have no access to the registry. Firefox always times out so I am forced to use IE6. How to set up Firefox to get round this?

    Presumably, you're talking about your company's administrator. It probably wouldn't be wise to try and circumvent their network policy. It might get you fired even.
    A better idea would be to show them how insecure IE6 is - ''it's no longer supported by Microsoft for example and exposes their network to all kinds of attacks'' - and that it's in their own interests to use a secure browser like Firefox 4.0
    Maybe they'll even promote you!

  • New email settings causing time outs or not working

    So they send me a notice to change my email settings as soon as possible in which I did as instructed. It ether just runs, hangs or times out. I hate to call these people and talk to "John" or "Jane" -sigh-.   Any ideas?
    Thanks!
    Solved!
    Go to Solution.

    Disregard I had some firewall issues.... solved!

  • 'Vintage' MacBook has lost all wifi connection suddenly and stored settings. I've tried to manually input my IP address and DNS number but it just times out when trying to connect to the network can anyone help?

    'Vintage' MacBook has lost all wifi connection suddenly and stored settings. I've tried to manually input my IP address and DNS number but it just times out when trying to connect to the network can anyone help?

    You said:
    We still couldn't get it to stop timing out. I tried to download the firmware from iClarified but iTunes said it didn't recognise the software.
    Just what did yo do to gt iTunes to see the download:

  • How do I change the settings so my computer doesn't time-out so quickly when I'm trying to send an e-mail and the internet's a bit slow?

    I tried sending a smaller picture (about 300 kb) to some of my family members and before it got to them the computer timed out (very quickly, I might add) so it wouldn't send. We have fairly slow internet speed at times and when I was using XP, under tools there was a feature to increase the time so the computer didn't time out as fast. I had it set at about two minutes. I can't seem to find the same feature under tools in Windows8. I'd really like to be able to address this problem. Thanks for your help.
    Pat Spelrem

    You could adjust the mailnews.tcptimeout preference, as explained in the 2nd point in [http://kb.mozillazine.org/Can_not_send_large_attachments this article]. Also, make sure there's no security program scanning outgoing mail attachments.

Maybe you are looking for