Error : No available resource. Wait-time expired.

Hi,
We have a big problem of connection pooling in SunOne.
After out program execute a lot of sql command in a short time, SunOne 7.0 throws an Exception ---- No available resource. Wait-time expired. We modify the connection pool setting, but it doesn't work. Can someone help to solve problem.
Our connectiong pool setting as below :
<jdbc-connection-pool steady-pool-size="8" max-pool-size="32" max-wait-time-in-millis="60000" pool-resize-quantity="2" idle-timeout-in-seconds="300" is-isolation-level-guaranteed="false" is-connection-validation-required="true" connection-validation-method="auto-commit" fail-all-connections="false" datasource-classname="oracle.jdbc.pool.OracleDataSource" name="xxx">
<property value="jdbc:oracle:thin:@aa:1521:aa" name="URL"/>
<property value="xxx" name="user"/>
<property value="xxx" name="password"/>
</jdbc-connection-pool>
Thanks!
Elsa

This issue is not resolved. I got this message this afternoon. It has nothing to do with ejb. Just for confirming this issue again, I created a very simple application, a jsp that calls a servlet. In the servlet, I have a loop that calls a getNewConnection(). and returns the connection, then I create a Statement with that connection. Then I call another method releaseResources(Statement stmt)
Connection conn = stmt.getConnection();
if(conn != null)
System.out.println("connection: " + conn);
conn.close();
// conn = null; tried this one also, same result
The code is OK. including try/catch blocks ans so on.
If the number of loops greater than the connection pool size, then I get the same exception. It means the connections are not getting closed. But if I change the methode and pass Connection instead of Statement, then it workes fine.
I have tested this in App server7 with:
Oracle 9.2.0 client and ojdbc14.jar
Oracle 9.2.0 client and classes12.jar
Oracle 9.0.1 client and classes12.jar
Oracle 8.1.6 client and classes12.zip
all with thin or oci drivers.
It looks like something to do with Statement.getConnection() and the version of AppServer jdk (1.4.0.2).
I know the getConnection methode does return A connection. I can print the connection id.

Similar Messages

  • Cannot get Local Connection, No available resource, Wait-time expired

    Hi Friends,
    Please answer my queries below.
    Thanks and Regards
    Busincess Requirement
    I have to display a particular set of rows in a dashboard or screen, and it is being refreshed every 1 minute, also user can update from that screen displayed values.
    The below program extracts some data from database and passes to the front end through a collection where it is being displayed.
    Code Logic Flow
    1. CockpitAction calls CockpitOraDAO for database results
    2. CockpitOraDAO is a singleton class.
    3. After getting the CockpitOraDAO object, the action will then call the getLabAreaCockpitDetails() method.
    getLabAreaCockpitDetails will
         - Get the Connetion from the OracleConnectionManager class (It is a plain class with getPooledConnection() and releaseConnection() methods).
         - Execute the query and put the result to a collection
         - close the connection
         - return result to the calling action.
    This getLabAreaCockpitDetails() are called around once in every 1 minute
    So, I believe everytime a call is made to action for cockpit display, it will take the existing object of the CockpitOraDAO class and make a call to database. i.e there will be only one object of CockpitOraDAO reside in application server at any particular interval of time.
    My Understandings
    1. Only 1 object of CockpitOraDAO will reside in application server (provided it is not user longer and garbage collected) at a particular instance.
    2. Many objects of Connection will be created and destroyed.(Each time the getLabAreaCockpitDetails() method is called, we will get one connection from connection pool and in finally the Connection will be released to connection pool).
    My Problems
    It is showing the "Cannot get Local Connection, No available resource, Wait-time expired"
    after running around 1 full day.
    My doubts
    1. Can anybody say why I get this error ?
    2. There may be some connections are not closed. But I have checked at finally block, the status of the connection is closed after calling this method.
    3. There may be some problem due to the singleton instane of CockpitOraDAO, Is it affecting performance ?
    4. Is it valid that I have to make CockpitOraDAO as Singleton ?
    public class CockpitOraDAO extends DAOAdaptor //implements BISample
         private static CockpitOraDAO instance=null;
         private static boolean debug = true;
         * The below method will be used to provide the singleton intance of the CockpitOraDAO object.
         public static CockpitOraDAO getInstance()
              if (instance == null)
                   synchronized (CockpitOraDAO.class)
                        if (instance == null)
                             instance = new CockpitOraDAO();
              return instance;
         * The below method will be used to get the cockpit details of the lab area.
         * This will return collecton of sample details for the specific lab.
         public Collection getLabAreaCockpitDetails(Collection prevCockpitDetailList,Collection filterCriteria) throws Exception
         if(debug)
              System.out.println("Inside CockpitOraDAO::getLabAreaCockpitDetails() method");
              Connection conn = null;
              boolean sampleExists = false;
              PreparedStatement pstmt=null;
              ResultSet rs=null;
              String returnStr=null;
              StringBuffer sqlQuery = null;
              String tempComment1=null, tempComment2=null;
              LabCockpitDO labc=null;
              LabCockpitDO labc2=null;
              Collection resultList=null, manCommentList=null, labCommentList=null, labCompCommentList=null;
              ArrayList result1List=null, prevCockpitDetail1List=null,filterList = null;
              OracleConnectionManager manager = null;
              boolean flag = false;
              try
                   labc2 = new LabCockpitDO();
                   prevCockpitDetail1List = (ArrayList) prevCockpitDetailList;
                   sqlQuery = new StringBuffer();
                   sqlQuery.append("select s.sample_sample_no sample_no, s.sample_inspection_lot_no inspection_lot_no,");
                   manager = new OracleConnectionManager();
                   conn = manager.getPooledConnection("myDS");
                   pstmt = conn.prepareStatement(sqlQuery.toString());
                   if(debug)
                   System.out.println("Query********"+sqlQuery.toString());
                   rs = pstmt.executeQuery();
              catch(Exception e)
                   //System.out.println(e);
                   throw e;
              finally
                        try
                             manager.releaseConnection("myDS");
    if(debug)
    System.out.println("Connection Status Closed=true/ Open=false=["+conn.isClosed()+"]");
    if(conn!=null || !conn.isClosed())
    conn.close();
    if(debug)
    System.out.println("Connection Status After Closing Connection Closed=true/ Open=false=["+conn.isClosed()+"]");
                             if(rs != null)
                                  rs.close();
                             if(pstmt != null)
                                  pstmt.close();
                             conn = null;
                             pstmt=null;
                             rs = null;
                             sqlQuery=null;
                             returnStr=null;
                             labc=null;
                             labc2=null;
                             manCommentList=null;
                             labCommentList=null;
                             labCompCommentList=null;
                             tempComment1=null;
                             tempComment2=null;
                             resultList=null;
                             prevCockpitDetailList=null;
                             prevCockpitDetail1List=null;
                        catch(Exception e)
                             //System.out.println("Unable to Release Connection ="+e);
                             throw e;
              //if(debug)     
              //System.out.println(resultList);
              return result1List;
         }

    Hi,
    As you can see from other posts, this is a very common problem. Until now the cause always ends up pointing to a connection not being close.
    I suggest you try to run through a full single cycle of you app, while using the CLI monitoting to check that the connections created/closed matches the expected created/closed connections. Also that the number of free connections at the end is correct.

  • 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?

  • Java.sql.SQLException: No available resource. Wait-time expired.

    Hi all,
    The application platform is SunONE Application Server 7, and the database is ORACLE 9i. My Website application will raise the SQLException once a few days' running. Everything will be ok once the Application server has been restarted. The detail about the Exception is :
    [12/Aug/2003:10:41:03] WARNING (25931): CORE3283: stderr: java.sql.SQLException: No available resource. Wait-time expired.
    [12/Aug/2003:10:41:03] WARNING (25931): CORE3283: stderr:      at com.sun.enterprise.resource.JdbcDataSource.internalGetConnection(JdbcDataSource.java:251)
    [12/Aug/2003:10:41:03] WARNING (25931): CORE3283: stderr:      at com.sun.enterprise.resource.JdbcDataSource.getConnection(JdbcDataSource.java:98)
    [12/Aug/2003:10:41:03] WARNING (25931): CORE3283: stderr:      at com.tsp.gdgpo.ejbm.util.EnvUtil.getDSConnection(EnvUtil.java:72)
    [12/Aug/2003:10:41:03] WARNING (25931): CORE3283: stderr:      at com.tsp.gdgpo.ejbm.util.DirectDSUtil.getObjectsFromDS(DirectDSUtil.java:103)
    [12/Aug/2003:10:41:03] WARNING (25931): CORE3283: stderr:      at com.tsp.gdgpo.ejbm.jcsms.dam.JcsmsDDSA.getSpecialistByPage(JcsmsDDSA.java:388)
    [12/Aug/2003:10:41:03] WARNING (25931): CORE3283: stderr:      at com.tsp.gdgpo.ejbm.jcsms.sessionbeans.SpecialManagerEJBBean.listSpecialist(SpecialManagerEJBBean.java:1941)
    [12/Aug/2003:10:41:03] WARNING (25931): CORE3283: stderr:      at com.tsp.gdgpo.ejbm.jcsms.sessionbeans.SpecialManagerEJBBean_EJBObjectImpl.listSpecialist(SpecialManagerEJBBean_EJBObjectImpl.java:702)
    [12/Aug/2003:10:41:03] WARNING (25931): CORE3283: stderr:      at com.tsp.gdgpo.ejbm.jcsms.sessionbeans._SpecialManagerEJBBean_EJBObjectImpl_Tie._invoke(Unknown Source)thanks for any help
    Niu

    Ther is a related Bug i n Oracle: Bug No. 4420032
    PROBLEM STATEMENT: ------------------
    The Oracle client file ojdbc_14.jar is not handling exceptions correctly. The connection pool slowly runs out of connections and hits the oracle db limit of max_sessions. Increasing the db max_sessions does not help as the number of sessions continue to increase.
    The vendor developers of ct's application have identified a code problem with the Oracle client file ojdbc_14.jar. Their description follows.
    The following is a technical description of the Oracle JDBC client library issue. The jar file in question is: ojdbc_14.jar. This issue is also present in the 9.2.05 and 9.2.06 versions of the client code.
    The socket.close() call in TcpNTAdapter.disconnect() does not properly handle network exceptions. Where the exception should be handled within the code segment calling socket.close(), the class instead throws an exception without ensuring the socket is closed. The socket is not subsequently closed by clients of the class. This ultimately results in a connection leak. Overtime, the maximum number of Oracle database sessions is reached. The only work around for this issue in production, is to restart the effected processes.
    The code segment:
    public void disconnect()
    throws IOException { 
    socket.close();
    socket = null; }
    should be along the lines of:
    public void disconnect()
    throws IOException { 
    try{  socket.close();  }
    catch(IOException ioe){  throw ioe;  }
    finally{  socket = null;  } }
    The original code segment will not execute the statement "socket = null" when . an exception occurs. Given the fact that the exception is not subsequently processed properly, the object is never dereferenced, and the socket remains open for the life of the process. Adding this statement in the finally block . ensures the object will ultimately be destroyed by the garbage collector. . ct tested this change in their lab and found that the recommended modification successfully resolved the issue.
    This problem has occurred with the previous ct's application releases, but the vendor has only recently been able to isolate the root cause. The JDBC connection pool slowly runs out of connections and hits the oracle db limit of max_sessions.
    Increasing the db max_sessions does not help as the number of sessions continue to increase. This problem has been occuring in Production over the past few releases of the application, but usually the connections leak slowly. This problem can be duplicated under heavy load in just a few minutes . in the Loadtest environment.

  • No available resource. Wait-time expired.

    Dear All
    I am using sun ONE applications server. I am struggling with No available resource. Wait-time expired problem. MY Pool configurations are steady:20,max:100,inc:2. My code is very straight forward.
    Getting the connection, using the connection and closing the connection. I made sure that the connection opened is getting closed. But still after certain no. of requests my request is getting blocked. What might be the problem.
    Regards,
    Nagaraju.KV

    Hi,
    As you can see from other posts, this is a very common problem. Until now the cause always ends up pointing to a connection not being close.
    I suggest you try to run through a full single cycle of you app, while using the CLI monitoting to check that the connections created/closed matches the expected created/closed connections. Also that the number of free connections at the end is correct.

  • LDP Neighbor - Holdown / Discovery timer expired.

    Hello,
    I'm having an intermittent issue with LDP sessions dropping between one specific router and it's two peers.
    Solution background:
    We have 3 x 7201 (NPE-G2) running c7200p-spservicesk9-mz.150-1.M5.bin.
    The routers are arranged in a "triangle" with a link to each router utilising G0/2 + 3 on each router, IGP is OSPF with all routers + loopbacks being in OSPF Area 0. OSPF RID + MPLS RID is Lo0.
    Routers are called ABC-CORE-1, CCC-CORE-1, CBC-CORE1.
    During the "outage" the DLP session between ABC->CBC remains constant without issue, however the LDP sessions with CCC-CORE1 both drop stating the following:
    ABC-CORE-1#show log
    Apr  3 17:30:40.236: %LDP-5-NBRCHG: LDP Neighbor 10.64.255.2:0 (1) is DOWN (Received error notification from peer: Holddown time expired)
    Apr  3 17:30:44.180: %LDP-5-NBRCHG: LDP Neighbor 10.64.255.2:0 (1) is UP
    CCC-CORE-1#show log
    .Apr  3 17:30:39: %LDP-5-NBRCHG: LDP Neighbor 10.64.255.1:0 (1) is DOWN (Discovery Hello Hold Timer expired)
    .Apr  3 17:30:43: %LDP-5-NBRCHG: LDP Neighbor 10.64.255.1:0 (3) is UP
    Neighbor output:
    CCC-CORE-1#sh mpls ldp neigh 10.64.255.1 det
        Peer LDP Ident: 10.64.255.1:0; Local LDP Ident 10.64.255.2:0
            TCP connection: 10.64.255.1.646 - 10.64.255.2.36718
            Password: not required, none, in use
            State: Oper; Msgs sent/rcvd: 1191/1192; Downstream; Last TIB rev sent 130
            Up time: 16:24:42; UID: 10; Peer Id 2;
            LDP discovery sources:
              GigabitEthernet0/2; Src IP addr: 10.64.0.1
                holdtime: 15000 ms, hello interval: 5000 ms
            Addresses bound to peer LDP Ident:
              10.64.2.1       192.168.128.126 10.64.0.1       10.64.0.5
              10.64.255.1     10.64.254.1
            Peer holdtime: 180000 ms; KA interval: 60000 ms; Peer state: estab
            Clients: Dir Adj Client
            Capabilities Sent:
              [Dynamic Announcement (0x0506)]
              [Typed Wildcard (0x0970)]
            Capabilities Received:
              [Dynamic Announcement (0x0506)]
              [Typed Wildcard (0x0970)]
    ABC-CORE-1#show mpls ldp neigh 10.64.255.2 det
        Peer LDP Ident: 10.64.255.2:0; Local LDP Ident 10.64.255.1:0
            TCP connection: 10.64.255.2.36718 - 10.64.255.1.646
            Password: not required, none, in use
            State: Oper; Msgs sent/rcvd: 1193/1191; Downstream; Last TIB rev sent 130
            Up time: 16:25:05; UID: 8; Peer Id 0;
            LDP discovery sources:
              GigabitEthernet0/2; Src IP addr: 10.64.0.2
                holdtime: 15000 ms, hello interval: 5000 ms
            Addresses bound to peer LDP Ident:
              10.64.2.5       192.168.128.254 10.64.0.2       10.64.0.9
              10.64.255.2     10.64.254.2
            Peer holdtime: 180000 ms; KA interval: 60000 ms; Peer state: estab
            Clients: Dir Adj Client
            Capabilities Sent:
              [Dynamic Announcement (0x0506)]
              [Typed Wildcard (0x0970)]
            Capabilities Received:
              [Dynamic Announcement (0x0506)]
              [Typed Wildcard (0x0970)]
    I've just enabled MPLS IGP sync this morning aftere reading a few articles however I'm not convicnced that's going to make much difference, has anyone ever experieced this before?
    Thanks,
    Duncan.

    Duncan Mossop wrote:Hello,I'm having an intermittent issue with LDP sessions dropping between one specific router and it's two peers.Solution background:We have 3 x 7201 (NPE-G2) running c7200p-spservicesk9-mz.150-1.M5.bin.The routers are arranged in a "triangle" with a link to each router utilising G0/2 + 3 on each router, IGP is OSPF with all routers + loopbacks being in OSPF Area 0. OSPF RID + MPLS RID is Lo0.Routers are called ABC-CORE-1, CCC-CORE-1, CBC-CORE1.During the "outage" the DLP session between ABC->CBC remains constant without issue, however the LDP sessions with CCC-CORE1 both drop stating the following:ABC-CORE-1#show logApr  3 17:30:40.236: %LDP-5-NBRCHG: LDP Neighbor 10.64.255.2:0 (1) is DOWN (Received error notification from peer: Holddown time expired)Apr  3 17:30:44.180: %LDP-5-NBRCHG: LDP Neighbor 10.64.255.2:0 (1) is UPCCC-CORE-1#show log.Apr  3 17:30:39: %LDP-5-NBRCHG: LDP Neighbor 10.64.255.1:0 (1) is DOWN (Discovery Hello Hold Timer expired).Apr  3 17:30:43: %LDP-5-NBRCHG: LDP Neighbor 10.64.255.1:0 (3) is UPNeighbor output:CCC-CORE-1#sh mpls ldp neigh 10.64.255.1 det    Peer LDP Ident: 10.64.255.1:0; Local LDP Ident 10.64.255.2:0        TCP connection: 10.64.255.1.646 - 10.64.255.2.36718        Password: not required, none, in use        State: Oper; Msgs sent/rcvd: 1191/1192; Downstream; Last TIB rev sent 130        Up time: 16:24:42; UID: 10; Peer Id 2;        LDP discovery sources:          GigabitEthernet0/2; Src IP addr: 10.64.0.1            holdtime: 15000 ms, hello interval: 5000 ms        Addresses bound to peer LDP Ident:          10.64.2.1       192.168.128.126 10.64.0.1       10.64.0.5          10.64.255.1     10.64.254.1        Peer holdtime: 180000 ms; KA interval: 60000 ms; Peer state: estab        Clients: Dir Adj Client        Capabilities Sent:          [Dynamic Announcement (0x0506)]          [Typed Wildcard (0x0970)]        Capabilities Received:          [Dynamic Announcement (0x0506)]          [Typed Wildcard (0x0970)]ABC-CORE-1#show mpls ldp neigh 10.64.255.2 det    Peer LDP Ident: 10.64.255.2:0; Local LDP Ident 10.64.255.1:0        TCP connection: 10.64.255.2.36718 - 10.64.255.1.646        Password: not required, none, in use        State: Oper; Msgs sent/rcvd: 1193/1191; Downstream; Last TIB rev sent 130        Up time: 16:25:05; UID: 8; Peer Id 0;        LDP discovery sources:          GigabitEthernet0/2; Src IP addr: 10.64.0.2            holdtime: 15000 ms, hello interval: 5000 ms        Addresses bound to peer LDP Ident:          10.64.2.5       192.168.128.254 10.64.0.2       10.64.0.9          10.64.255.2     10.64.254.2        Peer holdtime: 180000 ms; KA interval: 60000 ms; Peer state: estab        Clients: Dir Adj Client        Capabilities Sent:          [Dynamic Announcement (0x0506)]          [Typed Wildcard (0x0970)]        Capabilities Received:          [Dynamic Announcement (0x0506)]          [Typed Wildcard (0x0970)]I've just enabled MPLS IGP sync this morning aftere reading a few articles however I'm not convicnced that's going to make much difference, has anyone ever experieced this before?Thanks,Duncan.
    For anyone that's interested I fixed this problem after some in depth troubleshooting.
    Turns out the CCC router has CEF disabled.
    I followed the through the following process:
    Noticed flushes in the inteface counters -> researched SPD (selective packet discard) -> looked into CPU usage -> noticed IP Input process running 90%+, checked CEF with "show ip cef" showed a full adjancency table.
    Checked the command "show cef interface"
    Boom, "CEF Switching disabled" on every interface.
    "no ip cef" "ip cef" , fixed.
    For reference the running config did indeed show "ip cef" as entered and turned on.
    Only thing I can think is when we upgraded from 12.4 to 15.0(1)M there was a glitch with CEF....
    Very strange.

  • Excel not even open - "cannot complete this task with available resources" and then VBA run-time error randomly appear!

    Has anyone else seen the "Excel cannot complete this task with available resources" error message appear when Excel isn't even open? It keeps happening to me, and it's the strangest thing.
    It seems like interacting with Excel files sometimes prompts it - for example, I just turned on my computer this morning, checked my email, and then opened Google Chrome to upload some Excel files. Excel hasn't been opened at any point since the machine
    booted up, but this Excel error popped up while I was uploading the files.
    Checked the Task Manager because I was baffled (not that this is the first time it's happened), and there's no Excel application running, just that silly error message. Choose OK on that error and a VBA run-time error message appears (not even sure if it's
    Excel VBA or Word/Outlook but I assume it's Excel - it's the good old 1004, application-defined or object-defined error).
    Debug is greyed out, so it won't let me debug to see what the problem is. Choosing End brings the "Excel cannot complete this task with available resources" message back for one final performance.
    This happens on a not-infrequent basis: Excel isn't open, and I randomly get this set of Excel errors: 1) "cannot complete task", 2) VBA run-time, 3) "cannot complete task" again. Then it's done, until the next time it happens. Weird.
    I have 32-bit Windows 7 and Excel 2013/2010/2007/2003/2002 (I know!) but the issue only started after installing 2013. I also get the "cannot complete this task" message regularly when working in Excel (generally with Power Pivot or something legitimately
    memory-hungry though), and restarting the application does the trick. I don't mind a heads-up when I'm gobbling up too many resources, but when Excel's not even open, it's a bit ridiculous. It's like I have a zombie Excel! Does interacting with Excel files
    via upload/moving around Windows Explorer actually trigger some sort of Excel action in the background?
    Any ideas would be most appreciated!! Thank you :)

    Hi,
    As the memory error messages , it can be very generic and don't always identify the real cause of the issue. We may try to use the KB that Mr. KR mentioned above to troubleshoot it.
    On the other hand, if the file is xls format, we may convert to the new file format .XLSM and test.
    http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_28339883.html
    Next, try to disable hardware graphics acceleration from File > Options > Advanced > Display section and disable Aero Themes (if you enabled) to check the results.
    For the hangs and crashes issues, we may use ADPlus.vbs to troubleshoot:
    http://support.microsoft.com/kb/286350/en-us
    http://www.networksteve.com/exchange/topic.php/Excel_cannot_complete_this_task_with_available_resources_error,/?TopicId=39411&Posts=1
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Hope it's helpful.
    George Zhao
    TechNet Community Support

  • 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.

  • Purchased ML 3 weeks ago from Apps store, started to download then stopped "an error has occurred" tried numerous times since but no success. The ML icon looks to start but says waiting and so am I. Any guidance appreciated

    Purchased ML 3 weeks ago from Apps store, started to download then stopped "an error has occurred" tried numerous times since but no success. The ML icon looks to start but says waiting and so am I. Any guidance appreciated.
    iMac-Mid 2007 MacOSX V 10.7.5

    maybe this will help:
    https://discussions.apple.com/message/19032230#19032230%2319032230
    https://discussions.apple.com/message/19107160#19107160

  • Logon rejected for Unable to obtain Terminal Server User Configuration. Error: Not enough resources are available to complete this operation.

    Error: Logon rejected for  Unable to obtain Terminal Server User Configuration. Error: Not enough resources are available to complete this operation.
    The problem is that the SharePoint server will
    function just fine for a week or so and then suddenly when a new user tries
    to log on they get an error message indicating that not enough resources areavailable to
    log them on and also user will to credential prompt while accessing share point site . 
    Raj

    Hi,
    According to the error message, please use performance monitor to diagnose if it is a memory-related bottleneck and you can use the counters of the memory part in the article below:
    https://technet.microsoft.com/en-us/magazine/2008.08.pulse.aspx
    In addition, it may be due to thousands of open connections to the server are in a TIME_WAIT state. You can run "netstat -an" command on the affected server and client. If you see mutiple connections in the TIME_WAIT state, you can follow the article
    to increase the number of TCP/IP connections:
    https://msdn.microsoft.com/en-us/library/ee377084(v=bts.70).aspx
    Furthermore, if you are running windows server 2003, please make sure that you have installed the KB 948496 and stop all services that you don't need.
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Error: Excel cannot complete this task with available resources

    Hello -
    I am encountering an error when refreshing an EvDRE report in SAP.  The error message is:
    Excel cannot complete this task with available resources.  Choose less data or close other applications.
    Other Info:
    We are running Office 2007.
    We have several modified EvDRE reports stored on our network (roughly 250 reports).  I say modified because we use EvDRE to build the basic structure of the report, but then we modify it to suit our needs, but in the end, they are all EvDRE files.
    File sizes range from 100 KB to 700 KB.
    We have no other applications running while refreshing these reports (just Excel and SAP).
    Has anyone encountered this error before?
    Regards,
    Carlo Tom

    After some trial and error, we discovered what the problem was.
    It turns out, our Excel files were bigger than the actual data range.
    Excel Lesson: on a spreadsheet, if you do Ctrl + End, your cursor should move to the last cell that contains data.
    When we did a Ctrl + End on these files, we realized that the cursor was stopping in the far corner of the sheet u2013 completely outside the data range.  So, when the refresh was called, it was trying to refresh basically the entire spreadsheet (vs. just the data range u2013 hence not enough resources).
    So, to fix this, we deleted the extra rows and columns in the sheet and then ran the refresh routine again and now our files are working.
    So, if you encounter this type of error, check to make sure that the u2018endu2019 of your spreadsheet is truly the end.
    I hope this helps.
    Carlo

  • MAXRUN timer expired error

    Hello Community,
    I am trying to execute a tcl script that I have downloaded from this site called wan_load_alarm. I have registered properly, however after registering I get the following error:
    Jan 18 00:08:20.019: %SYS-3-CPUYLD: Task ran for (19884)msecs, more than (2000)msecs (284/22),process = EEM TCL Proc
    Jan 18 00:08:20.627: %HA_EM-6-LOG: wan_load_alarm.tcl: 1Process Forced Exit- MAXRUN timer expired.
    Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl:     while executing
    Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: "expr $txload_total + $txload "
    Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl:     invoked from within
    Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: "$slave eval $Contents"
    Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl:     (procedure "eval_script" line 7)
    Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl:     invoked from within
    Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: "eval_script slave $scriptname"
    Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl:     invoked from within
    Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: "if {$security_level == 1} {       #untrusted script
    Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl:      interp create -safe slave
    Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl:      interp share {} stdin slave
    Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl:      interp share {} stdout slave
    Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: ..."
    Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl:     (file "tmpsys:/lib/tcl/base.tcl" line 50)
    Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: Tcl policy execute failed:
    Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: 1Process Forced Exit- MAXRUN timer expired.
    The script is attached.
    I was wondering if someone could help me please
    Cheers
    Carlton

    Community,
    My environment variables are as follows:
    event manager environment wan_load_interface Tunnel 0
    event manager environment wan_load_interval 60
    event manager environment wan_load_duration 60
    event manager environment wan_load_threshold 100
    event manager environment wan_load_history_outfile flash:wan_load_history_outfile.dat
    event manager environment _email_server 10.44.108.95
    event manager environment _email_from [email protected]
    event manager environment _email_to [email protected]
    event manager directory user policy "flash:/"
    event manager session cli username "en.bcz00513"
    event manager policy wan_load_alarm.tcl
    Cheers

  • Webutil demo problems - WHEN-TIMER-EXPIRED error

    Hi there,
    I have just installed the 10.1.2 forms no problems. I then downloaded the demo of webutil from OTN and cannot get it to run properly. Can anyone help.
    I initially had to rename the webutil.pll (i renamed to webutil_lib.pll as recommended in an earlier forum) file to overcome an initial error and now I can at least see the runtime canvas. I dropped and re-attached the attached libraray for this pll file (Is this all I have to do?)
    The problem is I immediately get the error FRM-40735:WHEN-TIMER-EXPIRED trigger raised unhandled exception ORA-06508 in the console. This error continues for every event I do that has a trigger associated, ie changing tabs or pressing buttons, the only difference in the error message is the trigger name.
    I can see the canvas and various items on the tab sheet but none of the triggers that refernce webutil appear to work.
    I presume I have missed something simple, possibly when I renamed the .pll file.
    Any ideas.
    Doug

    Dougo,
    I checked our bug database for this topic and couldn't find anything reported. Can you file a TAR with support to have them analyzing your problem. (metalink.oracle.com)
    Frank

  • Waiting on a FIX before return time expires

    Although my daily iP4 usage appears normal, yesterday as I was talking the sound started to fad in and out and sounded like static. I removed my hand from the phone lower left corner and the sound quality instantly improved. I was able to reproduce this time and time again.
    Waiting on a FIX before the return time expires has me a little worried. I don't want to be stuck with a 2 year contract and defective iPhone.
    Coming from a fanboy with thousands of dollars wrapped up in Apple products I don't want to return the iP4 but may be forced to unless there's a real fix in the next 8-9 days.
    Need advice from the experts

    Hey Concerto,
    Thanks for the update! Let us know if you need any additional assistance.
    Aaron|Social Media Specialist | Best Buy® Corporate
     Private Message

  • LDM bind domain error : No available crypto unit resources

    Hi,
    I am stuck on this one, I cannot bind a quest domain, I can't work this error : No available crypto unit resources accessible by LDom,
    Any idea that can point me in the right direction to solve this?
    Thanks in advance

    HSS-Dan wrote:
    After furthur analysis I foun d that I only have one crypto available. I have a T5120 with one CPU 8 core, I should have at leat 32 MAU, any idea what I missed here?HSS-Dan,
    There is only one MAU per core. At most a T5120 would have 8 MAUs. Use */opt/SUNWldm/bin/ldm list-devices -a mau* to see your current MAU assignments. Example:
    /opt/SUNWldm/bin/ldm list-devices -a mau
    MAU
        ID     CPUSET                                  BOUND
        0      (0, 1, 2, 3, 4, 5, 6, 7)                primary
        1      (8, 9, 10, 11, 12, 13, 14, 15)
        2      (16, 17, 18, 19, 20, 21, 22, 23)
        3      (24, 25, 26, 27, 28, 29, 30, 31)
        4      (32, 33, 34, 35, 36, 37, 38, 39)
        5      (40, 41, 42, 43, 44, 45, 46, 47)
        6      (48, 49, 50, 51, 52, 53, 54, 55)
        7      (56, 57, 58, 59, 60, 61, 62, 63)I as understand it, a given MAU can bind to a single guest LDom only if the LDom is bound to one (usually more) of the VCPUs in the same set (CPUSET in the list-devices output) as the MAU.
    have a good weekend,
    Glen

Maybe you are looking for

  • IPhone 5s battery drain fast with iOS 8.1.2

    I have iPhone 5s from 1 year. After updating to 8.1.2 battery draining fast. I needs charge the battery 3-4 times a day. I did the restore as new, but no change. Stopping the apps does not help. Please for advice.

  • Cost of inventories, but its component charged by several providers

    Dear Experts, Cost of inventories comprises all cost of purchase and other cost incurred in bringing the inventories to the present location and condition. I am wondering whether having a best practise on SAP to manage our overseas purchasing process

  • Adobe LiveCycle Designer ES and Adobe Acrobat 9 Pro

    I recently purchased Adobe Acrobat 9 Pro, it came with Adobe LiveCycle Designer ES.  When I create a new document with Acrobat 9, it takes me right into LiveCycle for the design, which I do not mind.  However, the properties for each field are very l

  • GOS(Generic Object Services) for Custom program ?

    Hi All, My requirement is to have GOS option to attach document for Custom program against each record. Do anybody have faced the same kind of requirement,please let me know how to do. Bharathi.J

  • Upgrade Program with other function

    hi disowned married woman i would like to know your name if you want to deepen our conversation with interesting solution you are for me a interesting subject to share my problem if is possible naturally. You are much kind one to respond answer to me