Database Stress testing

Hi,
I have planned to do the Stress testing of our application by posting many transactions and running jobs. I would like to know what are all things in database I need to monitor during this stress test
Thanks,
Karthik

Well, the most important is going to be whatever metric your users are going to be using. Since it sounds like you're building an OLTP application, I'm assuming that that metric is response time-- how long it takes between the time they hit a button and they get a response.
I would assume that you'd want to monitor CPU and memory utilization on the machine to see what kind of a load you're putting on the system. If those are too close to 100%, you won't be able to increase the transaction volume significantly without impacting the response time (which I assume is the most important metric).
After that, if you want to take a couple of statspack snapshots to look at the top waits, that would probably be a good idea. This will tend to show you where to focus your tuning if the stress test results are inadequate.
Justin

Similar Messages

  • Database base storage stress test

    Hi,
    I have a ucm 11g instance up and running with SSO.
    I need to test database storage against filesystem storage.
    Does anyone have any suggestions on how to test this?
    Also I'm sure I read somewhere (but I can't find it now) that once I go in one direction I can't go back, does anyone have any details about this?
    Many thanks
    James

    First of all, take a look at File Store Provider (here: http://download.oracle.com/docs/cd/E14571_01/doc.1111/e10792/c02_settings005.htm#CSMSP445)
    In general, filesystem storage is always used even if you store data in the database, in the end. It is, though, understood as a temporary storage. In theory, you can keep your files in both locations and I see no reason why you should not be able to go from FS to DB and back, BUT you have to consider consequences (you might have to rebuild indexes or even migrate data from one storage to the other).
    As for stress tests, first you have to decide WHAT you want to test. Potential candidates are:
    - checkin of a single item (wasted effort: since FS is always used as an intermediate storage it will always be a bit faster)
    - mass checkin (e.g. from Batch Loader - especially if you use Fast Checkin settings, db can be a bit faster, but you will need a real lot of small files)
    - search
    - update (metadata - wasted effort: should be the same)
    - backup
    - migration of content
    Then, you will have to setup two environments with more-or-less the same conditions (CPU power, memory, disk speed).
    And finally, you will have to create and run you test cases. I'd suggest to automate stress tests via writing a program calling the same services with the same data. Use WebServices (if non-Java) or RIDC (if Java).
    Alternatively, if your task is "to get results" rather than "perform stress tests", you could try to approach consulting services or project managers to provide some normalized results for you. Something can be obtained in this whitepaper: http://www.oracle.com/us/products/middleware/content-management/ecm-extreme-performance-wp-077977.pdf

  • SQL connection errors when stress testing mobile service: SQL failure after 3 attempts

    I have created a Mobile Service (node.js), which has been running for a few months with 50-100k api calls per day with no issues.
    The usage of the service will be scaled up soon, and it will receive much higher traffic, so I am running stress tests (on a staging deployment of the same service).
    The api in question queries data from the sql database that is attached to the mobile service, but caches the resulting data in a redis database for 5 minutes, so each call with identical parameters will not access the SQL database, just the redis cache.
    My first test never has any problems:
    Run a single api calls as fast as possible using the program wrk (https://github.com/wg/wrk). This test never has a problem, and I have run it an hour continuously with a sustained rate of 200 req/s and very few timeout errors.
    The second test always causes problems:
    I created a list of 5 different api calls to the same service (same endpoint, but different parameters), and I run those randomly interweaved as fast as possible. I use the program locust (http://locust.io) for this, spawing 10.000 clients at a rate of 500
    per second. For the first few seconds everything goes ok, but then connections start failing massively.
    I get mostly:
    Error: SQL failure after 3 attempts. Error: [Microsoft][SQL Server Native Client 10.0]TCP Provider: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected
    host has failed to respond.
     (SqlState: 08001, Code: 10060)
    And I see this in the http response:
    ConnectionError(ProtocolError('Connection aborted.', gaierror(8, 'nodename nor servname provided, or not known')),)
    The strange thing is that since I am running the same five calls repeatedly, only the very first of each call will actually access the sql database, every subsequent call will just return data directly from redis, and not try to access the sql database at
    all.
    In the azure console for the sql database in question, I see 1860 successful connections and 11 failed connections, which does not explain the massive failure rate I am seeing.

    Thanks for sharing your tips on this forum, as it will be useful for other users, that run into this issue.
    Feedback like this will also help us improve error reporting in the next release, as missing class files in the packaged application is a common issue when developers are moving from the embeded oc4j instance packaged with JDewveloper to standalone instances.
    -Eric

  • ConnectionBean fail with stress test. please assist.

    I am using the following to get connected to database.
    package com.db;
    import java.util.*;
    import java.io.*;
    import java.sql.*;
    import javax.servlet.http.*;
    public class ConnectionManager implements HttpSessionBindingListener
      private Connection connection;
      private Statement statement;
      private String driver = "";
      private String dbURL = "";
      private String login = "";
      private String password = "";
    static public void main(String[] args)
          ConnectionManager cm = new ConnectionManager();
      } // main
    public ConnectionManager()
           Properties Prop = new Properties();
           try {
              InputStream configStream = getClass().getResourceAsStream("/config/database.properties");
                   Prop.load(configStream);
              configStream.close();
               } catch(IOException e) {
                      System.out.println("Error: Cannot laod configuration file ");
           driver =Prop.getProperty("driver");
           dbURL = Prop.getProperty("dbURL");
            login = Prop.getProperty("login");
            password = Prop.getProperty("password");
    public void setDriver (String sDriver)
       if (sDriver != null)
           driver = sDriver;
    public String getDriver ()
       return driver;
    public void setDbURL (String sDbURL)
        if (sDbURL != null)
         dbURL = sDbURL;
    public String getDbURL()
       return dbURL;
    public void setLogin (String sLogin)
       if (sLogin != null)
          login = sLogin;
    public String getLogin()
       return login;
    public void setPassword (String sPassword)
       if (sPassword != null)
          password = sPassword;
    private String getPassword()
       return password;
    private void getConn ()
       try
          Class.forName(driver);
          connection = DriverManager.getConnection(dbURL,login,password);
          statement=connection.createStatement();
       catch (ClassNotFoundException e)
          System.out.println("ConnectionManager: driver unavailable");
          connection = null;
       catch (SQLException e)
          System.out.println("ConnectionManager: driver not loaded");
          connection = null;
    public Connection getConnection()
       if (connection == null)
          getConn();
       return connection;
    public void commit() throws SQLException
        connection.commit();
    public void rollback() throws SQLException
        connection.rollback();
    public void setAutoCommit(boolean autoCommit)
        throws SQLException
        connection.setAutoCommit(autoCommit );
    public ResultSet executeQuery(String sql) throws SQLException
        if (connection == null || connection.isClosed())
            getConn();
        return statement.executeQuery(sql);
    public int executeUpdate(String sql) throws SQLException
        if (connection == null || connection.isClosed())
            getConn();
        return statement.executeUpdate(sql);
    public void valueBound(HttpSessionBindingEvent event)
        System.err.println("ConnectionBean: in the valueBound method");
        try
          if (connection == null || connection.isClosed())
            connection = DriverManager.getConnection(dbURL,login,password);
            statement = connection.createStatement();
        catch (SQLException e)
          e.printStackTrace();
          connection = null;
    public void valueUnbound(HttpSessionBindingEvent event)
        close();
    public void close()
       try
           if ( connection != null
                || !connection.isClosed())
            connection.close();
       catch (SQLException e)
          e.printStackTrace();
    }This is what I use to test this code:
    <%@ page import="java.sql.*" %>
    <%@ page import="java.text.*" %>
    <%@ page import="java.util.*"%>
    <%@ page import="java.io.*" %>
    <p>
    Testing DBConnection Bean. <p>
    <%
    String sql="SELECT * FROM BS_PERSON" ;
    com.db.ConnectionManager CM = new com.db.ConnectionManager();
    ResultSet rset = CM.executeQuery(sql);
    while (rset.next()) {
       out.println(rset.getString("PERSON_USERCODE") + "<br>");
    %>When I stress test it, the code perform well for a while and then throw the following on Tomcat:
    ConnectionManager: driver not loaded
    ConnectionManager: driver not loaded
    ConnectionManager: driver not loaded
    Is there anything I could improve?
    For application that has many database read/write, is there any open source connection program that uses connection pooling?
    Thank you.

    Thank you for the prompt response.
    Yes. the code works and the data set gets return when I execute the code. It only fail with stress test after say 150-160 hits.
    I have put in the printStack Trace and got the following:
    ConnectionManager: driver not loaded
    java.sql.SQLException: ORA-00020: maximum number of processes (150) exceeded
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.O3log.receive1st(O3log.java:407)
         at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:259)
         at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:346)
         at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at com.db.ConnectionManager.getConn(ConnectionManager.java:106)
         at com.db.ConnectionManager.executeQuery(ConnectionManager.java:154)
         at org.apache.jsp.dbconnection_jsp._jspService(dbconnection_jsp.java:76)
    Could it be that I didn't specifically close the connection? How could I go about doing it?
    Thank you.

  • Stress Test Oracle 9i

    Hello,
    I want to perform stress tests on my Oracle 9i database. Is there a software that you can recommend to use. Maybe even scripts or shareware. Thank you.

    There are a variety of third party load test tools available, generally part of a suite of QA tools. You can also build your own test harnass.
    99% of the work, however, is in figuring out what to run to put a representative stress on your application and, thus, your database. Figure out a representative number of OLTP users, a representative number of DSS users, an appropriate overlap in time and in data, etc.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Stress test Sharepoint 2013 portal. How and what do You use?

    Hi!
    I'm using example from here http://msdn.microsoft.com/en-us/library/jj710162.aspx
    It creates record in SP task list. I can loop it to create several records. But how can I simulate
    several users?
    Or what in common sense do You use to stress test sharepoint? Any links or better there is a book?
    Best regards,
    Gennady
    Разработчик под SharePoint, http://rockietm.wordpress.com, http://demo.arsenal-it.com

    >>You can use Visual Studio to create performance and stress testing projects.
    Yes I know that I can use VS, it's in the link of my first post.
    >>Check out my articles at:
    Margriet, thank You very much! I see that You analyzed more than a hundred of tools and dived very deep into this question! Thank You for
    the tool, it works for me!
    1) But what You use to monitor server behavior, do You use Resource monitor? By example I can see some network and cpu activity during test, but how can I analyze this data..
    or I'd use some video-capture tools(like 'camtasia studio'), record this system monitor and then analyze?
    2) I understand correctly, that this tool covers "WFE test", mostly IIS, like pages generation; SQL database should be tested by other methods.
    p.s.:Sorry for bad english)
    upd.: added all Your counters, the picture looks impressive :-D
    Best regards,
    Gennady
    Разработчик под SharePoint, http://rockietm.wordpress.com, http://demo.arsenal-it.com

  • Stress Test question

    Hi,
    i've perform a stress test of a database in 2 configuration :
    1) Single instance 11.2 with 8gb Sga e 4gb Pga on Linux, 6core with instance caging =4, resource_manager=defaut_plan
    2) 2 Nodes Rac 11.2 with 8gb Sga e 4gb Pga in both nodes on Linux, 32core with instance caging =4, resource_manager=defaut_plan
    I've used Swingbench and the transaction per minute are equal, Avg transaction per s in rac are Greater then single instance (4ms vs 40ms).
    I know that rac is not for high performance.
    My question is: is rac config best than single instance and if yes what is the %?
    Thank you

    Hi SBHV,
    As far as I know, if you choose to test Audio Conferencing, it will also simulate Video conferencing.
    And the Key Health Indicators in Lync Server 2013 for your reference.
    http://technet.microsoft.com/en-us/library/dn593599.aspx#Front
    Best regards,
    Eric

  • Stress Test Software

    Hello,
    I like to stress test my Oracle 9i database, can someone recommend a software for stress testing. Thank you.

    There are a variety of third party load test tools available, generally part of a suite of QA tools. You can also build your own test harnass.
    99% of the work, however, is in figuring out what to run to put a representative stress on your application and, thus, your database. Figure out a representative number of OLTP users, a representative number of DSS users, an appropriate overlap in time and in data, etc.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Weblogic server hangs during stress-testing -- possibly EJB deadlocks

    Hi
    While running stress tests on our application, our WLS 4.5.1 hangs even at a
    mere load of 20 users. We are running on a Solaris machine. Database: Oracle
    8.1.5, running on the same machine. Using oracle.jdbc.driver.OracleDriver as
    the JDBC driver, and using JTS as the transaction manager.
    When we did a thread dump (complete lis at the end of this post) and
    basically we are seeing a bunch of our entity beans in a "locked" state. A
    common pattern we see in the thread dumps is that
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5] com.nps.ers.ejb.organization.<Our Entiy Bean>EOImpl.<a get
    method>(ERSSystemConfigurationBeanEOImpl.java:1539)
    [6] com.nps.ers.ejb.awardnomination.<Our entity bean>.<some method>
    After more thorough studying of EJB transactions, we changed the isolation
    level of all our beans from TRANSACTION_SERIALIZED to
    TRANSACTION_READ_COMMITTED and made sure all our beans say TX_REQUIRED for
    their transactionAttribue. Still, this problem persists.
    The basic scenario we are load testing is that of multiple users logging
    into the system and trying to access a particular user's record, and right
    now, this is causing deadlocks at 20 users.
    What we fail to understand is that --
    (a) even if a method is attempting a read-only access to the data, why would
    it try to obtain a lock? or why would it matter that the data is locked?
    Some of the locks we are seeing are actually on a bean that is used for
    read-only purposes.
    (b) if 2 or more processes are trying to access the same record, based on
    whichever process got their first, shouldn't one succeed, and the other go
    into a 'waiting' state?
    We have also opened this issue with weblogic support, and the response so
    far has been that there "may" be a bug in weblogic 4.5.1 itself that's
    causing it, and they need to look into it further. Other similar posts in
    the newsgroup haven't been resolved either -- hence this general plea for
    help. Please advise if you've any suggestions. Thanks
    Sandeep
    ---------------------------Complete Thread Dump Listing -------------------
    "HighPriority TimeEventGenerator" (TID:0x1488278, sys_thread_t:0x14881b8,
    state:CW, thread_t: t@46, threadID:0xd9271dc8, stack_bottom:0xd9272000,
    stack_size:0x20000) prio=9
    [1] weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:249)
    [2]
    weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java
    :143)
    [3] java.lang.Thread.run(Thread.java:479)
    "SSLListenThread" (TID:0x1588220, sys_thread_t:0x1588160, state:R, thread_t:
    t@45, threadID:0xd9321dc8, stack_bottom:0xd9322000, stack_size:0x20000)
    prio=5
    [1] java.net.PlainSocketImpl.socketAccept(Native Method)
    [2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:406)
    [3] java.net.ServerSocket.implAccept(ServerSocket.java:240)
    [4] java.net.ServerSocket.accept(ServerSocket.java:224)
    [5]
    weblogic.security.SSL.SSLServerSocket.acceptNoHandshake(SSLServerSocket.java
    :121)
    [6] weblogic.security.SSL.SSLServerSocket.accept(SSLServerSocket.java:112)
    [7] weblogic.t3.srvr.ListenThread.run(ListenThread.java:230)
    "ListenThread" (TID:0x15f7d48, sys_thread_t:0x15f7c88, state:R, thread_t:
    t@44, threadID:0xd92a1dc8, stack_bottom:0xd92a2000, stack_size:0x20000)
    prio=5
    [1] java.net.PlainSocketImpl.socketAccept(Native Method)
    [2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:406)
    [3] java.net.ServerSocket.implAccept(ServerSocket.java:238)
    [4] java.net.ServerSocket.accept(ServerSocket.java:223)
    [5] weblogic.t3.srvr.ListenThread.run(ListenThread.java:230)
    "ExecuteThread-29" (TID:0xad1c90, sys_thread_t:0xad1bd0, state:CW, thread_t:
    t@40, threadID:0xd94e1dc8, stack_bottom:0xd94e2000, stack_size:0x20000)
    prio=5
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5] com.nps.ers.ejb.user.UserBeanEOImpl.display(UserBeanEOImpl.java:1384)
    [6]
    com.nps.ers.ejb.awardnomination.AwardNominationBean.updatePointsUsed(AwardNo
    minationBean.java:1530)
    [7]
    com.nps.ers.ejb.awardnomination.AwardNominationBean.nominate(AwardNomination
    Bean.java:1279)
    [8]
    com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl.nominate(AwardNomi
    nationBeanEOImpl.java:282)
    [9]
    com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl_ServiceStub.nomina
    te(AwardNominationBeanEOImpl_ServiceStub.java:811)
    [10]
    com.nps.ers.servlet.AwardNominationRequest.nominate(AwardNominationRequest.j
    ava:1339)
    [11]
    com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
    quest.java:276)
    [12]
    com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
    t.java:109)
    [13] com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
    [14] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
    [15] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
    [16] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
    [17]
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :75)
    [18]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:259)
    [19]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:244)
    [20]
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
    [21] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
    [22] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-28" (TID:0xad1a78, sys_thread_t:0xad19b8, state:CW, thread_t:
    t@39, threadID:0xd9511dc8, stack_bottom:0xd9512000, stack_size:0x20000)
    prio=5
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5]
    com.nps.ers.ejb.organization.ERSSystemConfigurationBeanEOImpl.getEMTRoleId(E
    RSSystemConfigurationBeanEOImpl.java:1539)
    [6]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBean.checkEMT(ApproverSelec
    tionBean.java:473)
    [7]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl.checkEMT(Approve
    rSelectionBeanEOImpl.java:71)
    [8]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl_ServiceStub.chec
    kEMT(ApproverSelectionBeanEOImpl_ServiceStub.java:501)
    [9]
    com.nps.ers.servlet.NortelApproverSelection.updateApproverList(NortelApprove
    rSelection.java:87)
    [10]
    com.nps.ers.servlet.NortelApproverSelection.getApproverList(NortelApproverSe
    lection.java:62)
    [11]
    com.nps.ers.servlet.AwardNominationRequest.getApprovers(AwardNominationReque
    st.java:1412)
    [12]
    com.nps.ers.servlet.AwardNominationRequest.previewNominate(AwardNominationRe
    quest.java:1096)
    [13]
    com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
    quest.java:276)
    [14]
    com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
    t.java:109)
    [15] com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
    [16] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
    [17] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
    [18] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
    [19]
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :75)
    [20]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:259)
    [21]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:244)
    [22]
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
    [23] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
    [24] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-27" (TID:0xad1678, sys_thread_t:0xad15b8, state:CW, thread_t:
    t@38, threadID:0xd9541dc8, stack_bottom:0xd9542000, stack_size:0x20000)
    prio=5
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5]
    com.nps.ers.ejb.organization.ERSSystemConfigurationBeanEOImpl.getEMTRoleId(E
    RSSystemConfigurationBeanEOImpl.java:1539)
    [6]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBean.checkEMT(ApproverSelec
    tionBean.java:473)
    [7]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl.checkEMT(Approve
    rSelectionBeanEOImpl.java:71)
    [8]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl_ServiceStub.chec
    kEMT(ApproverSelectionBeanEOImpl_ServiceStub.java:501)
    [9]
    com.nps.ers.servlet.NortelApproverSelection.updateApproverList(NortelApprove
    rSelection.java:87)
    [10]
    com.nps.ers.servlet.NortelApproverSelection.getApproverList(NortelApproverSe
    lection.java:62)
    [11]
    com.nps.ers.servlet.AwardNominationRequest.getApprovers(AwardNominationReque
    st.java:1412)
    [12]
    com.nps.ers.servlet.AwardNominationRequest.previewNominate(AwardNominationRe
    quest.java:1096)
    [13]
    com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
    quest.java:276)
    [14]
    com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
    t.java:109)
    [15] com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
    [16] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
    [17] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
    [18] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
    [19]
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :75)
    [20]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:259)
    [21]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:244)
    [22]
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
    [23] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
    [24] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-26" (TID:0xac84e8, sys_thread_t:0xac8428, state:CW, thread_t:
    t@37, threadID:0xd9571dc8, stack_bottom:0xd9572000, stack_size:0x20000)
    prio=5
    [1] weblogic.common.internal.DynaQueue.getW(DynaQueue.java:219)
    [2] weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:212)
    [3] weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
    [4] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-25" (TID:0xab7d50, sys_thread_t:0xab7c90, state:CW, thread_t:
    t@36, threadID:0xd95a1dc8, stack_bottom:0xd95a2000, stack_size:0x20000)
    prio=5
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5]
    com.nps.ers.ejb.organization.ERSSystemConfigurationBeanEOImpl.getEMTRoleId(E
    RSSystemConfigurationBeanEOImpl.java:1539)
    [6]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBean.checkEMT(ApproverSelec
    tionBean.java:473)
    [7]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl.checkEMT(Approve
    rSelectionBeanEOImpl.java:71)
    [8]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl_ServiceStub.chec
    kEMT(ApproverSelectionBeanEOImpl_ServiceStub.java:501)
    [9]
    com.nps.ers.servlet.NortelApproverSelection.updateApproverList(NortelApprove
    rSelection.java:87)
    [10]
    com.nps.ers.servlet.NortelApproverSelection.getApproverList(NortelApproverSe
    lection.java:62)
    [11]
    com.nps.ers.servlet.AwardNominationRequest.getApprovers(AwardNominationReque
    st.java:1412)
    [12]
    com.nps.ers.servlet.AwardNominationRequest.previewNominate(AwardNominationRe
    quest.java:1096)
    [13]
    com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
    quest.java:276)
    [14]
    com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
    t.java:109)
    [15] com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
    [16] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
    [17] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
    [18] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
    [19]
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :75)
    [20]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:259)
    [21]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:244)
    [22]
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
    [23] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
    [24] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-24" (TID:0xab9b60, sys_thread_t:0xab9aa0, state:CW, thread_t:
    t@35, threadID:0xd95d1dc8, stack_bottom:0xd95d2000, stack_size:0x20000)
    prio=5
    [1] weblogic.common.internal.DynaQueue.getW(DynaQueue.java:219)
    [2] weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:212)
    [3] weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
    [4] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-23" (TID:0xab9948, sys_thread_t:0xab9888, state:CW, thread_t:
    t@34, threadID:0xd9601dc8, stack_bottom:0xd9602000, stack_size:0x20000)
    prio=5
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5] com.nps.ers.ejb.user.UserBeanEOImpl.getUserId(UserBeanEOImpl.java:182)
    [6]
    com.nps.ers.ejb.login.LoginSessionBean.getUserStatus(LoginSessionBean.java:1
    61)
    [7]
    com.nps.ers.ejb.login.LoginSessionBeanEOImpl.getUserStatus(LoginSessionBeanE
    OImpl.java:212)
    [8]
    com.nps.ers.ejb.login.LoginSessionBeanEOImpl_ServiceStub.getUserStatus(Login
    SessionBeanEOImpl_ServiceStub.java:554)
    [9]
    com.nps.ers.servlet.LoginRequest.processLoginRequest(LoginRequest.java:248)
    [10] com.nps.ers.servlet.LoginRequest.getNextPage(LoginRequest.java:90)
    [11] com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
    [12] com.nps.common.servlet.BaseServlet.doGet(BaseServlet.java:124)
    [13] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
    [14] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
    [15]
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :75)
    [16]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:259)
    [17]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:244)
    [18]
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
    [19] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
    [20] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-22" (TID:0xabcc20, sys_thread_t:0xabcb60, state:CW, thread_t:
    t@33, threadID:0xd9631dc8, stack_bottom:0xd9632000, stack_size:0x20000)
    prio=5
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5]
    com.nps.ers.ejb.organization.ERSSystemConfigurationBeanEOImpl.getEMTRoleId(E
    RSSystemConfigurationBeanEOImpl.java:1539)
    [6]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBean.checkEMT(ApproverSelec
    tionBean.java:473)
    [7]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl.checkEMT(Approve
    rSelectionBeanEOImpl.java:71)
    [8]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl_ServiceStub.chec
    kEMT(ApproverSelectionBeanEOImpl_ServiceStub.java:501)
    [9]
    com.nps.ers.servlet.NortelApproverSelection.updateApproverList(NortelApprove
    rSelection.java:87)
    [10]
    com.nps.ers.servlet.NortelApproverSelection.getApproverList(NortelApproverSe
    lection.java:62)
    [11]
    com.nps.ers.servlet.AwardNominationRequest.getApprovers(AwardNominationReque
    st.java:1412)
    [12]
    com.nps.ers.servlet.AwardNominationRequest.previewNominate(AwardNominationRe
    quest.java:1096)
    [13]
    com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
    quest.java:276)
    [14]
    com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
    t.java:109)
    [15] com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
    [16] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
    [17] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
    [18] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
    [19]
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :75)
    [20]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:259)
    [21]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:244)
    [22]
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
    [23] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
    [24] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-21" (TID:0xa9ccf0, sys_thread_t:0xa9cc30, state:CW, thread_t:
    t@32, threadID:0xd9661dc8, stack_bottom:0xd9662000, stack_size:0x20000)
    prio=5
    [1] weblogic.common.internal.DynaQueue.getW(DynaQueue.java:219)
    [2] weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:212)
    [3] weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
    [4] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-20" (TID:0xab2550, sys_thread_t:0xab2490, state:R, thread_t:
    t@31, threadID:0xd9691dc8, stack_bottom:0xd9692000, stack_size:0x20000)
    prio=5
    [1] java.net.SocketInputStream.socketRead(Native Method)
    [2] java.net.SocketInputStream.read(SocketInputStream.java:85)
    [3] weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:212)
    [4] weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
    [5] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-19" (TID:0xa640c0, sys_thread_t:0xa64000, state:CW, thread_t:
    t@30, threadID:0xd96c1dc8, stack_bottom:0xd96c2000, stack_size:0x20000)
    prio=5
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5] com.nps.ers.ejb.user.UserBeanEOImpl.display(UserBeanEOImpl.java:1384)
    [6]
    com.nps.ers.ejb.awardnomination.AwardNominationBean.updatePointsUsed(AwardNo
    minationBean.java:1530)
    [7]
    com.nps.ers.ejb.awardnomination.AwardNominationBean.nominate(AwardNomination
    Bean.java:1279)
    [8]
    com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl.nominate(AwardNomi
    nationBeanEOImpl.java:282)
    [9]
    com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl_ServiceStub.nomina
    te(AwardNominationBeanEOImpl_ServiceStub.java:811)
    [10]
    com.nps.ers.servlet.AwardNominationRequest.nominate(AwardNominationRequest.j
    ava:1339)
    [11]
    com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
    quest.java:276)
    [12]
    com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
    t.java:109)
    [13] com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
    [14] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
    [15] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
    [16] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
    [17]
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :75)
    [18]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:259)
    [19]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:244)
    [20]
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
    [21] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
    [22] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-18" (TID:0xa502d8, sys_thread_t:0xa50218, state:CW, thread_t:
    t@29, threadID:0xd96f1dc8, stack_bottom:0xd96f2000, stack_size:0x20000)
    prio=5
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5]
    com.nps.ers.ejb.organization.ERSSystemConfigurationBeanEOImpl.getCashWithinD
    ays(ERSSystemConfigurationBeanEOImpl.java:1231)
    [6]
    com.nps.ers.ejb.awardnomination.AwardNominationBean.getAwardNominationNotifi
    cationStates(AwardNominationBean.java:772)
    [7]
    com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl.getAwardNomination
    NotificationStates(AwardNominationBeanEOImpl.java:247)
    [8]
    com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl_ServiceStub.getAwa
    rdNominationNotificationStates(AwardNominationBeanEOImpl_ServiceStub.java:41
    5)
    [9]
    com.nps.ers.servlet.AwardNominationRequest.nominate(AwardNominationRequest.j
    ava:1339)
    [10]
    com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
    quest.java:276)
    [11]
    com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
    t.java:109)
    [12] com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
    [13] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
    [14] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
    [15] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
    [16]
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :75)
    [17]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:259)
    [18]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:244)
    [19]
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
    [20] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
    [21] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-17" (TID:0xa242d8, sys_thread_t:0xa24218, state:CW, thread_t:
    t@28, threadID:0xd9721dc8, stack_bottom:0xd9722000, stack_size:0x20000)
    prio=5
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5]
    com.nps.ers.ejb.user.UserBeanEOImpl.getUserStatusCode(UserBeanEOImpl.java:22
    77)
    [6]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBean.getApprovers(ApproverS
    electionBean.java:352)
    [7]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl.getApprovers(App
    roverSelectionBeanEOImpl.java:140)
    [8]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl_ServiceStub.getA
    pprovers(ApproverSelectionBeanEOImpl_ServiceStub.java:554)
    [9]
    com.nps.ers.servlet.ApproverSelection.getApproverList(ApproverSelection.java
    :81)
    [10]
    com.nps.ers.servlet.NortelApproverSelection.getApproverList(NortelApproverSe
    lection.java:62)
    [11]
    com.nps.ers.servlet.AwardNominationRequest.getApprovers(AwardNominationReque
    st.java:1412)
    [12]
    com.nps.ers.servlet.AwardNominationRequest.previewNominate(AwardNominationRe
    quest.java:1096)
    [13]
    com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
    quest.java:276)
    [14]
    com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
    t.java:109)
    [15] com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
    [16] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
    [17] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
    [18] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
    [19]
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :75)
    [20]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:259)
    [21]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:244)
    [22]
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
    [23] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
    [24] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-16" (TID:0xaa0ed8, sys_thread_t:0xaa0e18, state:CW, thread_t:
    t@27, threadID:0xd9751dc8, stack_bottom:0xd9752000, stack_size:0x20000)
    prio=5
    [1] weblogic.common.internal.DynaQueue.getW(DynaQueue.java:219)
    [2] weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:212)
    [3] weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
    [4] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-15" (TID:0xad0220, sys_thread_t:0xad0160, state:CW, thread_t:
    t@26, threadID:0xd9781dc8, stack_bottom:0xd9782000, stack_size:0x20000)
    prio=5
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5] com.nps.ers.ejb.user.UserBeanEOImpl.getUserId(UserBeanEOImpl.java:182)
    [6]
    com.nps.ers.ejb.login.LoginSessionBean.getUserStatus(LoginSessionBean.java:1
    61)
    [7]
    com.nps.ers.ejb.login.LoginSessionBeanEOImpl.getUserStatus(LoginSessionBeanE
    OImpl.java:212)
    [8]
    com.nps.ers.ejb.login.LoginSessionBeanEOImpl_ServiceStub.getUserStatus(Login
    SessionBeanEOImpl_ServiceStub.java:554)
    [9]
    com.nps.ers.servlet.LoginRequest.processLoginRequest(LoginRequest.java:248)
    [10] com.nps.ers.servlet.LoginRequest.getNextPage(LoginRequest.java:90)
    [11] com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
    [12] com.nps.common.servlet.BaseServlet.doGet(BaseServlet.java:124)
    [13] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
    [14] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
    [15]
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :75)
    [16]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:259)
    [17]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:244)
    [18]
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
    [19] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
    [20] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-14" (TID:0xa8f4c0, sys_thread_t:0xa8f400, state:CW, thread_t:
    t@25, threadID:0xd97b1dc8, stack_bottom:0xd97b2000, stack_size:0x20000)
    prio=5
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5]
    com.nps.ers.ejb.organization.ERSSystemConfigurationBeanEOImpl.getCashWithinD
    ays(ERSSystemConfigurationBeanEOImpl.java:1231)
    [6]
    com.nps.ers.ejb.awardnomination.AwardNominationBean.getAwardNominationNotifi
    cationStates(AwardNominationBean.java:772)
    [7]
    com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl.getAwardNomination
    NotificationStates(AwardNominationBeanEOImpl.java:247)
    [8]
    com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl_ServiceStub.getAwa
    rdNominationNotificationStates(AwardNominationBeanEOImpl_ServiceStub.java:41
    5)
    [9]
    com.nps.ers.servlet.AwardNominationRequest.nominate(AwardNominationRequest.j
    ava:1339)
    [10]
    com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
    quest.java:276)
    [11]
    com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
    t.java:109)
    [12] com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
    [13] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
    [14] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
    [15] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
    [16]
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :75)
    [17]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:259)
    [18]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:244)
    [19]
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
    [20] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
    [21] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-13" (TID:0xa194f0, sys_thread_t:0xa19430, state:CW, thread_t:
    t@24, threadID:0xd97e1dc8, stack_bottom:0xd97e2000, stack_size:0x20000)
    prio=5
    [1] weblogic.common.internal.DynaQueue.getW(DynaQueue.java:219)
    [2] weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:212)
    [3] weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
    [4] weblogic.t3.srvr.E

    Can you post details on this instrumentation?
    I know in the past when we ran into this type of problem, it took us a while
    to think through and identify the problems.
    Thanks,
    Gary
    Rob Woollen <[email protected]> wrote in message
    news:[email protected]...
    Generally this indicates a deadlock in the order that you access your
    entity beans. Please follow-up with [email protected]. There is
    some instrumentation that you can turn on to help spot why this is
    occurring.
    -- Rob
    Sandeep Giri wrote:
    Hi
    While running stress tests on our application, our WLS 4.5.1 hangs even
    at a
    mere load of 20 users. We are running on a Solaris machine. Database:Oracle
    8.1.5, running on the same machine. Usingoracle.jdbc.driver.OracleDriver as
    the JDBC driver, and using JTS as the transaction manager.
    When we did a thread dump (complete lis at the end of this post) and
    basically we are seeing a bunch of our entity beans in a "locked" state.A
    common pattern we see in the thread dumps is that
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2]weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4]weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5] com.nps.ers.ejb.organization.<Our Entiy Bean>EOImpl.<a get
    method>(ERSSystemConfigurationBeanEOImpl.java:1539)
    [6] com.nps.ers.ejb.awardnomination.<Our entity bean>.<some method>
    After more thorough studying of EJB transactions, we changed theisolation
    level of all our beans from TRANSACTION_SERIALIZED to
    TRANSACTION_READ_COMMITTED and made sure all our beans say TX_REQUIREDfor
    their transactionAttribue. Still, this problem persists.
    The basic scenario we are load testing is that of multiple users logging
    into the system and trying to access a particular user's record, andright
    now, this is causing deadlocks at 20 users.
    What we fail to understand is that --
    (a) even if a method is attempting a read-only access to the data, whywould
    it try to obtain a lock? or why would it matter that the data is locked?
    Some of the locks we are seeing are actually on a bean that is used for
    read-only purposes.
    (b) if 2 or more processes are trying to access the same record, basedon
    whichever process got their first, shouldn't one succeed, and the othergo
    into a 'waiting' state?
    We have also opened this issue with weblogic support, and the responseso
    far has been that there "may" be a bug in weblogic 4.5.1 itself that's
    causing it, and they need to look into it further. Other similar postsin
    the newsgroup haven't been resolved either -- hence this general pleafor
    help. Please advise if you've any suggestions. Thanks
    Sandeep
    ---------------------------Complete Thread DumpListing -------------------
    >>
    "HighPriority TimeEventGenerator" (TID:0x1488278,sys_thread_t:0x14881b8,
    state:CW, thread_t: t@46, threadID:0xd9271dc8, stack_bottom:0xd9272000,
    stack_size:0x20000) prio=9
    [1] weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:249)
    [2]
    weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java
    :143)
    [3] java.lang.Thread.run(Thread.java:479)
    "SSLListenThread" (TID:0x1588220, sys_thread_t:0x1588160, state:R,thread_t:
    t@45, threadID:0xd9321dc8, stack_bottom:0xd9322000, stack_size:0x20000)
    prio=5
    [1] java.net.PlainSocketImpl.socketAccept(Native Method)
    [2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:406)
    [3] java.net.ServerSocket.implAccept(ServerSocket.java:240)
    [4] java.net.ServerSocket.accept(ServerSocket.java:224)
    [5]
    weblogic.security.SSL.SSLServerSocket.acceptNoHandshake(SSLServerSocket.java
    :121)
    [6]weblogic.security.SSL.SSLServerSocket.accept(SSLServerSocket.java:112)
    [7] weblogic.t3.srvr.ListenThread.run(ListenThread.java:230)
    "ListenThread" (TID:0x15f7d48, sys_thread_t:0x15f7c88, state:R,thread_t:
    t@44, threadID:0xd92a1dc8, stack_bottom:0xd92a2000, stack_size:0x20000)
    prio=5
    [1] java.net.PlainSocketImpl.socketAccept(Native Method)
    [2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:406)
    [3] java.net.ServerSocket.implAccept(ServerSocket.java:238)
    [4] java.net.ServerSocket.accept(ServerSocket.java:223)
    [5] weblogic.t3.srvr.ListenThread.run(ListenThread.java:230)
    "ExecuteThread-29" (TID:0xad1c90, sys_thread_t:0xad1bd0, state:CW,thread_t:
    t@40, threadID:0xd94e1dc8, stack_bottom:0xd94e2000, stack_size:0x20000)
    prio=5
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2]weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4]weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5]com.nps.ers.ejb.user.UserBeanEOImpl.display(UserBeanEOImpl.java:1384)
    [6]
    com.nps.ers.ejb.awardnomination.AwardNominationBean.updatePointsUsed(AwardNo
    minationBean.java:1530)
    [7]
    com.nps.ers.ejb.awardnomination.AwardNominationBean.nominate(AwardNomination
    Bean.java:1279)
    [8]
    com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl.nominate(AwardNomi
    nationBeanEOImpl.java:282)
    [9]
    com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl_ServiceStub.nomina
    te(AwardNominationBeanEOImpl_ServiceStub.java:811)
    [10]
    com.nps.ers.servlet.AwardNominationRequest.nominate(AwardNominationRequest.j
    ava:1339)
    [11]
    com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
    quest.java:276)
    [12]
    com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
    t.java:109)
    [13]com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
    [14] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
    [15] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
    [16] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
    [17]
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :75)
    [18]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:259)
    [19]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:244)
    [20]
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
    [21]weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
    [22] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-28" (TID:0xad1a78, sys_thread_t:0xad19b8, state:CW,thread_t:
    t@39, threadID:0xd9511dc8, stack_bottom:0xd9512000, stack_size:0x20000)
    prio=5
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2]weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4]weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5]
    com.nps.ers.ejb.organization.ERSSystemConfigurationBeanEOImpl.getEMTRoleId(E
    RSSystemConfigurationBeanEOImpl.java:1539)
    [6]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBean.checkEMT(ApproverSelec
    tionBean.java:473)
    [7]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl.checkEMT(Approve
    rSelectionBeanEOImpl.java:71)
    [8]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl_ServiceStub.chec
    kEMT(ApproverSelectionBeanEOImpl_ServiceStub.java:501)
    [9]
    com.nps.ers.servlet.NortelApproverSelection.updateApproverList(NortelApprove
    rSelection.java:87)
    [10]
    com.nps.ers.servlet.NortelApproverSelection.getApproverList(NortelApproverSe
    lection.java:62)
    [11]
    com.nps.ers.servlet.AwardNominationRequest.getApprovers(AwardNominationReque
    st.java:1412)
    [12]
    com.nps.ers.servlet.AwardNominationRequest.previewNominate(AwardNominationRe
    quest.java:1096)
    [13]
    com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
    quest.java:276)
    [14]
    com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
    t.java:109)
    [15]com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
    [16] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
    [17] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
    [18] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
    [19]
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :75)
    [20]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:259)
    [21]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:244)
    [22]
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
    [23]weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
    [24] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-27" (TID:0xad1678, sys_thread_t:0xad15b8, state:CW,thread_t:
    t@38, threadID:0xd9541dc8, stack_bottom:0xd9542000, stack_size:0x20000)
    prio=5
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2]weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4]weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5]
    com.nps.ers.ejb.organization.ERSSystemConfigurationBeanEOImpl.getEMTRoleId(E
    RSSystemConfigurationBeanEOImpl.java:1539)
    [6]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBean.checkEMT(ApproverSelec
    tionBean.java:473)
    [7]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl.checkEMT(Approve
    rSelectionBeanEOImpl.java:71)
    [8]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl_ServiceStub.chec
    kEMT(ApproverSelectionBeanEOImpl_ServiceStub.java:501)
    [9]
    com.nps.ers.servlet.NortelApproverSelection.updateApproverList(NortelApprove
    rSelection.java:87)
    [10]
    com.nps.ers.servlet.NortelApproverSelection.getApproverList(NortelApproverSe
    lection.java:62)
    [11]
    com.nps.ers.servlet.AwardNominationRequest.getApprovers(AwardNominationReque
    st.java:1412)
    [12]
    com.nps.ers.servlet.AwardNominationRequest.previewNominate(AwardNominationRe
    quest.java:1096)
    [13]
    com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
    quest.java:276)
    [14]
    com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
    t.java:109)
    [15]com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
    [16] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
    [17] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
    [18] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
    [19]
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :75)
    [20]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:259)
    [21]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:244)
    [22]
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
    [23]weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
    [24] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-26" (TID:0xac84e8, sys_thread_t:0xac8428, state:CW,thread_t:
    t@37, threadID:0xd9571dc8, stack_bottom:0xd9572000, stack_size:0x20000)
    prio=5
    [1] weblogic.common.internal.DynaQueue.getW(DynaQueue.java:219)
    [2]weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:212)
    [3]weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
    [4] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-25" (TID:0xab7d50, sys_thread_t:0xab7c90, state:CW,thread_t:
    t@36, threadID:0xd95a1dc8, stack_bottom:0xd95a2000, stack_size:0x20000)
    prio=5
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2]weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4]weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5]
    com.nps.ers.ejb.organization.ERSSystemConfigurationBeanEOImpl.getEMTRoleId(E
    RSSystemConfigurationBeanEOImpl.java:1539)
    [6]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBean.checkEMT(ApproverSelec
    tionBean.java:473)
    [7]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl.checkEMT(Approve
    rSelectionBeanEOImpl.java:71)
    [8]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl_ServiceStub.chec
    kEMT(ApproverSelectionBeanEOImpl_ServiceStub.java:501)
    [9]
    com.nps.ers.servlet.NortelApproverSelection.updateApproverList(NortelApprove
    rSelection.java:87)
    [10]
    com.nps.ers.servlet.NortelApproverSelection.getApproverList(NortelApproverSe
    lection.java:62)
    [11]
    com.nps.ers.servlet.AwardNominationRequest.getApprovers(AwardNominationReque
    st.java:1412)
    [12]
    com.nps.ers.servlet.AwardNominationRequest.previewNominate(AwardNominationRe
    quest.java:1096)
    [13]
    com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
    quest.java:276)
    [14]
    com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
    t.java:109)
    [15]com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
    [16] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
    [17] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
    [18] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
    [19]
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :75)
    [20]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:259)
    [21]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:244)
    [22]
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
    [23]weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
    [24] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-24" (TID:0xab9b60, sys_thread_t:0xab9aa0, state:CW,thread_t:
    t@35, threadID:0xd95d1dc8, stack_bottom:0xd95d2000, stack_size:0x20000)
    prio=5
    [1] weblogic.common.internal.DynaQueue.getW(DynaQueue.java:219)
    [2]weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:212)
    [3]weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
    [4] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-23" (TID:0xab9948, sys_thread_t:0xab9888, state:CW,thread_t:
    t@34, threadID:0xd9601dc8, stack_bottom:0xd9602000, stack_size:0x20000)
    prio=5
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2]weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4]weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5]com.nps.ers.ejb.user.UserBeanEOImpl.getUserId(UserBeanEOImpl.java:182)
    [6]
    com.nps.ers.ejb.login.LoginSessionBean.getUserStatus(LoginSessionBean.java:1
    61)
    [7]
    com.nps.ers.ejb.login.LoginSessionBeanEOImpl.getUserStatus(LoginSessionBeanE
    OImpl.java:212)
    [8]
    com.nps.ers.ejb.login.LoginSessionBeanEOImpl_ServiceStub.getUserStatus(Login
    SessionBeanEOImpl_ServiceStub.java:554)
    [9]
    com.nps.ers.servlet.LoginRequest.processLoginRequest(LoginRequest.java:248)
    [10] com.nps.ers.servlet.LoginRequest.getNextPage(LoginRequest.java:90)
    [11]com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
    [12] com.nps.common.servlet.BaseServlet.doGet(BaseServlet.java:124)
    [13] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
    [14] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
    [15]
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :75)
    [16]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:259)
    [17]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:244)
    [18]
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
    [19]weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
    [20] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-22" (TID:0xabcc20, sys_thread_t:0xabcb60, state:CW,thread_t:
    t@33, threadID:0xd9631dc8, stack_bottom:0xd9632000, stack_size:0x20000)
    prio=5
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2]weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4]weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5]
    com.nps.ers.ejb.organization.ERSSystemConfigurationBeanEOImpl.getEMTRoleId(E
    RSSystemConfigurationBeanEOImpl.java:1539)
    [6]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBean.checkEMT(ApproverSelec
    tionBean.java:473)
    [7]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl.checkEMT(Approve
    rSelectionBeanEOImpl.java:71)
    [8]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl_ServiceStub.chec
    kEMT(ApproverSelectionBeanEOImpl_ServiceStub.java:501)
    [9]
    com.nps.ers.servlet.NortelApproverSelection.updateApproverList(NortelApprove
    rSelection.java:87)
    [10]
    com.nps.ers.servlet.NortelApproverSelection.getApproverList(NortelApproverSe
    lection.java:62)
    [11]
    com.nps.ers.servlet.AwardNominationRequest.getApprovers(AwardNominationReque
    st.java:1412)
    [12]
    com.nps.ers.servlet.AwardNominationRequest.previewNominate(AwardNominationRe
    quest.java:1096)
    [13]
    com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
    quest.java:276)
    [14]
    com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
    t.java:109)
    [15]com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
    [16] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
    [17] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
    [18] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
    [19]
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :75)
    [20]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:259)
    [21]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:244)
    [22]
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
    [23]weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
    [24] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-21" (TID:0xa9ccf0, sys_thread_t:0xa9cc30, state:CW,thread_t:
    t@32, threadID:0xd9661dc8, stack_bottom:0xd9662000, stack_size:0x20000)
    prio=5
    [1] weblogic.common.internal.DynaQueue.getW(DynaQueue.java:219)
    [2]weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:212)
    [3]weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
    [4] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-20" (TID:0xab2550, sys_thread_t:0xab2490, state:R,thread_t:
    t@31, threadID:0xd9691dc8, stack_bottom:0xd9692000, stack_size:0x20000)
    prio=5
    [1] java.net.SocketInputStream.socketRead(Native Method)
    [2] java.net.SocketInputStream.read(SocketInputStream.java:85)
    [3]weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:212)
    [4]weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
    [5] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-19" (TID:0xa640c0, sys_thread_t:0xa64000, state:CW,thread_t:
    t@30, threadID:0xd96c1dc8, stack_bottom:0xd96c2000, stack_size:0x20000)
    prio=5
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2]weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4]weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5]com.nps.ers.ejb.user.UserBeanEOImpl.display(UserBeanEOImpl.java:1384)
    [6]
    com.nps.ers.ejb.awardnomination.AwardNominationBean.updatePointsUsed(AwardNo
    minationBean.java:1530)
    [7]
    com.nps.ers.ejb.awardnomination.AwardNominationBean.nominate(AwardNomination
    Bean.java:1279)
    [8]
    com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl.nominate(AwardNomi
    nationBeanEOImpl.java:282)
    [9]
    com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl_ServiceStub.nomina
    te(AwardNominationBeanEOImpl_ServiceStub.java:811)
    [10]
    com.nps.ers.servlet.AwardNominationRequest.nominate(AwardNominationRequest.j
    ava:1339)
    [11]
    com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
    quest.java:276)
    [12]
    com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
    t.java:109)
    [13]com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
    [14] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
    [15] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
    [16] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
    [17]
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :75)
    [18]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:259)
    [19]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:244)
    [20]
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
    [21]weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
    [22] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-18" (TID:0xa502d8, sys_thread_t:0xa50218, state:CW,thread_t:
    t@29, threadID:0xd96f1dc8, stack_bottom:0xd96f2000, stack_size:0x20000)
    prio=5
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2]weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4]weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5]
    com.nps.ers.ejb.organization.ERSSystemConfigurationBeanEOImpl.getCashWithinD
    ays(ERSSystemConfigurationBeanEOImpl.java:1231)
    [6]
    com.nps.ers.ejb.awardnomination.AwardNominationBean.getAwardNominationNotifi
    cationStates(AwardNominationBean.java:772)
    [7]
    com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl.getAwardNomination
    NotificationStates(AwardNominationBeanEOImpl.java:247)
    [8]
    com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl_ServiceStub.getAwa
    >>
    rdNominationNotificationStates(AwardNominationBeanEOImpl_ServiceStub.java:41
    5)
    [9]
    com.nps.ers.servlet.AwardNominationRequest.nominate(AwardNominationRequest.j
    ava:1339)
    [10]
    com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
    quest.java:276)
    [11]
    com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
    t.java:109)
    [12]com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
    [13] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
    [14] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
    [15] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
    [16]
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :75)
    [17]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:259)
    [18]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:244)
    [19]
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
    [20]weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
    [21] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-17" (TID:0xa242d8, sys_thread_t:0xa24218, state:CW,thread_t:
    t@28, threadID:0xd9721dc8, stack_bottom:0xd9722000, stack_size:0x20000)
    prio=5
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2]weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4]weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5]
    com.nps.ers.ejb.user.UserBeanEOImpl.getUserStatusCode(UserBeanEOImpl.java:22
    77)
    [6]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBean.getApprovers(ApproverS
    electionBean.java:352)
    [7]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl.getApprovers(App
    roverSelectionBeanEOImpl.java:140)
    [8]
    com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl_ServiceStub.getA
    pprovers(ApproverSelectionBeanEOImpl_ServiceStub.java:554)
    [9]
    com.nps.ers.servlet.ApproverSelection.getApproverList(ApproverSelection.java
    :81)
    [10]
    com.nps.ers.servlet.NortelApproverSelection.getApproverList(NortelApproverSe
    lection.java:62)
    [11]
    com.nps.ers.servlet.AwardNominationRequest.getApprovers(AwardNominationReque
    st.java:1412)
    [12]
    com.nps.ers.servlet.AwardNominationRequest.previewNominate(AwardNominationRe
    quest.java:1096)
    [13]
    com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
    quest.java:276)
    [14]
    com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
    t.java:109)
    [15]com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
    [16] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
    [17] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
    [18] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
    [19]
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :75)
    [20]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:259)
    [21]
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:244)
    [22]
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
    [23]weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
    [24] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-16" (TID:0xaa0ed8, sys_thread_t:0xaa0e18, state:CW,thread_t:
    t@27, threadID:0xd9751dc8, stack_bottom:0xd9752000, stack_size:0x20000)
    prio=5
    [1] weblogic.common.internal.DynaQueue.getW(DynaQueue.java:219)
    [2]weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:212)
    [3]weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
    [4] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
    "ExecuteThread-15" (TID:0xad0220, sys_thread_t:0xad0160, state:CW,thread_t:
    t@26, threadID:0xd9781dc8, stack_bottom:0xd9782000, stack_size:0x20000)
    prio=5
    [1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
    [2]weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
    [3]
    weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
    t.java:88)
    [4]weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
    [5]com.nps.ers.ejb.user.UserBeanEOImpl.getUserId(UserBeanEOImpl.java:182)
    [6]
    com.nps.ers.ejb.login.LoginSessionBean.getUserStatus(LoginSessionBean.java:1
    61)
    [7]
    com.nps.ers.ejb.login.LoginSessionBeanEOImpl.getUserStatus(LoginSessionBeanE
    OImpl.java:212)
    [8]
    com.nps.ers.ejb.login.LoginSessionBeanEOImpl_ServiceStub.getUserStatus(Login
    SessionBeanEOImpl_ServiceStub.java:554)
    [9]
    com.nps.ers.servlet.LoginRequest.processLoginRequest(LoginRequest.java:248)
    [10] com.nps.ers.servlet.LoginRequest.getNextPage(LoginRequest.java:90)
    [11]com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
    [12] com.nps.common.servlet.BaseServlet.doGet(BaseServlet.java:124)
    [13] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
    [14

  • SwingBench an Oracle Stress Test and Benchmark tool

    Last week I was in a RAC workshop hosted by Oracle.
    In the workshop, Oracle using a tool called Swingbench to generate load for RAC testing. Which is pretty interesting and good tools.
    Since I have seen quite a few inquiry regarding a good benchmarking and load generating tools. I thought it might be good idea to share it.
    It's free and can be downloaded here.
    http://www.dominicgiles.com/swingbench.html
    Swingbench is a free load generator (and benchmarks) designed to stress test an Oracle database (9i or 10g)

    Hi,
    To add to what yingkuan said, there is one more free stress testing tool called hammerora.
    http://hammerora.sourceforge.net/
    Regards

  • Duplicating a database for tests

    I need to be able to re-create the same database, with the same content of datafiles, to conduct several stress tests. Is it possible to just back-up the entire Oracle Home directory, do the first series of tests, and then restore the entire directory to go back to the initial state?
    As this seems unlikely, what would be the best approach to quickly "reset" the database to its initial physical state? For instance, if the datafiles got extended because of the large amount of data loaded in the first test, the next test should start with the initial configuration of everything.

    Actually, it doesn't seem to work. First, I had to shutdown the database to be able to move the datafiles directory. I was able then to replace this directory and startup the database. But there is an error that prevents me from logging in again:
    Agent Connection to Instance
    Status Failed
    Details ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
    The listener status is UP, only the agent connection to instance is down. As I am not able to connect, I cannot restart the database.
    Fortunately, I can fix it be putting back the original datafiles directory.
    Is there a step that I am missing, which would enable me to swap directories?

  • Toplink problem during stress tests

    Hello
    I have created simple Three tier application, where SLSBs connects using Toplink to Oracle database. During stress tests I'm having very offen following exception:
    Wyj¦tek [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseException
    Opis wyj¦tku: java.sql.SQLException: Wyj?tek we-wy: The Network Adapter could not establish the connection
    Wyj¦tek wewnŕtrzny: java.sql.SQLException: Wyj?tek we-wy: The Network Adapter could not establish the connection
    Error code: 17002
         at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:221)
         at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:105)
         at oracle.toplink.sessions.DatabaseLogin.connect(DatabaseLogin.java:218)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.reconnect(DatabaseAccessor.java:1323)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.incrementCallCount(DatabaseAccessor.java:1198)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:633)
         at oracle.toplink.threetier.ServerSession.executeCall(ServerSession.java:506)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(CallQueryMechanism.java:131)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(CallQueryMechanism.java:115)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.executeSelectCall(CallQueryMechanism.java:194)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.selectAllRows(CallQueryMechanism.java:565)
         at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllRowsFromTable(ExpressionQueryMechanism.java:733)
         at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllRows(ExpressionQueryMechanism.java:708)
         at oracle.toplink.queryframework.ReadAllQuery.execute(ReadAllQuery.java:447)
         at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:493)
         at oracle.toplink.queryframework.ReadQuery.execute(ReadQuery.java:125)
         at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:1958)
         at oracle.toplink.threetier.ServerSession.internalExecuteQuery(ServerSession.java:629)
         at oracle.toplink.threetier.ClientSession.internalExecuteQuery(ClientSession.java:392)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1086)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1038)
         at petstore.ejb.OrderFacadeBean.getUserOrders(OrderFacadeBean.java:190)
         at OrderFacadeLocal_StatelessSessionBeanWrapper8.getUserOrders(OrderFacadeLocal_StatelessSessionBeanWrapper8.java:615)
         at petstore.wmodule.OrderFacadeBusinessDelegate.getUserOrders(OrderFacadeBusinessDelegate.java:50)
         at petstore.wmodule.struts.OrderListAction.execute(OrderListAction.java:57)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at petstore.wmodule.servlet.EncodingFilter.doFilter(EncodingFilter.java:32)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at petstore.wmodule.servlet.SecurityFilter.doFilter(SecurityFilter.java:43)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: java.sql.SQLException: Wyj?tek we-wy: The Network Adapter could not establish the connection
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:231)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:345)
         at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:431)
         at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:515)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:345)
         at com.evermind.sql.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:116)
         at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:102)
         ... 40 more
    Toplink session is configured to use external transaction controller and data source. Application run on OC4J 9.0.4.1. Using jdbc debug options I wasn't able to find any causes. Has anyone faced this problem before?
    Regards
    Jarek

    Hi Jarek,
    TopLink uses the datasource similar to any other java application would, so there are no additional restrictions. From the error, you can see that the datasource is attempting to create a new connection and that is what is causing the exception. All TopLink did was call getConnection on the datasource ( DriverManagerDataSource.getConnection ).
    This could be a problem/glitch with the network or that the listener when down temporarily. Things to check would be:
    -how frequently this occurs
    -if it occurs for all connections after this point
    -the state of the database listener (can other applications connect to it, is it up, etc)
    -how many connections to the DB are active at this point
    -how many connections/sessions are active from this application
    -the OC4J and JDBC versions. Latest patches are better with regards to connection pools.
    What is strange though is that you have the min=max, so it should never create new connections after the first time the pool is accessed. Each connection should already have been created, which is why I suggest that you contact OC4J/JDBC support.
    Best Regards,
    Chris

  • Load / Stress Testing

    Hello all. I am going to be running some tests on a standalone Tomcat 6 server which runs a couple of web apps i have written. I just wanted to ask for any advice on how to load/stress test, weather its and good software used, what to look out for or what the typical bottlenecks can be.
    I understand every problem is different and unique but as this is my first time doing this i was looking for any helpful tips!
    Thanks for any help given!

    Sir_Dori wrote:
    Hello all. I am going to be running some tests on a standalone Tomcat 6 server which runs a couple of web apps i have written. I just wanted to ask for any advice on how to load/stress test, weather its and good software used, what to look out for or what the typical bottlenecks can be.
    I understand every problem is different and unique but as this is my first time doing this i was looking for any helpful tips!
    Thanks for any help given!You can check out open source options such as http://ripplet.sourceforge.net/ or a commercial offering such as HP's LoadRunner. Typical bottlenecks involve scarce resources (database connections, incoming sockets, file space, memory, threads, CPU. etc) It varies a lot. You certainly want some aspects of your application to handle high load (such as authenticating or re-authenticating a user, displaying layout and content other than the body of the page, etc.) After that, it really depends on your application.
    - Saish

  • Problem clearing backlog when stress test fails

    I have been trying to use a load runner to stress test WLI. I was running up against
    the Customer Management sample and tried 1000 iterations. The app server crashed
    and now I can't restart it. Apparently it has kept the backlog and is still trying
    to process these requests unsuccessfully. Can you tell me how to restore the server
    state?

    Hello, Kay.
    Thanks for your response.
    I know the stogroups created in this database.
    The problem is undoubtely caused by an homogeneous system copy.
    These are our systems: productive = GEW, test = GEC.
    I know stogroup GEWBTI does not exist in the test system, where it only exists GECBTI.
    The problem is that in SE14 I changed the stogroup to GECBTI, but when creating the index it tries to create it in stogroup GEWBTI.
    Help needed please...

  • Exception only occuring during stress test

    We are trying to get ready to release a beta version of the software I'm working on.. so part of getting ready for that was to try set up some stress tests and hit the server with multiple requests for the same page....
    Not sure exactly how many it is taking but we are getting the following exception.
    2005-06-10 13:20:23 StandardWrapperValve[action]: Servlet.service() for servlet action threw exception
    java.lang.NumberFormatException: For input string: "200044.E2000444E"
            at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
            at java.lang.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1207)
            at java.lang.Double.parseDouble(Double.java:220)
            at java.text.DigitList.getDouble(DigitList.java:127)
            at java.text.DecimalFormat.parse(DecimalFormat.java:1070)
            at java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:1386)
            at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1156)
            at java.text.DateFormat.parse(DateFormat.java:333)
            at com.xxxxx.xxxxx.struts.adapter.BrowseBaseAdapter.formatYyyyMMddToLocaleStr(BrowseBaseAdapter.java:194)I can only assume that something was not thread safe and somehow something is getting confused....
    this is the method that produced the error and the code that it runs.
    I know absolutely nothing about making something thread safe.... can anyone give me good link to refer to or point something out in the below code that might be a no no.
    private static final SimpleDateFormat xxxxxxxxDateFormat =
              new SimpleDateFormat("yyyyMMdd");
         protected String formatYyyyMMddToLocaleStr(
              String  xxxxxxxxDt,
              Locale locale) {
              String result = "";
              if ( xxxxxxxxDt != null &&  xxxxxxxxDt.length() == 8) {
                   try {
                        Date tempDate =  xxxxxxxxDateFormat.parse( xxxxxxxxDt);
                        result = javaDataTypeToString(tempDate, locale);
                   } catch (ParseException ex) {
              return result;
    public String javaDataTypeToString(Object data, Locale locale) {
              String returnType = data.getClass().getName();
              String result = null;
              if (returnType.equals("java.lang.String")) {
                   result = (String) data;
              } else if (returnType.equals("java.lang.Float")) {
                   NumberFormat formatter = NumberFormat.getNumberInstance(locale);
                   formatter.setMaximumFractionDigits(6);
                   formatter.setGroupingUsed(false);
                   result = formatter.format((Float) data);
              } else if (returnType.equals("java.lang.Double")
                        || returnType.equals("java.math.BigDecimal")) {
                   NumberFormat formatter = NumberFormat.getNumberInstance(locale);
                   formatter.setMaximumFractionDigits(13);
                   formatter.setGroupingUsed(false);
                   StringBuffer buffer = new StringBuffer();
                   result = formatter.format(data, buffer, new FieldPosition(0))
                             .toString();
              } else if (returnType.equals("java.lang.Integer")) {
                   Integer inte = (Integer) data;
                   int intVal = inte.intValue();
                   if (intVal != 0)
                        result = String.valueOf(intVal);
                   else
                        result = "";
              } else if (returnType.equals("java.util.Date")) {
                   java.util.Date date = (java.util.Date) data;
                   SimpleDateFormat dateFormatter = getDatePattern(locale);
                   result = dateFormatter.format(date);
              } else if (returnType.equals("com.sungard.stnweb.utility.Time")) {
                   Time time = (Time) data;
                   result = time.asString();
              } else if (returnType.equals("java.lang.Boolean")) {
                   Boolean dataBool = (Boolean) data;
                   if (dataBool.booleanValue())
                        result = "1";
                   else
                        result = "";
              return result;

    From the API on java.text.SimpleDateFormat
    Synchronization
    Date formats are not synchronized. It is recommended to create separate
    format instances for each thread. If multiple threads access a format
    concurrently, it must be synchronized externally. Being static, your date format object will be accessed by multiple threads.
    Solution: Don't make the date format object static.
    I would suggest like this:
    private static final String dfString  ="yyyyMMdd";
    protected String formatYyyyMMddToLocaleStr(String  xxxxxxxxDt, Locale locale) {
      String result = "";
      SimpleDateFormat xxxxxxxxDateFormat = new SimpleDateFormat(dfString );
      if ( xxxxxxxxDt != null &&  xxxxxxxxDt.length() == 8) {
      try {
        Date tempDate =  xxxxxxxxDateFormat.parse( xxxxxxxxDt);
        result = javaDataTypeToString(tempDate, locale);
      catch (ParseException ex) {}
              return result;
    Ok, so it is constructing a DateFormatting object for each method call, but I don't see it as that big a deal. Its not a huge hit. You might get away with making it an instance variable - I don't know how you use the enclosing class. Start with this, and see if it works.
    Cheers,
    evnafets

Maybe you are looking for