Procedure execution is timing out

Hi,
When executing the following procedure, it is timing out.
Any body help me out.
Regards,
SS.
CREATE OR REPLACE procedure get_allorder_details
FromDate                in varchar2,
ToDate               in varchar2,
LinesType               in varchar2,
ordernumber               out arr_varchar,
ordertype               out arr_varchar,
originatingsystem          out arr_varchar,
order_linenumber      out arr_varchar,
revisionnumber          out arr_varchar,
symphonycompletiondate     out arr_varchar,
oraclereceivedate      out arr_varchar,
oracleimportdate      out arr_varchar,
importstatus          out arr_varchar,
extended_price          out arr_varchar,
quantity               out arr_varchar,
modelnumber               out arr_varchar)
is
total               number;
err_num          number;
--LinesType            varchar2(8);
err_msg          VARCHAR2(800);
cursor allorderdetails is
select ordernbr, linenbr,revisionnbr,ordertype, originatingsystem, IMPORT_STATUS,
to_char(new_time(creation_date,'CDT','MST')+60/1440,'MM/DD/YYYY hh24:mi:ss') orderdate,to_char(extendedprice/100) extendeprice,qty,modelstring
from [email protected]_ORADBTST2.NA.EMERSONPROCESS.COM
where trunc(creation_date) between to_date(FromDate, 'MM/DD/YYYY')
and to_date(ToDate, 'MM/DD/YYYY')
and pluginid = 4
order by ordernbr asc,linenbr asc,revisionnbr asc;
cursor addorderdetails is
select ordernbr, linenbr,revisionnbr,ordertype, originatingsystem ,IMPORT_STATUS,
to_char(new_time(creation_date,'CDT','MST')+60/1440,'MM/DD/YYYY hh24:mi:ss') orderdate,to_char(extendedprice/100) extendeprice,qty,modelstring
from [email protected]_ORADBTST2.NA.EMERSONPROCESS.COM
where trunc(creation_date) between to_date(FromDate, 'MM/DD/YYYY')
and to_date(ToDate, 'MM/DD/YYYY')
and pluginid = 4
and revisionnbr=1
order by ordernbr asc,linenbr asc,revisionnbr asc;
cursor latestlines is
select fjl.ordernbr, fjl.linenbr, fjl.revisionnbr,fjl.ordertype, fjl.originatingsystem, fjl.IMPORT_STATUS,
to_char(new_time(fjl.creation_date,'CDT','MST')+60/1440,'MM/DD/YYYY hh24:mi:ss') orderdate,to_char(fjl.extendedprice/100) extendeprice,
fjl.qty,fjl.modelstring               
from [email protected]_ORADBTST2.NA.EMERSONPROCESS.COM fjl,               
     (select ordernbr, linenbr, max(revisionnbr) revnum          
     from [email protected]_ORADBTST2.NA.EMERSONPROCESS.COM          
     where pluginid = 4
     and trunc(creation_date) between to_date(FromDate, 'MM/DD/YYYY')
     and to_date(ToDate, 'MM/DD/YYYY')
     group by ordernbr, linenbr) plainlist
where fjl.ordernbr = plainlist.ordernbr     
and fjl.linenbr = plainlist.linenbr     
and fjl.revisionnbr = plainlist.revnum     
and trunc(creation_date) between to_date(FromDate, 'MM/DD/YYYY')     
and to_date(ToDate, 'MM/DD/YYYY')     
and fjl.pluginid = 4     
order by ordernbr asc, linenbr asc, revisionnbr asc;
cursor cancelorderdetails is
select ordernbr, linenbr,revisionnbr,ordertype, originatingsystem, IMPORT_STATUS,
to_char(new_time(creation_date,'CDT','MST')+60/1440,'MM/DD/YYYY hh24:mi:ss') orderdate,to_char(extendedprice/100) extendeprice,qty,modelstring
from [email protected]_ORADBTST2.NA.EMERSONPROCESS.COM
where trunc(creation_date) between to_date(FromDate, 'MM/DD/YYYY')
and to_date(ToDate, 'MM/DD/YYYY')
and pluginid = 4
and revisionnbr > 1
order by ordernbr asc,linenbr asc,revisionnbr asc;
alllinescounter allorderdetails%ROWTYPE;
addlinescounter addorderdetails%ROWTYPE;
latestlinescounter latestlines%ROWTYPE;
cancellinescounter cancelorderdetails%ROWTYPE;
begin
--LinesType := 'ADD';
ordernumber          := arr_varchar();
ordertype          := arr_varchar();
originatingsystem     := arr_varchar();
order_linenumber := arr_varchar();
symphonycompletiondate := arr_varchar();
oraclereceivedate := arr_varchar();
oracleimportdate := arr_varchar();
importstatus     := arr_varchar();
extended_price     := arr_varchar();
quantity          := arr_varchar();
modelnumber          := arr_varchar();
revisionnumber     := arr_varchar();
total               := 0;               
-- Fetch up to "batch_size" rows into PL/SQL table,
IF UPPER(LinesType) = 'ALL' then
--DBMS_OUTPUT.PUT_LINE(' Exception occured ' );
FOR alllinescounter IN allorderdetails
LOOP
total := total + 1;
     BEGIN
     ordernumber.extend(1);     
     order_linenumber.extend(1);
     ordertype.extend(1);
     originatingsystem.extend(1);
     revisionnumber.extend(1);
     oracleimportdate.extend(1);
     importstatus.extend(1);
     extended_price.extend(1);
     quantity.extend(1);
     modelnumber.extend(1);     
     ordernumber(total) := alllinescounter.ORDERNBR;
     order_linenumber(total) := alllinescounter.LINENBR;
     ordertype(total) := alllinescounter.ORDERTYPE;
     originatingsystem(total) := alllinescounter.ORIGINATINGSYSTEM;
     oracleimportdate(total) := alllinescounter.orderdate;
     importstatus(total) := alllinescounter.IMPORT_STATUS;
     extended_price(total) := alllinescounter.extendeprice;
     quantity(total) := alllinescounter.qty;
     revisionnumber(total) := alllinescounter.revisionnbr;
     modelnumber(total) := alllinescounter.modelstring;
     EXCEPTION WHEN OTHERS THEN
          err_num := SQLCODE;     
     --     DBMS_OUTPUT.PUT_LINE(' Exception occured ' || err_num);     
     END;
     BEGIN
          symphonycompletiondate.extend(1);
          SELECT TO_CHAR(new_time(file_ts(FILENAME),'CDT','MST')+60/1440,'MM/DD/YYYY hh24:mi:ss') symphonycompletiondate
          into symphonycompletiondate(total)
          FROM XML1_XACTS
          WHERE
          DIVISION = '4' AND
          ordernbr = ordernumber(total) and ordertype = ordertype(total)
          and LINENBR = order_linenumber(total)
          and revisionnbr= revisionnumber(total);          
     EXCEPTION WHEN OTHERS THEN
          symphonycompletiondate(total) := 'NULL';               
     END;
     BEGIN
          oraclereceivedate.extend(1);
          SELECT TO_CHAR(new_time(file_ts(FILENAME),'CDT','MST')+60/1440,'MM/DD/YYYY hh24:mi:ss') oraclereceiveddate
          into oraclereceivedate(total)
          FROM XML14_XACTS
          WHERE
          upper(systemname) = 'MFG203' AND
          ordernbr = ordernumber(total)
          and LINENBR = order_linenumber(total)
          and revisionnbr= revisionnumber(total);          
     EXCEPTION WHEN OTHERS THEN
          oraclereceivedate(total) := 'NULL';               
     END;     
END LOOP;
elsif UPPER(LinesType) = 'ADD' then
FOR addlinescounter IN addorderdetails
LOOP
total := total + 1;
     BEGIN
     ordernumber.extend(1);     
     order_linenumber.extend(1);
     ordertype.extend(1);
originatingsystem.extend(1);
     oracleimportdate.extend(1);
     importstatus.extend(1);
     extended_price.extend(1);
     quantity.extend(1);
     modelnumber.extend(1);
     revisionnumber.extend(1);
     ordernumber(total) := addlinescounter.ORDERNBR;
     order_linenumber(total) := addlinescounter.LINENBR;
     ordertype(total) := addlinescounter.ORDERTYPE;
     originatingsystem(total) := addlinescounter.ORIGINATINGSYSTEM;
     oracleimportdate(total) := addlinescounter.orderdate;
     importstatus(total) := addlinescounter.IMPORT_STATUS;
     extended_price(total) := addlinescounter.extendeprice;
     quantity(total) := addlinescounter.qty;
     revisionnumber(total) := addlinescounter.revisionnbr;
     modelnumber(total) := addlinescounter.modelstring;
     EXCEPTION WHEN OTHERS THEN
          err_num := SQLCODE;     
     --     DBMS_OUTPUT.PUT_LINE(' Exception occured ' || err_num);     
     END;
     BEGIN
          symphonycompletiondate.extend(1);
          SELECT TO_CHAR(new_time(file_ts(FILENAME),'CDT','MST')+60/1440,'MM/DD/YYYY hh24:mi:ss') symphonycompletiondate
          into symphonycompletiondate(total)
          FROM XML1_XACTS
          WHERE
          DIVISION = '4' AND
          revisionnbr =1 and
          ordernbr = ordernumber(total) and ordertype = ordertype(total)
          and LINENBR = order_linenumber(total);
     EXCEPTION WHEN OTHERS THEN
          symphonycompletiondate(total) := 'NULL';               
     END;
     BEGIN
          oraclereceivedate.extend(1);
          SELECT TO_CHAR(new_time(file_ts(FILENAME),'CDT','MST')+60/1440,'MM/DD/YYYY hh24:mi:ss') oraclereceiveddate
          into oraclereceivedate(total)
          FROM XML14_XACTS
          WHERE
          upper(systemname) = 'MFG203' AND
          ordernbr = ordernumber(total) and
          revisionnbr =1 and
          LINENBR = order_linenumber(total);          
     EXCEPTION WHEN OTHERS THEN
          oraclereceivedate(total) := 'NULL';               
     END;     
END LOOP;
elsif UPPER(LinesType) = 'NET' then
DBMS_OUTPUT.PUT_LINE(' Exception occured ' );
FOR latestlinescounter IN latestlines
LOOP
total := total + 1;
     BEGIN
     ordernumber.extend(1);     
     order_linenumber.extend(1);
     ordertype.extend(1);
     originatingsystem.extend(1);
     oracleimportdate.extend(1);
     importstatus.extend(1);
     extended_price.extend(1);
     quantity.extend(1);
     modelnumber.extend(1);
     revisionnumber.extend(1);
     ordernumber(total) := latestlinescounter.ORDERNBR;
     order_linenumber(total) := latestlinescounter.LINENBR;
     ordertype(total) := latestlinescounter.ORDERTYPE;
     originatingsystem(total) := latestlinescounter.ORIGINATINGSYSTEM;
     oracleimportdate(total) := latestlinescounter.orderdate;
     importstatus(total) := latestlinescounter.IMPORT_STATUS;
     extended_price(total) := latestlinescounter.extendeprice;
     quantity(total) := latestlinescounter.qty;
     revisionnumber(total) := latestlinescounter.revisionnbr;
     modelnumber(total) := latestlinescounter.modelstring;
     EXCEPTION WHEN OTHERS THEN
          err_num := SQLCODE;     
     --     DBMS_OUTPUT.PUT_LINE(' Exception occured ' || err_num);     
     END;
     BEGIN
          symphonycompletiondate.extend(1);
          SELECT TO_CHAR(new_time(file_ts(FILENAME),'CDT','MST')+60/1440,'MM/DD/YYYY hh24:mi:ss') symphonycompletiondate
          into symphonycompletiondate(total)
          FROM XML1_XACTS
          WHERE
          DIVISION = '4' AND
          ordernbr = ordernumber(total) and ordertype = ordertype(total)
          and LINENBR = order_linenumber(total)
          and revisionnbr= revisionnumber(total);
     EXCEPTION WHEN OTHERS THEN
          symphonycompletiondate(total) := 'NULL';               
     END;
     BEGIN
          oraclereceivedate.extend(1);
          SELECT TO_CHAR(new_time(file_ts(FILENAME),'CDT','MST')+60/1440,'MM/DD/YYYY hh24:mi:ss') oraclereceiveddate
          into oraclereceivedate(total)
          FROM XML14_XACTS
          WHERE
          upper(systemname) = 'MFG203' AND
          ordernbr = ordernumber(total)
          and LINENBR = order_linenumber(total)
          and revisionnbr= revisionnumber(total);
     EXCEPTION WHEN OTHERS THEN
          oraclereceivedate(total) := 'NULL';               
     END;     
END LOOP;
elsif UPPER(LinesType) = 'CHANGE' then
FOR cancellinescounter IN cancelorderdetails
LOOP
total := total + 1;
     BEGIN
     ordernumber.extend(1);     
     order_linenumber.extend(1);
     ordertype.extend(1);
     originatingsystem.extend(1);
     oracleimportdate.extend(1);
     importstatus.extend(1);
     extended_price.extend(1);
     quantity.extend(1);
     modelnumber.extend(1);
     revisionnumber.extend(1);
     ordernumber(total) := cancellinescounter.ORDERNBR;
     order_linenumber(total) := cancellinescounter.LINENBR;
     ordertype(total) := cancellinescounter.ORDERTYPE;
     originatingsystem(total) := cancellinescounter.ORIGINATINGSYSTEM;
     oracleimportdate(total) := cancellinescounter.orderdate;
     importstatus(total) := cancellinescounter.IMPORT_STATUS;
     extended_price(total) := cancellinescounter.extendeprice;
     quantity(total) := cancellinescounter.qty;
     revisionnumber(total) := cancellinescounter.revisionnbr;
     modelnumber(total) := cancellinescounter.modelstring;
     EXCEPTION WHEN OTHERS THEN
          err_num := SQLCODE;     
     --     DBMS_OUTPUT.PUT_LINE(' Exception occured ' || err_num);     
     END;
     BEGIN
          symphonycompletiondate.extend(1);
          SELECT TO_CHAR(new_time(file_ts(FILENAME),'CDT','MST')+60/1440,'MM/DD/YYYY hh24:mi:ss') symphonycompletiondate
          into symphonycompletiondate(total)
          FROM XML1_XACTS
          WHERE
          DIVISION = '4' AND
          revisionnbr = revisionnumber(total) and
          ordernbr = ordernumber(total) and ordertype = ordertype(total)
          and LINENBR = order_linenumber(total);
     EXCEPTION WHEN OTHERS THEN
          symphonycompletiondate(total) := 'NULL';               
     END;
     BEGIN
          oraclereceivedate.extend(1);
          SELECT TO_CHAR(new_time(file_ts(FILENAME),'CDT','MST')+60/1440,'MM/DD/YYYY hh24:mi:ss') oraclereceiveddate
          into oraclereceivedate(total)
          FROM XML14_XACTS
          WHERE
          upper(systemname) = 'MFG203' AND
          ordernbr = ordernumber(total) and
          revisionnbr =revisionnumber(total) and
          LINENBR = order_linenumber(total);          
     EXCEPTION WHEN OTHERS THEN
          oraclereceivedate(total) := 'NULL';               
     END;     
END LOOP;
end if;      
exception
when others then
err_num := SQLCODE;
err_msg := '[GET_ORDER_DETAILS] procedure failed'||
chr(13)||chr(10)||
'With error: '||chr(13)||chr(10)||substr(SQLERRM,1,450);
end;
/

PLSQL debugging is a feature of SQLDeveloper (free download from Oracle), you could step through your procedure and see what takes the time, do an explain plan on the query say how many rows are in the tables... and report back.
Turloch

Similar Messages

  • SSIS 2012 Scheduled SSIS package fail to start – Execution timed out

    Hi
    I am currently running into an issue that seem to have a live Connect issue raised for it. The following is the link to the connect issue https://connect.microsoft.com/SQLServer/feedback/details/783291/ssis-package-fails-to-start-application-lock-timeout-in-ssisdb-catalog-create-execution
    There is also a blog post that explains this issue in more detail, however the solution
    it provides does not work all the time and I am very reluctant to create custom stored procedures in the SSISDB. http://speaksql.wordpress.com/2013/06/27/ssis-2012-fail-to-start-execution-timed-out/
    Just to give some more background. When scheduling 10 or more, in my case I scheduled 14, SQL Server Agent Jobs all executing a package in the SSIS Catalog and all kicking off on exactly the same time about 10% to 20% of these jobs fail stating one of the
    following error messages:
    The operation failed because the execution timed out.  Source: .Net SqlClient Data Provider  Started:  12:20:01  Finished: 12:20:07  Elapsed:  5.797 seconds.  The package execution failed.  The step failed.
    Description: Transaction (Process ID 66) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.  Source: .Net SqlClient Data Provider  Started:  14:06:48  Finished: 14:06:53
     Elapsed:  4.719 seconds.  The package execution failed.  The step failed.
    This timeout takes place both when using TSQL to start the package in the Job or when the step in the Job is set to start the package as an Integration Services Package.
    Steps to recreate this:
    1. Create one SSIS package that simply executes for around a minute. For example you can use an Execute SQL Task and simply execute the following TSQL "WAITFOR DELAY '00:01:00'"
    2. Create 14 SQL Server Agent Jobs each executing the same package and schedule all of them to run at the same time.
    3. Watch the execution of the jobs take place and note the failures. (This does not always happen and you might get one run in which everything executes without a problem. The next run might have 6 or 7 of the jobs fail.)
    You can also create 14 different SSIS packages, one for each job, and the result is the same.
    I am running on SQL 2012 SP1 CU4. Windows Server 2012 R2 patched to the lastest patch level.
    This issue does not happen when the packages are deployed to the SSIS Package Store the way that it was done in SQL2008 and before. It only occurs when the SSIS packages are deployed to the SSIS Catalog.
    Any help or feedback on this would be greatly appreciated.
    Kind Regards,
    Christo Olivier

    Hi Tom
    Thank you for the fast response. I went and increased the value by 1024KB instead of the initial
    512KB. Unfortunately this seems to only alleviate the issue but does not stop it from occurring. It
    is happening much less often now but still occurring intermittently.
    Regards,
    Christo

  • Timed Out Error while waiting for response from DB Procedure

    Hi Gurus,
    We are encountering a problem in our production environment. The system is implemented using AIA foundation pack 2.5 on SOA suite 10.1.3.4.
    We have a BPEL process A which calls an ESB Service which inturn calls BPEL Process B. In process B, we have a DB procedure call which waits for a response from
    a DB procedure. The procedure doesn't reply on time and Process B remains in waiting state to get the response from DB Procedure wherein Process A errors out by showing as "Timed Out Error".
    This issue is intermittent and we have already increased transaction-time outs in transaction-manager.xml to 7200 and ejb-orion-jar.xml to 3600.
    When we encountered this problem, we found out that there are too many connections open and when we bounced the server, everything was restored to nornal but as it is a production env. we can't do it over and over again.
    We have 2 nodes each having max connections as 100 and min. as 0.
    Is there a limit to max no. of connections or can we do something in DB side to ensure that it doesn't happen again ?
    Please suggest.
    Thanks,
    Vikas Manchanda

    Hi Gurus,
    We are encountering a problem in our production environment. The system is implemented using AIA foundation pack 2.5 on SOA suite 10.1.3.4.
    We have a BPEL process A which calls an ESB Service which inturn calls BPEL Process B. In process B, we have a DB procedure call which waits for a response from
    a DB procedure. The procedure doesn't reply on time and Process B remains in waiting state to get the response from DB Procedure wherein Process A errors out by showing as "Timed Out Error".
    This issue is intermittent and we have already increased transaction-time outs in transaction-manager.xml to 7200 and ejb-orion-jar.xml to 3600.
    When we encountered this problem, we found out that there are too many connections open and when we bounced the server, everything was restored to nornal but as it is a production env. we can't do it over and over again.
    We have 2 nodes each having max connections as 100 and min. as 0.
    Is there a limit to max no. of connections or can we do something in DB side to ensure that it doesn't happen again ?
    Please suggest.
    Thanks,
    Vikas Manchanda

  • Connection timed out when running snpsftp (Odisftp) jython procedure

    Hi All,
    Let me know the solution if any one of you have come across the "Connection Timed Out" error when running a jython snpsftp (Odisftp) procedure to exchange/import the files on a FTP server to the local system (Target Server).
    This procedure was working fine until the IP Address of the Target Server was changed due to change to physical location of the Target server itself.
    Since we are moving office to a different building the Target server which hosts the ODI Agent running as windows service are moved and since then the FTP Jython procedure is not working.
    I can successfully ping the IP Address of the FTP server from the Target server that has got the new IP, but when running the FTP procedure from ODI tool ends up with Connection Timed Out error.
    Thanks for providing some tips/ideas for resolving this urgent issue.
    Thanks,
    Raghu

    Please check the hosts file for the new IP,
    Also cehck the Agnet service login for wheter the user has the privledges to do a FTP access to the server or also connect to the server
    Reshma

  • Procedure timed out?

    We currently have a procedure that pulls data from other databaselink. This procedure takes quite a long time (2 hours+) to process and dump the data into one table. The user gets the browser timed out. Here are my questions:
    •     What happens to the current procedure processing if the browser timed out or closed? Is it still running or it drops right after the browser closed?
    •     Is there a way to know if the proc is still running?
    •     If that process is running, is there a way we can kill it? By command line?
    Your help is truly appreciated.
    le9569

    What happens to the current procedure processing if the browser timed out or closed? Is it still running or it drops >right after the browser closed?The session at the database will automatically close after a certain period of time, cause the database doesn't get a response from the client anymore. changes made to the database will be rolled back. This also terminates the session in the database server.
    Is there a way to know if the proc is still running?check v$session
    If that process is running, is there a way we can kill it? By command line?connect to the database,
    alter system kill session 'sid,serial#' immediately.
    identify the sid and serial# from v$session and make sure that you're killing the right session.
    HTH
    Anantha

  • Test Publication - Command Execution Failed! Command Timed Out!

    Hello All,
    While testing my publication I get the following error
    Command Execution Failed! Command Timed Out!I've tried everyform for the Mobile Server URL : dns, ip, hostname and nothing seems to work.
    Thanks in advance for some advise.
    Jan

    Hello ,
    Client is remote. But I have an odd feeling that the problem is some VPN. I just deployed the publication, ran msync and it automatically grabbed the publication and all the items and I ran a test and all the data is in sync.
    This might be related to VPN. I will test by creating a local client.
    Thanks for the heads and advise. I consider this a resolved issue.
    Jan

  • Request timed out because there has been no reply from the server in 600000

    Issue:
    Request timed out because there has been no reply from the server in 600000
    Scenario:
    1. All the crystal reports are designed by using Crystal Report 2008 Version -- 12.3.0.601
    2. All reports are uploaded to CMC (SAP Business Objects Enterprise XI, Product: 12.1.0)
    3. using Front-End .net Winform
    4. Crystal Report is binding is done using Business View Manager (since having more than one databases)
    5. Business View Manager Connects to Oracle using "Oracle Server" connection
    6. Loading reports as follows
    string queryString = string.Empty;
    SessionMgr sessionMgr = new SessionMgr();
    EnterpriseSession enterpriseSession = sessionMgr.Logon(userName, userPassword, serverName, authType);
    EnterpriseService enterpriseService = enterpriseSession.GetService("InfoStore");
    InfoStore infoStore = new InfoStore(enterpriseService);
    enterpriseService = enterpriseSession.GetService("PSReportFactory");
    Object psrfObject = enterpriseService.Interface;
    PSReportFactory psReportFactory = (PSReportFactory)psrfObject;
    queryString = "Select SI_CUID, SI_ID, SI_NAME, SI_PARENTID From CI_INFOOBJECTS " + "Where SI_PROGID='CrystalEnterprise.Report' " + "And SI_ID=" + ReportId;
    InfoObjects infoObjects = infoStore.Query(queryString);
    InfoObject infoObject = infoObjects[1];
    ReportDocument crDoc = new ReportDocument();
    crDoc.Load(infoObject, enterpriseSession);
    7. All the reports are getting loaded properly and i am able to dynamically set the report parameters
    8. After executing report, some of the reports take more than 10 minutes, due to which shows following error
    Request timed out because there has been no reply from the server in 600000
    Note i have done following:
    1. I have checked stored procedure running through oracle for more than 10 minutes (1 hr, 2 hrs)
    2. Tried simply running crystal report without front-end running perfectly more than 10 minutes (1 hr, 2 hr)
    3. When i run .net winform application for specific reports which takes long time, gives "Request timed out because there has been no reply from the server in 600000"
    Also i have done lot much R&D and spent almost weeks to get resolution but not getting any solution out of it, please help me in this case
    HKEY_LOCAL_MACHINESOFTWAREBusiness ObjectsSuite 12.0Report Application ServerClient SDKCorbaAdapterWaitReplyTimeout = 600000 and HKEY_LOCAL_MACHINESOFTWAREBusiness ObjectsSuite 12.0Report Application ServerInprocServerEnterpriseRequ
    AS per following URL
    Session timeout
    1. Log into Central Management Console
    2. Go to server,right click on Crystal report processing server and select properties,change the idle connection time out to 60 minutes
    3. Also right click on crystal report cache server and select properties ,change the idle connection time out to 60 minutes
    4. Restart Crystal Report Processing Server and Crystal Report Cache Server
    5. Change the session time out to 60 minutes in web.xml of INfoviewApp,InfoViewAppAction,PlatformSerivces and CrystalReports.
    6. Navigate to the following location
    <BO Install Dir>Business ObjectsTomcat55webappsInfoViewAppWEB-INF
    7. Edit the web.xml in notepad and search for the below lines.
    <session-config>
    <session-timeout>20</session-timeout> <!-- 20 minutes for session objects -->
    </session-config>
    8. Increase the Session-Timeout parameter to 20 to 60 minutes in web.xml . Save this file
    9. Repeat the same for the web.xml file in the InfoViewAppActions folder in <BO Install Dir>Business ObjectsTomcat55webappsInfoViewAppActionsWEB-INF
    10. Repeat the same for the web.xml file in the PlatformSerivces folder in <BO Install Dir>Business ObjectsTomcat55webappsPlatformSerivcesWEB-INF
    11. Repeat the same for the web.xml file in the CrystalReports folder in <BO Install Dir>Business ObjectsTomcat55webappsInfoViewAppActionsWEB-INF
    12. Restart the tomcat server
    Still i am getting same error, please help me, if you have any idea, clue with respect to this error on winform

    This error is specific to RAS. The default CORBA request timeout is 10 minute = 600000 ms. When the RAS SDK does not get the reponse back from RAS server in 600000 ms it throws this message. Why it works in InfoView\CMC what I believe you refer to as "Front End' application is because InfoView\ CMC don't use RAS.
    1. First make sure that a smaller report wich runs pretty fast ( 1-2 min) works. This will confirm that there is no connectivitiy issues between RAS and RAS SDK.
    2. If you get the efrror for every single report, even the smaller ones, make sure the box running RAS and RAS SDK code( in case they are 2 different) can ping each other with IP, shortname and FQDN. If there is a firewall between them, the RAS port needs to be opened for bidirectional communication. By default RAS chooses a random port for communication with SDK but within CMC you can configure it to use a specific port and open it.
    3. If the issue is specific only to reports that are long running, typically more than 10 minutes, then you need to inclease the CORBA timeout to a value more than what the reports typically would take to process. This is done on client code side or IIS in this case.
    Here are the steps:
    Make the following changes on the application server/system.
    Open RegEdit by going to Start > Run and typing in regedit.exe. Then click Ok.
    Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Report Application Server\Client SDK\CorbaAdapter
    Change the value of SendRequestTimeout(ms) to 100000.
    Change the value of WaitReplyTimeout(ms) to 6,000,000 ms. The default value is 600,000 ms and may not be long enough.
    Restart IIS by going to Start > Run and typing in iisreset. Then click Ok.
    Retry the failing application.
    See note:  1296656
    This error should be easy to fix
    Edited by: Aasavari Bhave on Feb 2, 2012 11:20 AM

  • SSRS report- Request timed out error displaying when running.

    I have a parameter which with other date ranges work but where the parameter for datetime is from 4/1/2013 to 5/1/2013 it brings this error:
    Server Error in '/' Application.
    Request timed out.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception Details: System.Web.HttpException: Request timed out.
    Source Error: 
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace: 
    [HttpException (0x80004005): Request timed out.]
    How can I be able to determine the cause of this because the sql mgmt studio brings in the data really well at 15 seconds with hundreds of rows?
    I am not trying to lessen the time for getting this data which one thing would be to reduce the amount of fields needed to lower reaction time for retrieving the data. I am just wondering why is it giving me this and what plans can I do to avoid these errors
    from happening again?

    Hi Elvin,
    The issue might be related to the executionTimeout setting of the Web application. If you view the report in the report manager, please use the following steps to modify the web.config file:
    Navigate to <Drive>:\Program Files\Microsoft SQL Server\MSRSX.<InstanceName>\Reporting Services\ReportManager, back up and then open the web.config file.
    Search for httpRuntime.
    Add maxRequestLength="100000" to the line of code, and reset the executionTimeout value so that the line looks like this:
    <httpRuntime maxRequestLength="100000" executionTimeout="90000" />
    If you view the reports on a SharePoint site, please modify the web.config file of the SharePoint Web application. For example, if the SharePoint Web application uses 80 port, then its web.config file is located in the C:\inetpub\wwwroot\wss\VirtualDirectories\80
    folder.
    Hope this helps.
    Regards,
    Mike Yin
    TechNet Community Support

  • Listener overloaded or High load .?..ORA-12535: TNS:operation timed out

    We have an OLTP db server with oracle 11g(11.1.0.7) installed on Linux 64bit OS.
    Client : Dotnet application running on win2003 server
    oracle client version on webServer 9.2.0.4
    Work load on system is
    Avg Executions Per Sec 1273.35
    Avg Executions Per Txn 42.1
    Avg Response Time Per Txn (secs) .13
    Avg User Transaction Per Sec 30.4
    Avg Concurrent Sessions on server 350 processes 600
    memory_target 13gb
    we are experiencing "ORA-12535: TNS:operation timed out" while users access the application from webserver.per day around 200 errors.
    To get rid of the above error we set SQLNET.INBOUND_CONNECT_TIMEOUT=0 in server side sqlnet.ora and
    in Listener.ora inbound_connect_timeout=120 but of no use, even we observed for few days with inbound_connect_timeout=0.
    There is Only one listener configured on server.
    The similar set up with lesser workload working fine without any errors.
    Please let me know your thoughts....
    --Pandey
    Edited by: user12204025 on Feb 10, 2010 8:14 AM
    Edited by: user12204025 on Feb 12, 2010 2:52 PM

    But I am seeing this errors in listener alert file.
    <msg time='2010-02-15T15:55:37.734-06:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='hostname.domainname'
    host_addr='127.0.0.1'>
    <txt>15-FEB-2010 15:55:37 * 12502
    </txt>
    </msg>
    <msg time='2010-02-15T15:55:37.734-06:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='hostname.domainname'
    host_addr='127.0.0.1'>
    <txt>TNS-12502: TNS:listener received no CONNECT_DATA from client
    </txt>
    </msg>
    and in alert log file below entry...
    Fatal NI connect error 12170.
    VERSION INFORMATION:
    TNS for Linux: Version 11.1.0.7.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    Time: 15-FEB-2010 02:46:21
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12535
    TNS-12535: TNS:operation timed out
    ns secondary err code: 12560
    nt main err code: 505
    TNS-00505: Operation timed out
    nt secondary err code: 110
    nt OS err code: 0
    Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=gatewayip)(PORT=4804))
    please let me know your thoughts.....

  • JZ0T3: Read operation timed out

    Hi! I'm trying to solve this problem for a while and actually I couldnt find the cause of the problem.
    For some reason, deep inside the code of my application that error happends when I execute some inserts on the same Sybase table (they could be performed concurrently). I said "deep inside the code" since if I test a similar code, but outside the application (that is, just executing the inserts in a stand alone java main) the problem can't be reproduced.
    The connection is obtained normally as follows:
    try {
    Class.forName("com.sybase.jdbc2.jdbc.SybDriver");
    }catch (ClassNotFoundException e) {
    System.out.println("Oops!");
    Connection conn = DriverManager.getConnection(url,user,psw);
    conn.setAutoCommit(true);
    The driver been used is jconnect 4.5
    Then, several inserts are performed:
    String exampleQuery = "INSERT INTO SampleTable (id) VALUES ("1")\nSELECT @@IDENTITY";
    PreparedStatement stmt = conn.prepareStatement(exampleQuery);
    ResultSet rs = stmt.executeQuery();
    if (rs.next())
    System.out.println(rs.getInt(1));
    Some of the query executions raise the following exception:
    java.sql.SQLException: JZ006: Caught IOException: java.io.IOException: JZ0T3: Read operation timed out.
         at com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:485)
         at com.sybase.jdbc2.tds.Tds.handleIOE(Tds.java:2961)
         at com.sybase.jdbc2.tds.Tds.nextResult(Tds.java:1796)
         at com.sybase.jdbc2.jdbc.ResultGetter.nextResult(ResultGetter.java:69)
         at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:201)
         at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:182)
         at com.sybase.jdbc2.jdbc.SybStatement.queryLoop(SybStatement.java:1455)
         at com.sybase.jdbc2.jdbc.SybStatement.executeQuery(SybStatement.java:1440)
         at com.sybase.jdbc2.jdbc.SybPreparedStatement.executeQuery(SybPreparedStatement.java:70)
    I've just found a workarround to solve this problem: synchronizing the execution of the query. That seems to avoid concurrent insertion.
    The funny thing is: when I extract the code from the application and execute it in a stand alone java main, even stressing with multiple threads executing batch inserts in a for clause, the problem NEVER happends.
    Any tip is welcome since I actually don't know what to do. Thanks a lot, I hope anyone replies!!
    Bye!

    Hi Sean,
    I informed the senior developer and she said she has emailed the Oracle regarding this issue. We are developing a website for a company who has purchased the Oracle CRM on demand. Is it mandatory for every one to create a service request? You can email me at [email protected] and I will contact you directly.
    Thanks
    Jay

  • UTL_HTTP & ORA-12535: TNS:operation timed out

    Hi ,
    I have written the following piece of code to validate if the Web Service is accessible using UTL_HTTP. If I schedule this procedure from Unix (as a cron job) OR try the modified version through Oracle Portal
    I get intermittent Timeout errors (Exception - -12535-ORA-12535: TNS:operation timed out).
    However if I schedule the same package as a dbms_job it always seems to work fine.
    Does anyone have any idea as to what/where the problem could be?
    create or replace procedure abc
    as
    v_ret varchar2(4000);
    begin
    SELECT UTL_HTTP.Request('https://some_external_url', NULL,'correct_wallet_path', 'correct_wallet_password') into v_ret FROM dual;
    end;
    Edited by: ricky90897 on Oct 9, 2008 5:37 AM

    It looks like you won't be able to test web service calls on apex.oracle.com. see this WebService on apex.oracle.com
    Edited by: tfa on Mar 18, 2013 9:59 AM

  • Connection Timed Out while using sqldeveloper Debugger

    I am using sqsldeveloper version Version 1.5.1
    I am not able to debug my procedure test_proc in sqldeveloper.
    I am using sqldeveloper over a VPN network.
    I also use the option Tools->Preferences->Debugger->Prompt for Debugger Host for Database Debugging
    Debug Port Range: Min: 4000 Max:9000
    I have also disabled the firewall .
    I am getting the the error operation timed out on calling
    DBMS_DEBUG_JDWP.CONNECT_TCP procedure.
    I am using the correct IP address '61.17.78.93'..
    Please help
    Error starting at line 1 in command:
    CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '61.17.78.93', '4000' )
    Error report:
    SQL Error: ORA-30683: failure establishing connection to debugger
    ORA-12535: TNS:operation timed out
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    30683. 00000 - "failure establishing connection to debugger"
    *Cause:    An error was indicated when trying to establish a connection
    to a debugger. Usually a TNS error will display along with
    this message to further explain the problem, although this
    TNS error will likely be hidden if you choose to trap the error.
    *Action:   Correct the indicated parameter value and try again.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Here are the exact details of the error;
    Connecting to the database SPTRCTE1.world_confirmation_cte1.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '61.17.78.93', '4000' )
    ORA-30683: failure establishing connection to debugger
    ORA-12535: TNS:operation timed out
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    Process exited.
    Disconnecting from the database SPTRCTE1.world_confirmation_cte1.

  • BPM CE 7.2 Get Timed Out calling RFC

    Hi experts
    I am new in BPM with RFC on CE 7.2
    I have created a simple process with Message Start, Message End and an Automated Activity that executes a RFC, but when I perform this process its get time out, log:
    Dynamic client generated from wsdl. WSDL: http://10.1.5.47:50000/bpm/demosapcom/testes/TesteTrigger3?wsdl. The server response timed out.
    Error details: Read timed out
    I am using WebServices Navigator to perform the process, is there another way to do that ? Performing the process like this I can´t debug it.

    Tks Arafat Farooqui
    I have found the log and now I am looking for the way to solve exception below:
    I also try to configure the Destination on "Application Communication: Configuration" because there is a message "No destination selected" but the buttons "Configure" and "Remove Configuration" are disabled, what should I do to enable these buttons ?
    Could not read the destination from ESB Configuration
    [EXCEPTION]
    com.sap.engine.interfaces.sca.config.exception.ESBConfigurationException: Configuration not found for application: demo.sap.com/testes,composite:testes,component:demo.sap.comtestesBPMcomponent,reference:5658e8ab-607d-4ca9-acc0-dfa8964e40d9,bindingType:RFC
    at com.sap.esi.esp.service.server.ESPServiceInterfaceImpl.getConfiguration(ESPServiceInterfaceImpl.java:357)
    at com.sap.sdo.das.jco.JCoInvoker.accept(JCoInvoker.java:157)
    at com.sap.engine.services.sca.plugins.jco.JCoImplementationInstance.accept(JCoImplementationInstance.java:63)
    at com.sap.engine.services.sca.das.SCADASImpl.invokeReference(SCADASImpl.java:335)
    at com.sap.glx.adapter.app.ucon.SCADASWrapperImpl.invoke(SCADASWrapperImpl.java:117)
    at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallObject.invokeWebServiceOperation(UnifiedWebServiceCallObject.java:100)
    at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallClass.invoke(UnifiedWebServiceCallClass.java:174)
    at com.sap.glx.core.dock.impl.DockObjectImpl.invokeMethod(DockObjectImpl.java:530)
    at com.sap.glx.core.kernel.trigger.config.Script$MethodInvocation.execute(Script.java:245)
    at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:791)
    at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:63)
    at com.sap.glx.core.kernel.execution.transition.Transition.commence(Transition.java:138)
    at com.sap.glx.core.kernel.execution.LeaderWorkerPool$Follower.run(LeaderWorkerPool.java:127)
    at com.sap.glx.core.resource.impl.common.WorkWrapper.run(WorkWrapper.java:58)
    at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator$1.run(ServiceUserManager.java:124)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:337)
    at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator.run(ServiceUserManager.java:121)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:182)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:299)
    Caused by: com.sap.esi.esp.lib.mm.config.exceptions.ObjectNotExistsException: Configuration not found for application: demo.sap.com/testes,composite:testes,component:demo.sap.comtestesBPMcomponent,reference:5658e8ab-607d-4ca9-acc0-dfa8964e40d9,bindingType:RFC
    at com.sap.esi.esp.service.server.esb.ConnectivityConfigurationManagerImpl.readConfiguration(ConnectivityConfigurationManagerImpl.java:276)
    at com.sap.esi.esp.service.server.ESPServiceInterfaceImpl.getConfiguration(ESPServiceInterfaceImpl.java:350)
    ... 21 more
    Caused by: com.sap.esi.esp.lib.mm.config.exceptions.ObjectNotExistsException: Configuration not found for application: demo.sap.com/testes,serviceRefId:testes_demo.sap.comtestesBPMcomponent_5658e8ab-607d-4ca9-acc0-dfa8964e40d9_RFC. Please check the configuration details from the NWA. You may have not assigned the Service Group to a Provider System, or the generation of the configuration has failed.
    at com.sap.esi.esp.service.server.esb.ConnectivityConfigurationManagerImpl.readConfiguration(ConnectivityConfigurationManagerImpl.java:334)
    at com.sap.esi.esp.service.server.esb.ConnectivityConfigurationManagerImpl.readConfiguration(ConnectivityConfigurationManagerImpl.java:263)
    ... 22 more
    Exception during JCo plugin processing 
    [EXCEPTION]
    com.sap.engine.interfaces.sca.spi.PluginException: Could not read the destination from ESB Configuration: com.sap.engine.interfaces.sca.config.exception.ESBConfigurationException: Configuration not found for application: demo.sap.com/testes,composite:testes,component:demo.sap.comtestesBPMcomponent,reference:5658e8ab-607d-4ca9-acc0-dfa8964e40d9,bindingType:RFC
    at com.sap.sdo.das.jco.JCoInvoker.accept(JCoInvoker.java:363)
    at com.sap.engine.services.sca.plugins.jco.JCoImplementationInstance.accept(JCoImplementationInstance.java:63)
    at com.sap.engine.services.sca.das.SCADASImpl.invokeReference(SCADASImpl.java:335)
    at com.sap.glx.adapter.app.ucon.SCADASWrapperImpl.invoke(SCADASWrapperImpl.java:117)
    at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallObject.invokeWebServiceOperation(UnifiedWebServiceCallObject.java:100)
    at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallClass.invoke(UnifiedWebServiceCallClass.java:174)
    at com.sap.glx.core.dock.impl.DockObjectImpl.invokeMethod(DockObjectImpl.java:530)
    at com.sap.glx.core.kernel.trigger.config.Script$MethodInvocation.execute(Script.java:245)
    at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:791)
    at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:63)
    at com.sap.glx.core.kernel.execution.transition.Transition.commence(Transition.java:138)
    at com.sap.glx.core.kernel.execution.LeaderWorkerPool$Follower.run(LeaderWorkerPool.java:127)
    at com.sap.glx.core.resource.impl.common.WorkWrapper.run(WorkWrapper.java:58)
    at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator$1.run(ServiceUserManager.java:124)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:337)
    at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator.run(ServiceUserManager.java:121)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:182)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:299)
    Error during SCA Processing 
    [EXCEPTION]
    com.sap.engine.interfaces.sca.spi.PluginException: Could not process message for operation ZNMM001 in JCO plugin module.
    at com.sap.sdo.das.jco.JCoInvoker.accept(JCoInvoker.java:369)
    at com.sap.engine.services.sca.plugins.jco.JCoImplementationInstance.accept(JCoImplementationInstance.java:63)
    at com.sap.engine.services.sca.das.SCADASImpl.invokeReference(SCADASImpl.java:335)
    at com.sap.glx.adapter.app.ucon.SCADASWrapperImpl.invoke(SCADASWrapperImpl.java:117)
    at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallObject.invokeWebServiceOperation(UnifiedWebServiceCallObject.java:100)
    at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallClass.invoke(UnifiedWebServiceCallClass.java:174)
    at com.sap.glx.core.dock.impl.DockObjectImpl.invokeMethod(DockObjectImpl.java:530)
    at com.sap.glx.core.kernel.trigger.config.Script$MethodInvocation.execute(Script.java:245)
    at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:791)
    at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:63)
    at com.sap.glx.core.kernel.execution.transition.Transition.commence(Transition.java:138)
    at com.sap.glx.core.kernel.execution.LeaderWorkerPool$Follower.run(LeaderWorkerPool.java:127)
    at com.sap.glx.core.resource.impl.common.WorkWrapper.run(WorkWrapper.java:58)
    at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator$1.run(ServiceUserManager.java:124)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:337)
    at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator.run(ServiceUserManager.java:121)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:182)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:299)
    Edited by: Lehcim on Aug 2, 2010 6:39 PM

  • HttpException (0x80004005): Request timed out at Windows Server 2012

    Dear All,
    I am using "Microsoft Interop Word dll for resume parsing. My functionality is working fine at my local machine. I have two server one is Windows 2008 and Windows 2012 server. I have deployed my code on both server. In Windows 2008 is working find and
    in windows 2012 giving exception like -
    "HttpException (0x80004005): Request timed out."
    When I debug my code at Windows 2012 server. Request going for infinite time and after some time its giving such types of error "HttpException (0x80004005): Request timed out."
    It is not able to execute this code of line and going for infinite time  -
    Microsoft.Office.Interop.Word.Application Application = new Microsoft.Office.Interop.Word.Application();

    Hello Vivek,
    Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office
    may exhibit unstable behavior and/or deadlock when Office is run in this environment.
    If you are building a solution that runs in a server-side context, you should try to use components that have been made safe for unattended execution. Or, you should try to find alternatives that allow at least part of the code to run client-side.
    If you use an Office application from a server-side solution, the application will lack many of the necessary capabilities to run successfully. Additionally, you will be taking risks with the stability of your overall solution.
    You can read more about that in the
    Considerations for server-side Automation of Office article.
    Consider using third-party components designed for the server-side execution instead.

  • Function and procedure execution

    hi all,
    i have question in procedure execution and function execution oracle database.
    i want know that which is faster in execution procedure or function.
    can i see the time taken by procedure and select query
    i want to see only time not cpu cost or anything else.
    i am waiting for your responses...

    There is no difference in cost between whether something is a function or a procedure.
    The decision making should reflect usage only. For example you can not use a procedure in SQL.
    If you wish to break things down further focus on 10046 and 10053 tracing.
    Seeing time only is roughly equivalent to cutting off all of your fingers to see how something feels to your thumb.
    Timing is only one very small part of what you should be watching.

Maybe you are looking for