Handling concurrent users

hi guys,
I developed an application to be used be 1500 users and deployed to tomcat. It hangs after working for a while how can i resolve this

I stopped all application running on the server and tested it after the fifth time it hanged. Instead of using transaction, i changed the code to be using stored procedure.This is the code i used to call the stored procedure that freeze the system
try{
ConnectPoolhr C = null;
CallableStatement proc = null;
C = new ConnectPoolhr();
String query = "{ call L1UPDATE(?, ?, ?, ?, ?) }";
//C.autoCommit(false);
proc = C.prepareCall(query);
proc.setString(1, sf.getEmplid().toLowerCase());
proc.setString(2, sf.getAppr_yr());
proc.setString(3, sf.getHasl2linkno());
proc.setString(4, sf.getHierarchyType().getLink_no());
proc.setString(5, sf.getL2empid().toUpperCase());
proc.execute();
catch(SQLException sp){
System.out.print("\n\n\n\n\n\n\n\n\n\n\n\n\n\n impossible to close \n\n\n\\n\n\n\n\n\n\n\n");
finally {
try{  
//ps.close();
// pst.close();
proc.close();
C.dispose();
catch(SQLException sq){
System.out.print("\n\n\n\n\n\n\n\n\n\n\n\n\n\n impossible for finally \n\n\n\\n\n\n\n\n\n\n\n");
}}

Similar Messages

  • Concurrent users problem in portal components.

    Hi
    we are implementing portal components based projects to an customer.
    we are using RFC connections to fetch data from R/3. All users mapped to a service user , through which we are connecting to
    the backend
    when we are testing concurrently any portal applications we are getting erros.
    any ideas how can we handle concurrent users access problems  in netweaver portal.
    Thanks
    Ravi

    Hi,
    Post the error and logfiles.
    Regards,
    Koti Reddy

  • How to Handle the Concurrent User Operation in JDBC

    Here I am updating a table base on flag field. Here I am facing concurrent user problem. Please anybody can tell me how to handle this. If anybody update a row. it should be reflect to other sessions

    Make sure you are calling Connection.commit() after your update. If you are still having problems, you may need to tweak the isolation level. Different vendors have different default settings.
    You could add more details to your post, like database you are using, and the errors you are seeing.
    http://www.jguru.com/faq/view.jsp?EID=59102
    -Scott
    http://www.swiftradius.com

  • BR error when submitting by concurrent users

    Hi,
    We are performing stress test by 50 concurrent user to submit BRs via web form and found that there is errors occurred in application log as below, which is ok if submit manually via web form and no error of BR if validate in EAS.
    ===================================================================================
    [Wed Dec 2 18:20:30 2009]Local/Budget/Plan3/essadmin/Error(1200497)
    Error parsing formula for [FIX STATEMENT] (line 6): unknown member name ["XX Accounts"] in function [@RELATIVE]
    [Wed Dec 2 18:20:30 2009]Local/Budget/Plan3/essadmin/Error(1012001)
    Invalid Calc Script syntax [
    FIX("Entity", @remove(@RELATIVE("XX Accounts",0),@LIST("Remarks",...]
    ====================================================================================
    Actually the BR should pointed to Budget/Budget and not Budget/Plan3, why the BR is pointing to another DB?
    Thanks a lot!

    Hi,
    We tried to set the AGTSVRCONNECTIONS 1024 and the above error seems gone and another error is coming out as below :
    =========================================================================
    09/12/06 14:46:13 java.lang.NullPointerException
    09/12/06 14:46:13 at com.hyperion.planning.HyperionPlanningBean.Save(Unknown Source)
    09/12/06 14:46:13 at HspEnterData.Handle(Unknown Source)
    09/12/06 14:46:13 at HspEnterData.doPost(Unknown Source)
    09/12/06 14:46:13 at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    09/12/06 14:46:13 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    09/12/06 14:46:13 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    09/12/06 14:46:13 at HspValidationFilter.doFilter(Unknown Source)
    09/12/06 14:46:13 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    09/12/06 14:46:13 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    09/12/06 14:46:13 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    09/12/06 14:46:13 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    09/12/06 14:46:13 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    09/12/06 14:46:13 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    09/12/06 14:46:13 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    09/12/06 14:46:13 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    09/12/06 14:46:13 at java.lang.Thread.run(Thread.java:797)
    ========================================================================================
    Any idea of this kind of java errors?
    Thanks a lot!

  • Max Concurrent Users for Oracle 8i

    I am trying to find out information (white paper) that states how many concurrent users 8i can handle. Does anyone know of somewhere to get this data?
    Thanks in advance,
    JS

    Can you post the entire dump from the console?
    Where are you getting the term "Concurrent Users"? Concurrent Users is a term Oracle used to use (or maybe still do) when licensing products. I'm just interested where you are seeing this from.

  • EBS concurrent users -- load testing

    Hi,
    As part of performance/load testing for 100 concurrent users, we are not able to load over 99 users. I have set the nprocs=4 (8 cpus) and JVM max=1024.
    I am not what limits I hitting to handle over 100 concurrent users.
    ENV: R12 on RH 5, single node/2-tier combination, 11.2.0.2
    Appreciate any help or suggestions.
    FYI: I have already reviewed and followed steps from note# 362851.1

    As part of performance/load testing for 100 concurrent users, we are not able to load over 99 users. I have set the nprocs=4 (8 cpus) and JVM max=1024.Do you get any errors? Please check Apache/JVM logs for details.
    FYI: I have already reviewed and followed steps from note# 362851.1What is your current JVM configuration?
    Thanks,
    Hussein

  • BlazeDS and scalability (i.e., concurrent users)

    BlazeDS relies on the Servlet API...so, it means about a few hundred concurrent users, maximum -- which isn't very encouraging. This is because, in BlazeDS, one user equals one, or maybe two/three threads...
    Has anyone else considered this and/or thought of a work around? I presume BlazeDS cannot load balance, etc, so having a proxy like Apache point to different servers isn't an option.
    Anyone have any suggestions?
    Thanks,
    Cormac

    >>BlazeDS relies on the Servlet API...so, it means about a few
    >>hundred concurrent users, maximum -- which isn't very encouraging.
    >>This is because, in BlazeDS, one user equals one, or maybe
    >>two/three threads...
    How many concurrent users a BlazeDS server can support will depend a lot on what channels/endpoints you are using. You are right that with a streaming endpoint you are probably limited to a few hundred concurrent users because each connection is persistent and is going to tie up one of your app server's request handler threads. If you use polling however you can support many more concurrent users. This is because connections are not persistent and the poll requests made to the server are short-lived. Web/application servers are very good at handling these types of requests so you should be able to handle a few thousand concurrent users using polling (although a number of factors such as your polling interval, type and size of data/messages being sent around, individual app server, server hardware, network configuration etc. will all affect this). The trade off with using polling is that it is not as real time as streaming. If a message shows up on the server it won't get delivered to you right away. Instead you'll get it the next time your poll request reaches the server. This might be ok for some people. If you need "real time" delivery of messages to large numbers of clients, you can use LiveCycle Data Services ES which has an NIO based version of the streaming endpoint. This endpoint can support many more concurrent users (probably a few thousand although caveats listed above also apply here) than the HTTP based streaming endpoint because each connection doesn't tie up a request handler thread.
    >>Has anyone else considered this and/or thought of a work around? I
    >>presume BlazeDS cannot load balance, etc, so having a proxy like
    >>Apache point to different servers isn't an option.
    You can load balance BlazeDS servers. Make sure your load balancer uses session pinning/sticky sessions because for messaging to work you need to keep communicating back to the same server. We've seen some issues with load balancing streaming connections because some load balancers buffer the data being sent back to the client over the streaming connection. I believe Apache is one of the servers that does this so you'd definitely have to do some testing to find a proxy server that worked for you if you wanted to load balance streaming connections.
    >>Anyone have any suggestions?
    BlazeDS actually scales quite well (at least in my opinion) when using non-persistent connections with short-lived requests, such as with polling. If you want to support large numbers of concurrent users with streaming/persistent connections, I'd look at using LiveCycle Data Services ES.
    -Alex

  • Concurrent users problem ADF JDev 10.1.2(1811)

    Hallo,
    I've posted it earlier on JHeadstart forum but this forum may be better for this problem.
    We have ADF(JHeadstart) application with uix view. Application is created with JDev 10.1.2(1811) and run on IAS 9.0.4 with WebCache enabled, DB 9.2.0.4.
    We have problem with concurrent users.
    Application creates rows by inserts to view and instead-of trigger. Only inserts are allowed and every VO i configured to allow only "while new" modifications. When one user uses application it works fine, but when many users do same actions something strange is happend. It looks like sessions mismatch or sth.
    After LOV validation or JBO exception(from validation trigger) form returns and display error messages but users get in forms values they don't entered(they look like values entered by another users). Also form is in strange state - some fileds are made readonly. Non-visible fileds like fk were validated against mendatory.
    Regards,
    Kuba

    To tell you the truth I'm using a combination of 10.1.2 and 10.1.3 since the beta is still lacking the capability to handle BC4J. I'm waiting eagerly for the final release.
    As regards that document I followed the instructions to setup the 10.1.3 and followed the same guidelines to apply the same settings on 10.1.2 which has a different screen to setup the libraries. maybe I just missed out some jar files in the library setup in 10.1.2

  • Performance issue with BW Reports for concurrent users

    All:
    I notice that one BW report that runs in few seconds will take upto 3.5 minutes when multiple users run it at the same time.
    We are in BW 3.5 and we run reports for portal.
    Does anyone have any suggestion about how to handle performance issue with concurrent users?
    Thanks,
    Pranab

    Hi,
    use the OLAP-cache and/or aggregates and consider using load balancing to distribute the users to several servers.
    Kind regards
    /martin

  • Need to instance to be able to handle 30000 users.

    Hi all,
    I need to install oracle 10g release2 rdbms with one instance.Now the condition is this instance should be able to handle 30000 user sessions.Which parameters are directly responsible for number of user sessions.Precisely which parameters are to change to accept more number of users sessions.If you could suggest some value ..it would be helpful.
    regds,
    AD

    Is that 30,000 concurrent user sessions?
    Some of the considerations will be the type of load - DML intensive or query intensive. If short duration DML, then you may want to look at Shared Server as a method of reducing or containing resources. In which case dispatchers, circuits and shared server parameters are relevant.
    If these sessions are concurrent, you may want to look at RAC to distribute the load across several host computers. IN which case the entire set of RAC parameters become relevant.
    With 10g Release 2, you would possibly want to take advantage of the automatic memory tuning capability to get you out of detailed memory parameter management. Otherwise all parameters that involve the SGA and PGA, especially the pools, become relevant.
    Other than that, the processes parameter and (the normally derived) session parameter are relevant.
    IMO, the logical and physical design will have a significant impact on the number of users - possibly more impact than parameter settings. I refer you to Tom Kyte's books (see http://www.apress.com) to get a detailed discussion of scalable design.

  • 500 Concurrent Users: 2 J2EE Servers are enough???

    Hello All,
    We are planning to build the PRD system for the client on the MSCS Cluster environment. There will be 500 concurrent users and they want to have 2 J2EE Servers.
    Now my Question is although there's no Single Point of Failure(SPOF) can we go ahead with the 2 J2EE Servers (I think we should not).
    We are suggesting 3 J2EE Servers instead of 2 as the matter of the fact with 2 Servers is, What if one of the server goes down, all the load will be then on the single Server which may not handle all the load and may die too.
    So i'm looking for the strong points to convince them for 3 Servers instead of 2.
    Any ideas...
    Points are guranteed
    Vaib

    In my experience, a single server with a 1.5GB heap size will handle about 500 - 700 users.  A lot of this depends upon what exactly is going on in the portal.  ESS and MSS will tend to have a greater impact on the portal than BW reports.  I would say that the strongest way to convince them of this is to execute some load tests and see where the limits of your boxes are based upon your specific portal implementation.

  • Trying to determine costs per concurrent user

    I have tried to investigate the services and theirs costs as well as I can and tried to get help. However I have very little experience with hosting and databases so after all this research I'm left with a bunch of questions.
    Forgive me if this is too many for this kind of forum, if so, could you please refer me to where I can learn more?
    We're developing a multiplayer browser game in Unity3D. The game will communicate with a SQL database. I'm trying to determine how much it will cost me per Monthly Active User (MAU) and per Concurrent User (CCU). To do so I need some things clarified. In order
    to determine which feature will be the most limiting and therefore define which performance level I need.
    They will on average communicate with the database app. two times a minute (defined as two queries per minute). Does this mean that I need a transaction rate of at least two per CCU?
    How fast can you open and close a session? I'm trying to figure out whether I need to have one session open constantly per user connected to the game. If so, I suppose max sessions would be equal to CCU?
    If I need more CCU than one database of a given performance level supports can I then just subscribe for more databases which will then automatically become copies of one another and you will divide users between the databases automatically?
    As I understand your description of your database services through Basic, Standard and Premium, the database will be able to work independently of additional webhosting. However then I do not understand why there is no info in regards to bandwith limitations.
    Do I need your webhosting services along with subscribing for the database? Then I suppose the bandwith limitations of the webhosting applies for the database as well?
    In regards to the webhosting, besides for maybe handling the database, the website's by far most demanding service will be to allow users to download a game of max 30 MB. How can I estimate how many users will be able to download simoultaneously from a given
    VM instance, e.g. basic 1?
    If the database depends on this website for communication to the game, how can I then estimate how demanding that will be to the power of a given VM instance?
    I realise that some of these questions may be difficult to give precise answers to but any help with getting closer to an answer is highly appreciated.

    This is by no means accurate and complete, but will give you an idea about how to go about doing estimates:
    First you need to know what database tier you need: basic, standard or premium.
    The tier you need depends on the processing power you need, and directly relates to the number of concurrent users you have at any given time and the processing requirement of the database.
    You can determine this only after you do some benchmarking of your app.
    Supposed you have 100 users and you need basic tier S0, then cost per user will be (cost for S0)/100.
    Then you need cost for your web service/site.
    Again you need to know how powerful it needs to be.
    You can determine this only after you do some benchmarking of your app.
    Again supposed you need a A3 then cost per user will be (cost of A3)/100.
    Then you need cost for data transfer from your web service to your user.
    Supposed every data transfer is 10K, then you have 20K/min.
    Supposed a user stays in your game for an hour, then you have 1.2M/user/session.
    Supposed the user plays 10 times/month, then you have 12M/user per month. Then you can calculate the cost per user.
    I suppose you can safely assume that bandwidth is not a limitation in Azure for your app for the moment.
    Frank

  • How many concurrent users on a FMS?

    We want to stream live Town Hall meetings with the majority
    of the users viewing it from our inTRAnet. 320x240, 30fps, Dual 2.8
    GHz, 4 GB widows server. Anybody with similiar setup using FIMS to
    service 200 or 500 concurrent users? We have two campuses and I
    need to know if I will need to spec a second server if we get above
    a certain number. How many concurrent users can I supprot with the
    above configuration? Thanks

    FMS should be able to handle your 500 clients with no problem
    using the configuration you mentioned (some of my apps routinely
    see many times more than that on a similar server). I use a
    slightly beefier processor in my boxes though... quad core
    Kentsfield Xeon / 4GB ram.
    That said, also make sure you have enough throughput at your
    NIC to handle the traffic. At 500 concurrent clients, a low
    bandwidth stream of 300kbps puts you at about 150Mbps, so you'll
    want to run the numbers before you commit to a single serves in
    case you can't get enough network juice to a single box.

  • Is there any issues if we planning to have more than 200 concurrent users

    Is there any issues if we planning to have more than 200 concurrent users in BPS ?
    Thanks,

    Depends a great deal on what type of users they are. Simply running reports? Should be manageable. All performing complex modelling - more of a problem.
    And of course it depends a large deal on your supporting infrastructure as well! How many interactive processes can your server handle?
    But back to planning, if these are all planning users - not just reporters - perhaps the biggest issue will be planning level design such that so many users are not locking each other constantly.
    Be aware that locks are defined by the package definition that a user executes a layout or function against, and locks stay in place until the users ends his/her planning session - which means exiting a planning FOLDER or correctly existing the web application.....

  • Maximum number of concurrent users

    What is the maximum number of concurrent users any single given Airport can handle? I believe it is ten...
    Thank you!

    If the AirPort is configured to create a wireless network, the AirPort Express can handle up to 10 users. The AirPort Extreme and Time Capsule will handle up to 50.

Maybe you are looking for

  • Custom field not getting displayed in SUS PO item level

    HI all, We are using SRM 5.0, ECC6.0 and ECS scenario. As per SAP note 762984, we have enhanced the structures such as : INCL_EEW_PD_ITEM_CSF_SUSPO INCL_EEW_PD_ITEM_CSF and have added a record in the following place in SPRO: Supplier Relationship man

  • TS4006 icloud isn't in my system preferences, how can i get it?

    icloud isn't in my system preferences. only mobile me, which when i click on brings me to the icloud webpage that tells me how to set up icloud. step 2 is to locate it in system preferences, which it is not there, only mobile me. and thus begins the

  • HT201269 how do I get my music from my Iphone3 to my Iphone4 off Itunes?

    How do I get my music from my Iphone3 to my Iphone4 off Itunes?

  • How to display slected value in other list in apex?

    Hi All, I have created two select list 1. Counrty 2.State Based on the selection of country state wil lbe popluated, which i had implemneted using ajx process. Now i had created a button, on press of button again i will be dsiplaying second set of se

  • Serious pod problems

    The five r's are crap. I have tried resetting the ipod and putting it into disk mode to connect to my pc. It switches to the do not disconnect logo and trys to connect for a few minutes. The ipod updater will then say it can't mount the ipod, and the