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

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

  • EP Performance Tunning and concurrent user login problems

    Hi all.
    We have a EP , integrated with Windows AD and SAP R3.
    In real situation, there will be 1000 users login in EP in 0.5 hours. And their operation time will be 6-8 hours, connect to R3 or other applications.
    Is EP can support such concurrent user login scenario ?
    if EP fails, is there some performance monitor tool or performance tunning issue ?

    Hi
    EP supports this logon load, however it all depends on sizing and architecture!  Also the content of the STARTPAGE can be critical (make it "light").
    If the portal fails, then often it is only one J2EE server process, which fails - so by having more server-processes will be an easy/minimum form of high availability.  A "real" HA solution must be considered if your business will not work without the portal og SAPGUI connections can be used as workaround/fallback in such situations.
    BR
    Tom Bo

  • The concurrent io problem when using RandomAccessFile

    Hi:
    In my application,I have to export the tomcat log(the log file like "localhost_access_log.2010-10-13") to database and the do some analisis.
    My way:
    start to export log at 00:05:00 every day,at this moment just read the log whose date before yesterday.
    For example,at 2010-12-12 00:05:00,the log of 2010-12-11... 2010-12-01 ..2010-11-12...(just check the nearest 30 days).
    All of these data are put into one table named "log".
    If log of one day is exported successfully,insert one record to another table named 'logrecord'.
    //main code fragment:
         public void start() {
              //start the push export work once the server startup.
              run();
              //start the schedule work
              new ScheduledThreadPoolExecutor(5).scheduleAtFixedRate(this, getStartTime(), 24 * 3600,
                        TimeUnit.SECONDS);
         //return the left time(from now to 00:05:00 of tomorrow)
         private long getStartTime() {
              Date d = new Date();
              long t = (DateUtil.getNextDayAtMiddleTime(d).getTime() - d.getTime()) / 1000 + 300;
              return t;
         @Override
         public void run() {
              Date days[] = DateUtil.getSeveralDayRangeByTime(30); //just the nearest 30 days.
              for (Date d : days) {
                   if (exist(d)) {
                        continue;
                   exportLogByDate(d);
    It works for now expect we can not anlyzer data of today.
    However we need it now.
    As far as I thought,I want to create a new table which owns the same structure of the former table "log" used to hold the log of "today" only.
    At 00:05:00 of every day,after the normal log exporting(export the nearest 30 days'log but today),export the log of today.
    It sounds easy,read the content,parser,filter,insert,just like what I did.
    But,the tomcat log file is saved by day.So in my normal log exporting,the log file(nearest 30 days) are not be used by tomcat,I can open/close it as I like.
    However if I tried to read the log of today,since the log file maybe used by tomcat for inserting log.
    I prefer to use the RandomAccessFile to read the log of today:
    But I am coufused by the concurrent io problem:what is going on if I am reading a line while tomcat is writing the line?
    Here is my test exmaple:
    package com.test;
    import java.io.BufferedWriter;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.io.RandomAccessFile;
    import org.junit.BeforeClass;
    import org.junit.Test;
    public class TestMain {
         private static File          file;
         private static long          pos; //record the position of last time
         private static Thread     writterThread;
         @BeforeClass
         public static void init() {
              file = new File("D:/random.txt");
              // build the thread for simulating the tomcat write log
              writterThread = new Thread(new Runnable() {
                   @Override
                   public void run() {
                        FileWriter fw;
                        try {
                             fw = new FileWriter(file);
                             BufferedWriter bw = new BufferedWriter(fw);
                             int i = 0;
                             while (true) {
                                  i++;
                                  bw.append(i + " added to line...");
                                  bw.append("\r\n");
                                  bw.flush();
                                  Thread.sleep(5000);
                        } catch (IOException e) {
                             e.printStackTrace();
                        } catch (InterruptedException e) {
                             e.printStackTrace();
         @Test
         public void testRandomRead() throws IOException, InterruptedException {
              writterThread.start();
              try {
                   RandomAccessFile raf = new RandomAccessFile(file, "r");
                   String line;
                   while ((line = raf.readLine()) != null) {
                        System.out.println(line);
                   pos = raf.getFilePointer();
                   raf.close();
                   // read the file by 30 seconds within 2 min,just for test)
                   for (long m = 0; m < 1000 * 60 * 2; m += 30000) {
                        raf = new RandomAccessFile(file, "r");
                        raf.seek(pos);
                        while ((line = raf.readLine()) != null) {
                             System.out.println(line);
                        pos = raf.getFilePointer();
                        raf.close();
                        Thread.sleep(30000);
              } catch (FileNotFoundException e) {
                   e.printStackTrace();
    The normal output is something like:
    1 added to line...
    2 added to line...
    3 added to line...
    4 added to line...
    5 added to line...
    However I always get the following output:
    1
    added to line...
    2 added to line...
    3 added to line...
    4 added to line...
    5
    added to line...
    That's to say,the RandomAccessFile is reading the line which has not been completed by tomcat.
    So,I have two questions now:
    1) How about my normal log exporting? Is there anything can be improved?
    2) How to slove the concurrent io problem when export log of today?

    Peter Lawrey wrote:
    You can;
    - check the length to see if it has grown since the last time it was written to. If it has shrunk, start from the start of the file.
    - if longer, open the file from the last point read.
    - read the text up to the last newline in the file. (might be no new lines)
    - close the file and remember where you were up to. (the start of the last incomplete line.
    - wait a bit and repeat.But how to decide if one line is completed?
    Also,how about if the randomaccessfile can not stop?
    For example,start the work at 02:00,it read the tomcat log file line by line and export them to db,and during this time,the tomcat keep writing log to the same file(user request the server all the time), and then the randomaccessfile will keeping reading accordingly,when it is 03:00,the last task is not completed,but a new task should start,how to control this?

  • Error with concurrent users- Activation Passivation Bind variable ?

    I have a programmatic view object based on procedure call that returns a ref cursor.
    Application Module has a function that exposes get Method for this View object using client interface.
    Everything works good until many users call the same Method ,for many concurrent users i got the below error intermittently :
    JBO-27122: SQL error during statement preparation.
    Attempt to set a parameter name that does not occur in the SQL: bussId
    For 1 or 2 users this works perfectly fine.
    bussId is a bind variable defined at View object of type Array.
    I understand this should be because of activation/passivation as many users calling same function comes to picture.
    To solve this I overloaded activateState/passivateState in View implementation for the bind var.
    But i don't see those methods getting invoked ever.
    I also enabled connection pool/AM pool and kept the default pool values high enough for concurrent users.
    Nothing works .
    Appreciate any help in this regard.
    -Sam

    Hi,
    See
    http://antonis-antoniou.blogspot.com/2012/02/ensuring-that-your-adf-application-is.html

  • What are the AM Tuning parameters need to be set for 500 concurrent users

    Hi All,
    We are using JDEVADF_11.1.1.5.0.
    What are the exact AM parameters(Pooling and Scalability tab) to be set when we planned for 500+ concurrent users?
    Along with this do we need to set any parameters at weblogic server level, if any please give inputs.
    Any input's would be appreciated.
    Thanks in advance.
    Regards,
    Dinesh

    We can?t give you exact numbers as there are many factors influencing the performance. In hte end you have to make a load test to find the right set of parameters. A good starting point is Andrejus's blog Andrejus Baranovskis's Blog: Stress Testing Oracle ADF BC Applications - Internal Connections and  Andrejus Baranovskis's Blog: Stress Testing Oracle ADF BC Applications - Do Connection Pooling and TXN Disconnect Level
    Timo

  • How to find out how many concurrent users using web application?

    Hi all,
    I have a web application deployed using 9iAS. I am trying to find out how to find out how many concurrent users are using this application at any one time. According to Oracle there is no way to see this information using the enterprise manager interface.
    Does anybody out there know how I can find out this information in real time? Failing that, are there any good analysis tools out there that display usage to the minute (all the tools I have found show usage by hour which is not sufficent for my needs).
    Any help would be much appreciated,
    Caroline

    I know I haven't heard of any software to do this, but this also sounds like a really hard problem to try and really analyze well.
    The trick is, you might "infer" how long a user is using an application based on when cookies are set and when they're set to expire. If that's a long time, though, that could count far more "concurrent" users than are actually there. A user could simply close the application at any time and stop using the application; you can't really detect that because the server isn't "told" when the user closes their browser or goes somewhere else.
    A good perl script might be able to read the Apache access log and tell you how many unique IPs asked for a given directory in which various applications are stored in any 5 minute span of time... that could be something like an indicator of "concurrent" users.
    If you don't know Perl, I'd suggest getting the O'Reilly & Associates book on Perl and learning it, because the more I think about this, the more this sounds like a textbook example for applying a Perl script.

  • Max number of concurrent users?

    I'm in the process of creating a web site with Cold Fusion and
    Oracle. One concern involves the lack of web hosting services
    that run Oracle on their servers. So, to get around this
    problem, I was considering replicating an Oracle lite database
    and putting it on an ISP's server. My thinking is that there
    would be little need of DBA functions and I can run it on any
    server I choose. But ....
    1. Would Oracle 8i lite support a lot of concurrent users?
    2. What other factors would I have to consider if I set it up
    as a distributed DB ?
    Any help on these thoughts would be greatly appreciated.
    Charles
    null

              Thank you Mark.
              "Mark Griffith" <[email protected]> wrote:
              >Jyothi:
              >
              >Sadly there is not an option to throttle the server in this manner. You
              >will/would have to restrict the QueueLength, which is an excluded property
              >on the ExecuteQueue defintion.
              >
              >http://edocs.bea.com/wls/docs81/javadocs/weblogic/management/configuration/ExecuteQueueMBean.html
              >
              >But this is only a very gross/general level of the server queuing execute
              >requests and isnt fine tuned to just servlets like you want it to be.
              >
              >Cheers
              >mbg
              >
              >"jyothi prabhu" <[email protected]> wrote in message
              >news:3ed04a70$[email protected]..
              >>
              >> Hello everybody,
              >>
              >> is it possible to set max. number of concurrent users accessing
              >weblogic server
              >> through a login servlet? For example, is it possible that at a given
              >point of
              >> time, maximum n users can be logged onto weblogic server while accessing
              >a web
              >> application.
              >>
              >> thanks.
              >
              >
              

  • Concurrent users unable to open a shared Microsoft Access MDB database

    I have a share on a Cisco NSS2000, the NSS is in Workgroup mode (Firmware 1.13).
    Every user have read/write rights on this share.
    When I try to open an access MDB database from this share it happens that only a single user at time can open the database.
    The second user that try to open the database get a "Cannot lock file" error message.
    So, when a user has the Access DB opened, no-one other can open (or connect to) the same DB.
    It's impossible to open the DB using the access IDE ("Cannot lock file" error message).
    It's impossible to make multiple connection to the DB using OleDB ("Cannot lock file" error message).
    I've tried give full access to the mdb file.
    I've tried give full access to the mdb folder.
    I've even tried to give full access to the temporary LDB file.
    I always get the same error message.
    Is there a workaround?
    Thanks, Max

    I've finally been able to update the firmware to the latest 1.16.
    Now everything works fine, problem solved! :)
    Thanks,
    Max
    catung wrote:Max,Please update your firmware to the latest posted version, 1.16.Thanks-carl--Carl TungSBTG - PE, Storage
    From: IsiSviluppo <[email protected]>
    Reply-To: "[email protected]"
    <[email protected]>
    Date: Wed, 07 Apr 2010 00:07:20 -0600
    To: Carl Tung <[email protected]>
    Subject: Small Business Network Storage New message: "Concurrent users
    unable to open a shared Microsoft Access MDB database" YbIMb-16E-b7l
    catung,
    A new message was posted in the thread "Concurrent users unable to open a
    shared Microsoft Access MDB database":
    https://www.myciscocommunity.com/message/42739#42739
    Author  : IsiSviluppo
    Profile : https://www.myciscocommunity.com/people/IsiSviluppo
    Message:

  • Performance when having many concurrent users

    Hi all,
    I am wondering about whether it would be possible to use Web Dynpro for ABAP in web applications that have a lot of concurrent users (like a thousend or more). Could this cause a performance or memory problem, because of the stateful nature of WD for ABAP?
    Thanks a lot for your help!
    Cheers,
    Jens

    Hi Jens,
         The performance of any stateful application will be low compared to stateless. But there are other advantages in WDP for ABAP such as:
    Web Dynpro offers the following advantages for application developers:
    1.The use of declarative and graphical tools significantly reduces the implementation
    effort
    2.Web Dynpro supports a structured design process
    3.Strict separation between layout and business data
    4.Reuse and better maintainability by using components
    5.The layout and navigation is easily changed using the Web Dynpro tools
    6.Stateful applications are supported – that is, if the page is changed and the required
    data remains intact so that you can access it at any time throughout the entire
    application context.
    Note that stateless applications are not possible.
    7.Automatic data transport using data binding
    8.Automatic input check
    9.Automatic operation of the Web Dynpro application using the keyboard
    10.User interface accessibility is supported
    11.Full integration in the reliable ABAP development environment
    The concept of Web Dynpro ABAP is identical with Web Dynpro Java and offers
    more or less the same functions.
    You can also go through the following links for further reference:
    http://help.sap.com/saphelp_erp2005/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
    Regds,
    Anagha.

  • Crystal Reports Concurrent Users Error

    We are getting a "Too Many Concurrent Users" error message when our users are trying to run a Crystal Report.  This can happen even when we have only 2 persons on the system.  Is there a way that we can check how many concurrent users there are and who they are ?
    We have to keep restarting the Report Server and sometimes the person responsible is not available......
    Could it be that the Users are not closing the Report window correctly or something like that ?
    Has anybody out there experienced this problem ??
    Ron Smith

    Hello,
    Uou can check concurrent license usage by going to the Servers section of the CMC and clicking on the Central Management Server.
    The most common cause for this is that users do not log off correctly. i.e they close the browser window instead of logging off. The problem is that there is no foolproof method to determine a browser close (in IE 7+). As a result, the session remains active even though the user has closed the session.
    What application server do you use? Is it Apache/Tomcat/other Java application server or IIS/.NET?
    The following thread may help:
    [Infoview - not logging off when browser is closed;
    Thanks.
    Srinivas

  • Limit concurrent user logins

    Hi all,
    One of our customers is trying to limit the number of concurrent user logins to 1.
    He has deployed a 2500 WLC (v7.4) with a Dot1x SSID. Authentication against external radius server (IAS).
    Configured the following:
    Max Concurrent Logins for a user name: 1
    But doesn't work despite of the value configured in "Max-Login Ignore Identity Response" option (enable|disable).
    My doubt here is if that these parameters just work when we are using local authentication or if it could be a bug with this particular software train.
    I've found contradictory info regarding this particular topic.
    Thanks in advance.
    Best regards,
    Alberto

    Hi Saurav,
    Thanks for the info provided.
    Our problem here is that despite the value of max-login-ignore-identity-response (enable|disable) we always can establish multiple simultaneous connections with the same username credentials. 
    Does Max Concurrent Logins for a user name work with external radius authentication? Are we missing something else?
    Thanks in advance.
    Best regards,
    Alberto

  • Finding out Concurrent Users to Apache

    Hi there.
    I'm in the middle of doing a sizing or a Ias, and I was trying to find out how many concurrent/total users are using a server, by analizing a nice 800 mb access_log.
    The thing is that I was able to find out how many users access a parcitular page (for portal, for instance, I check the entry point at /pls/portal30) and that gives me a rough idea of how many people access that page. The problem is...how can I find out CONCURRENT users? I was thinking of checking for a particular page/different users within a time window, but I'm finding it quite hard to find a tool to automate that.
    Thanks in advance.

    For multiple screen :
    GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
    GraphicsDevice[] gs = ge.getScreenDevices();
    // Get size of each screen
    for (int i=0; i<gs.length; i++) {
    DisplayMode dm = gs.getDisplayMode();
    int screenWidth = dm.getWidth();
    int screenHeight = dm.getHeight();

  • Shutting down when the concurrent users are more

    Hi,
    We are working on EP 5.0 SP5, our problem is that if the concurrent users are more automatically our LDAP or Portal is shutting down (approximately 300 or above..).
              For this problem… where we have to check? help can be appreciated...
    Regards,
    Sudhir

    Hi,
    look at thread:
    SAP J2EE engine shuts down frequently
    Regards,
    Gerhard

Maybe you are looking for