Parameter for jdbc waiting time

I'm using wls5.1+sp10 on Solaris 8
I've configured 25 jdb connections in jdbc connection pool, but my
application will generate jdbc connection request more than that. All the
database calling are using CMP. I checked the document that we can configure
the waiting time for t3 driver. But I'm using Oracle OCI driver. Is there
any parameter I can tune to let the CMP to wait longer time to get the jdbc
connection? I found the default the value is 3 seconds which is too small
for me.
Thanks!

hi check the below link on JDBC adapter
http://help.sap.com/saphelp_nw70/helpdata/EN/96/791c42375d5033e10000000a155106/frameset.htm
https:/.../weblogs/sdn_weblogs_topics/pub/wlg/4183
recent enhancements to JDBC adapter
https:/.../weblogs/sdn_weblogs_topics/pub/wlg/1278
https:/.../weblogs/sdn_weblogs_topics/pub/wlg/4020
note:reward points if solution found helpfull.....
regards
chandrakanth.k

Similar Messages

  • IO Exception: Lock timeout exceeded for documents , wait time = 60014

    Hi,
    We are getting an error while uploading any document on portal in KM content area. The full error details as follows
    #D27E2001B003002500000D210005D0D20004520E6FF2B6FB#1216121868039#com.sapportals.wcm.repository.service.accessstatistic.AccessStatisticManager#sap.com/irj#com.sapportals.wcm.repository.service.accessstatistic.AccessStatisticManager#BMERRON#71986##<host name>_7664450#BMERRON#3f730c80526211ddb0fcd27e2001b003#SAPEngine_Application_Thread[impl:3]_4##0#0#Error##Plain###error while handling event - com.sapportals.wcm.WcmException: IO Exception: Lock timeout exceeded for <documents>, wait time = 60006
         at com.sapportals.wcm.repository.service.appproperties.PropertiesService.setProperty(PropertiesService.java:984)
         at com.sapportals.wcm.repository.service.appproperties.PropertiesService.setProperty(PropertiesService.java:1203)
         at com.sapportals.wcm.repository.service.appproperties.PropertiesManager.setProperty(PropertiesManager.java:176)
         at com.sapportals.wcm.repository.service.accessstatistic.AccessStatisticManager.updateLastReadDate(AccessStatisticManager.java:177)
         at com.sapportals.wcm.repository.service.accessstatistic.AccessStatisticManager.received(AccessStatisticManager.java:253)
         at com.sapportals.wcm.util.events.ReceiverEntry.doSend(ReceiverEntry.java:223)
         at com.sapportals.wcm.util.events.EventBroker.send(EventBroker.java:86)
         at com.sapportals.wcm.util.events.TransactionalEventBroker.send(TransactionalEventBroker.java:56)
         at com.sapportals.wcm.repository.manager.ResourceEventBroker.send(ResourceEventBroker.java:219)
         at com.sapportals.wcm.repository.manager.AbstractRepositoryManager.sendEvent(AbstractRepositoryManager.java:322)
         at com.sapportals.wcm.repository.RMAdapter.sendEvent(RMAdapter.java:342)
         at com.sapportals.wcm.repository.ResourceImpl.sendEvent(ResourceImpl.java:4206)
         at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:119)
         at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:132)
         at com.sapportals.wcm.service.xmlforms.transformation.ResourceDemultiplexer.getContentStream(ResourceDemultiplexer.java:71)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:209)
         at com.sapportals.wcm.app.xmlforms.PreviewServlet.sendForm(PreviewServlet.java:165)
         at com.sapportals.wcm.app.xmlforms.PreviewServlet.doGetAction(PreviewServlet.java:130)
         at com.sapportals.wcm.app.xmlforms.XFBaseServlet.doGet(XFBaseServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sapportals.wcm.app.xmlforms.XFBaseServlet.service(XFBaseServlet.java:134)
         at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:333)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
         at java.security.AccessController.doPrivileged(AccessController.java:242)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:215)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Any Help?
    Regards,
    Sree

    Hi sreedhar Gunda,
    Check whether the repositories are in active and running mode or not. If they are running fine. then check the authorization is sufficient from BASIS people.
    points if useful
    Thanks
    Suresh

  • What is normal range for CPU Wait time Per Dispatch on Hyper-V 2012

    Hello.
    I am trying to troubleshoot some performance issues with an application that utilizes sql server, which runs in a Hyper-V Guest.
    I have found that the ram, cpu, disk i/o all appear to be within normal range.
    Before troubleshooting the sql end of things, I wanted to make make sure the vm isn't waiting for cpu time.
    In Vmware, the metric for this is " CPU Ready". From what I can tell, the equivilant to this for Hyper-V on server 2012 is:
    Hyper-V Hypervisor Virtual processor\CPU Wait time per dispatch.
    I have fired this up and been monitoring it and found that the average is around 22,000, maximum 41,000.
    The problem is, I have no idea if this is a normal or acceptable range. I can't seem to find any further information on actually interpreting this data, as to what is acceptable and what will cause performance issues etc..
    Can anyone help enlighten me further on this?
    Thanks

    Hello.
    I am trying to troubleshoot some performance issues with an application that utilizes sql server, which runs in a Hyper-V Guest.
    I have found that the ram, cpu, disk i/o all appear to be within normal range.
    Before troubleshooting the sql end of things, I wanted to make make sure the vm isn't waiting for cpu time.
    In Vmware, the metric for this is " CPU Ready". From what I can tell, the equivilant to this for Hyper-V on server 2012 is:
    Hyper-V Hypervisor Virtual processor\CPU Wait time per dispatch.
    I have fired this up and been monitoring it and found that the average is around 22,000, maximum 41,000.
    The problem is, I have no idea if this is a normal or acceptable range. I can't seem to find any further information on actually interpreting this data, as to what is acceptable and what will cause performance issues etc..
    Can anyone help enlighten me further on this?
    Thanks
    Hi,
    Hyper-V reports this metric is in nano seconds. So, your average is around 22-41 ms (milliseconds). This is GOOD.
    Take this example:
    This would be comparable to vCenter VM CPU Ready graph which displays VM CPU Ready time in milliseconds. 
    Note #1: This measures each virtual core presented to an individual VM. This will be different if you're not using hyper-threading on the host 
    Note #2:  This is scaled to a factor of 0.001, so that the scale on the left is in milliseconds - which is commonly confused with a percentage scale, which is is NOT.
    Not to dismiss CPU issues, but generally the first place I look when troubleshooting SQL on a VM is storage access/speed/performance, regardless of what hypervisor is being used. I would verify best practices like putting databases on separate physical
    storage that ends up on separate spindles on the storage back end, same for logs, same for temp db, same for temp log,...
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable)

  • Parameter for Wait time

    Hi,
    Pelase tell me the parameter to be setup for Average wait time  in Rz10

    your question seems incorrect. What do you mean by Average wait time?? do you mean the related to workload? If yes, then the question does not make sense.
    Please be specific.
    Thanks,
    Ankur

  • Profile parameter for ENQUEUE

    The ENQUEUE function module also has the parameter _WAIT. This parameter determines the lock behavior when there is a Structure linklock conflict.
    You have the following options:
    ·  X: If a lock attempt fails because there is a competing lock, the lock attempt is repeated after waiting for a certain time. The exception FOREIGN_LOCK is triggered only if a certain time limit has elapsed since the first lock attempt. The waiting time and the time limit are defined by profile parameters.
    i want to know what  parameter define the wait time, thanks very much!

    Dear,
    Please look to the below link, especially "Creating lock objects and Example of lock objects"...
    http://help.sap.com/saphelp_46c/helpdata/en/cf/21eebf446011d189700000e8322d00/frameset.htm
    Regards,
    Sreenivas .Y

  • Sub-Millis​econd Wait Time

    Hello,
    Currently I am using Labview to control my shutter system in an experimental set up. The shutter takes a TTL signal to open/close, so currently I have the programming set up to send a 5 V DC voltage to the shutter to open it after certain other routines have finished, then wait a user defined amount of time, then send a 0 V DC voltage to the shutter to close it. The steps involving the shutter are in a Stacked Sequence Structure. I wish to have .1 ms resolution for this wait time, (i.e. how long the shutter is open). I am new to Labview, but from what I have read it would seem that the best resolution possible is 1 ms with my current set up. Is there any way in which to get .1 ms?
    Thanks
    Jeff

    NI PCI-6221:
    16 bit Aout (x2)
    16 bit Ain (x16)
    24 DIO
    32 bit CTR (x2)
    Looks like it won't work with the "classic" drivers (which is what I know best).
    Unfortunately, when they simplified everything for the new MX drivers, it got more complicated.
    Look in the FUNCTIONS - NI MEASUREMENTS - DAQmx palette.
    You'll have to create a virtual channel and use the DAQmx Timing vi to configure it.
    I am not an expert on MX - I'd recommend looking at the examples:
    HARDWARE INPUT and OUTPUT - DAQmx - GENERATING DIGITAL PULSES -- GEN DIG PULSE.vi looks promising.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • UCCX Estimated Wait Time w/ default time?

    Does anyone have a script for Estimated Wait Time that has a default wait time?  For example if the "default time" is 2 mintues and the actual EWT is 14 seconds it would say "2 mintues".  if the actual EWT then climbs to 6min 15 sec, it would say "6 minutes 15 seconds".
    We're getting complaints when a rash of calls comes in and our EWT isn't able to calculate the trending change fast enough.
    UCCX 7.x

    If your call center doesn't have a steady call volume or agents sign on/off frequently then you could try using the average wait time instead of the estimated wait time.  The average will be less volitile.
    -Steven

  • How to increase the waiting time for response in Adapter Engine not in IE

    Hi Experts,
                It is a SOAP to Proxy Synchronous interface. SOAP system is sending the request to PI, PI sending the same request to ECC system, After execution of some logic response back to PI in 7 minutes. In ABAP Stack(sxmb_moni) processing the response message also successfully with success flag after completion of these 7 minutes. But exactly 5 minutes later getting the error at Java Stack RWB- in communication channel monitoring i.e
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message bd2bf8d0-b2c2-11e0-c383-001cc4fb5cb7(OUTBOUND) expired.  We have set the "runtime-HTTP_TIMEOUT" parameter as 3600. thats why in Integration engine it is processing successfully.
    kindly suggest me how to increase the waiting time for response in Adapter Engine. Exactly after 5 mins getting the above error in rwb, but in Integration Engine getting successful flag after 7 mins until then it is waiting for response with  status flag Log version.
    Thanks & Regards,
    Srihari.

    Hi,
    Please see
    How To... Investigate Timeouts In Synchronous XI/PI Scenarios
    It will answer all your queries
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c059d583-a551-2c10-e095-eb5d95e03747?QuickLink=index&overridelayout=true

  • Wait time for RFC response

    Hi experts,
    I am calling an RFC in a remote SAP R/3 system from another SAP system (say CRM).
    Is there a timeout parameter value that can be set to a time limit that a calling system can wait for a response from the RFC call? In other words, how can I set up a time parameter in the ABAP program to wait for the RFC and if can not get a response; continue with a set of code.
    Any suggestion greatly appreciated <REMOVED BY MODERATOR>
    Abbey Qayum
    Edited by: Alvaro Tejada Galindo on Feb 25, 2008 2:58 PM

    Just to calrify my question;
    An RFC is being called in R/3.
    The calling system is say CRM.
    The question is:
    1) If the RFC called system (R/3) is down, what would be the expected response from the called system (R/3) to the requesting system (CRM)? i.e what happens when the called system is down/connection breaks down?
    When calling the RFC in R/3, I noticed that the call hangs up and the hour glass shows and waits for the RFC reponse for a long time. How can this be prevented? That is, the RFC call should timeout after a certain time if you don't get a response from the called system. How and where this timeout can be set in the ABAP.
    Thanks

  • Database Error: RSR0009: Resource not available for pool. Wait-time expired

    i am occassionally receiving the following error during database connections in my servlet:
    Database Error: RSR0009: Resource not available for pool [webAdvisorTestPool]. Wait-time expired
    i understand that this is a result of a connection leak from improper closure of my Connection object, but i thought that i was properly closing my connection.
    i can get the error if i do the following steps:
    1) access my login page and enter login credentials.
    2) submit the login which then hits the Authentication servlet.
    3) Authentication servlet authenticates and takes me to home page.
    4) hit the back button to get back to the login page.
    5) repeat this process until i hit the Max Pool Size (from web server).
    6) then i get the error message
    here are some details:
    i have an Authentication servlet; here is the pertinent code from that servlet:
    try {     // retrieve the user and add the User object to the session     DAO dao = new DAO();     Person authenticUser = dao.getPerson(userID, password);     session.setAttribute("validUser", authenticUser);     redirectPage = mapping.findForward("success"); }
    i also have a DAO object that handles all of my DB transactions (and you can see from my code above that the Authentication servlet is using that object); here is the pertinant code from that servlet:
    public DAO() {     datasource = "java:comp/env/jdbc/webAdvisorTest"; } public Person getPerson(String userID, String password)     throws ObjectNotFoundException {     // JDBC variables     DataSource ds = null;     Connection conn = null;     PreparedStatement stmt = null;     ResultSet results = null;     // User variables     Person validUser = null;     try     {         // Retrieve the DataSource from JNDI         InitialContext ctx = new InitialContext();         // if this statement fails, NamingException is thrown         ds = (DataSource)ctx.lookup(datasource);         // get DB connection and perform SQL operations         conn = ds.getConnection();         // User variables         String validUserID = null;         String validFName = null;         String validLName = null;         String validEmail = null;         // get DB connection and perform SQL operations         conn = ds.getConnection();         stmt = conn.prepareStatement(PERSON_QUERY);         stmt.setString(1, userID);         stmt.setString(2, password);         results = stmt.executeQuery();         // iterate through the results         if (results.next())         {             validUserID = results.getString("id");             validFName = results.getString("first_name");             validLName = results.getString("last_name");             validUser = new Person(validUserID, validFName, validLName);         }     }     // handle SQL errors     catch(SQLException e)     {         e.printStackTrace(System.err);         throw new RuntimeException("Database Error: " + e.getMessage());     }     // handle JNDI errors     catch(NamingException e)     {         throw new RuntimeException("JNDI Error: " + e.getMessage());     }     // clean up resources     finally     {         doClosure(results, stmt, conn);     }     // if the user was not found, throw ObjectNotFoundException     if(validUser == null)     {         throw new ObjectNotFoundException();     }     return validUser; } protected void doClosure(ResultSet results, PreparedStatement stmt,     Connection conn) {     if (results != null)     {         try { results.close(); }         catch (SQLException e) { e.printStackTrace(System.err); }     }     if (stmt != null)     {         try { stmt.close(); }         catch (SQLException e) { e.printStackTrace(System.err); }     }     if (conn != null)     {         try         {             System.out.println("R18Resources.conn before close: " + conn);             conn.close();             System.out.println("R18Resources.conn after close: " + conn);             System.out.println("R18Resources.conn is closed? " +                 conn.isClosed());         }         catch (SQLException e)         {             System.out.println("R18Resource conn close error: " +                 e.getMessage());         }     } }
    as you can see, i've added some print statements in my connection closure block. based on my output log, each connection is being properly closed and i am not encountering any errors during that closing block.
    any ideas???
    Message was edited by:
    millerand

    Please try the following code in your doClosure method. Replace your code with the following code.
    public void doClosure(ResultSet pResultSet, Statement pStmt, Connection pConn) throws Exception {
    try {
                   if (pResultSet != null) {
                        pResultSet.close();
                        pResultSet = null;
              } catch (SQLException se) {
              logger.error( se );
              } finally {
                   try {
                        if (pStmt != null) {
                             pStmt.close();
                             pStmt = null;
                   } catch (SQLException se) {
                   logger.error(se);
                   } finally {
                        try {
                             if (pConn != null) {
                                  pConn.close();
                                  pConn = null;
                        } catch (SQLException se) {
                        logger.error(se);
    And let me know if you still face this issue. What is the application server you are using?

  • JDBC Maximum Waiting Time

    What is maximum waiting time parameter in jdbc connecton?
    Is it like when a client accesses the database if there is not connection available the client waits the certain period of time until someone releases the resource?

    Hi Skip Ford,
        Follow these links
    http://www.java2s.com/Code/Java/Database-SQL-JDBC/GetdatefromOracle.htm
    http://ramblingabout.wordpress.com/2007/01/26/remember-date-time-timestamp/
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm
    Regards,
    Santosh.

  • Good day. as I can do to update my iphone 4 to the latest version of ios 5. whenever you connect to the pc and try to update the waiting time is very long, sometimes up to 12 hours and despite the wait always produce an error message for a long time waiti

    good day. as I can do to update my iphone 4 to the latest version of ios 5. whenever you connect to the pc and try to update the waiting time is very long, sometimes up to 12 hours and despite the wait always produce an error message for a long time waiting

    Disable ALL security software (firewall, antivirus/spyware, etc.) running on your PC while updating.

  • What does the option 'Settings- incorrect waiting time for status' do ?

    Hi All
    We had an infopackage that seemed to be hanging this morning . (Yellow Status) I was advised to access the option 'Settings->incorrect waiting time for status' and set the wait time to 7 minutes (from 7 hours). This changed the status to Red.
    I then re-ran the ipak and reset the ''Settings->incorrect waiting time for status'  to 7 hours. This made the red process go back to yellow and the run time started going up again.
    Can someone explain what is going on. Have I got 2 instances of the same ipak running simulateously. Why did the red one come back to life even thoug I deleted the request in data target for that ipak.
    Thanx
    HKF

    Thanks, Verdi - the first time I enabled,/ or disabled, I hadn't realised what had actually changed, as I think I'm so used to seeing my links open in Safari anyway!

  • In sequence for write/read, value of wait time?

    I made a sequence for write then read on a serial port.
    Sometimes, the read string is not the entire one.
    I put some wait time of 500ms in write sequence and wait time of 500ms in read sequence. Could it be the problem ?Is it possible to change the buffer size ?

    Hi,
    The buffer size is limited by the port itself. Consequently there really is no way to increase its size. Are you using VISA or the old serial VI's? One thing you may want to try is making your read time half the time of the write sequence. Also make sure that flow cotrol is working. With flow ctrl, you should never lose any information.
    Hope this helps out.
    Best Regards,
    Aaron K.
    Application Engineer
    National Instruments

  • Wait time for 5 min in process chain

    hi Guru,
    how to add in the process chin for wait time 5 min.
    two flat files are there, once the complete of first flat file wait for another 5 min for the second flat file load.
    my question how to add a condition for 5 min wait time , the flat file load after 5 min(means second process is trigger after 5 min).
    Thanks in advance
    Edited by: priya das on Sep 29, 2008 5:02 AM

    See if below threads are useful -
    waiting time in process chain
    Set delay for process in process chain (BI7)

Maybe you are looking for

  • Updating delivery block using 'BAPI_SALESDOCUMENT_CHANGE'

    Hi! I need to update the delivery block field of a sales order. I am using  'BAPI_SALESDOCUMENT_CHANGE' and passing delivery block also.   ls_order_header_in-dlv_block = lp_lifsk.   ls_order_header_inx-dlv_block = lp_lifsk. Could you please let me kn

  • How can I run a SQL script file...

    How can I run a SQL script file from a location on my computer without providing the whole path? Is there some way I can set a "Working folder" in SQL Plus?? Thanks! Tom

  • How to add a push button in ALV Grid Top-of-page

    Is it possible to add a push button to the top-of-page in Alv grid display?if yes, then how? I am not using OO ABAP and am using reuse_alv_grid_display with top-of-page event.

  • Details of photo showing up in Develop mode

    hi everyone..anyone, i imported images into LR3 and was about to close the catalog when i got a backup reminder popping up on my screen. so i did the obvious thing and clicked Backup. I later opened the catalog to find to my dismay, details of the ea

  • Does FDK11 support Visual Studio 2008?

    We use a client built on FDK 10 in Visual Studio 2008 IDE. Now the same client doesnt work with FDK 11 but if i convert the application to 2010 it works. So FDK 11 does not support VSTS 2008 or lower versions?