Multiple session open

Hi ,
Application facing problem of multiple session pending for more that 2-3 days using JDBC Thin Client.
I can see these all querying v$session.
database is Oracle.
What could be reason?
How to find problem as this is due to issue in Oracle or JDBC end.
Can you please gudie.
Thanks in Advance.

Hello,
Most likely an applicaiton issue so you need to investigate if java application closing connection appropriately. When you query v$session, it shows you status of session , machine name, username and program used to create this session and whole lot.
Do you have connection pooling at java level or at oracle or not at all? Also looked into following parameter to support increased number of sessions. (processes, sessions, transactions)
Regards

Similar Messages

  • Having multiple sessions open

    I find myself working in many clients at the same time, Development, QA, PRD, Staging and so on. With multiple sessions open in each cleint (upto 6 at a time) it can get difficult trying to figure out what window belongs to what client. In the task bar I have set Windows XP to group similar taskbar buttons, so I only have one button. Now I can always see the client from the lower strip in the SAP window, but as you can imagine it can be quite cumbersome to figure out what client I am working in. Do you guys have a way to make this easier? Wondering what other Abappers out there do. Thank you.

    Hi Megan,
    I do sometimes maintain several sessions in different client like you...
    I am not sure about XP but in VISTA:
    1. On your right side of the toolbar near the clock... there's a SAP logon pad icon (when you login)...right click on it to see all your session. The list of session will be describe in a popuplist...
    2. Another method, try to close session temporarily, until you want to use them again (even though you will be using it shortly)
    Normally, i will still close those session, even though i know i need to use them shortly... its for the sake of sanity, I keep it simple so i don't get confuse... ahahhahahaha....
    thanks,
    William Wilstroth

  • Setup for Discoverer to have multiple sessions opening in different browser

    What is the setup for Discoverer or Windows 6 browser to have multiple discoverer sessions opening in different browser windows at the same time in Discoverer 10g Plus?
    We have implemented Discoverer 10g Plus just to be used as an extract tool. We have some workbooks retrieving 200,000 or more rows from an Oracle database. It is taking 30 to 45 minutes to download. Some users are able to open multiple sessions in different browsers to download more then one worksheet at the time, but we have other users who get an error message that they can only open one session at the time. What is the setup to allow users to open more than one Discoverer session?

    Additional research in Metalink found the following:
    Hdr: 7261918 10.2 USER_JAV 10.1.2.54.25 PRODID-964 PORTID-46
    Abstract: ALLOW ABILITY TO LAUNCH TWO DISCOPLUS SESSIONS FROM SAME BROWSER CONNECTION PAGE
    *** 07/17/08 07:31 am REQUEST TEXT ***
    Please refer to bug 6656139. Need to get Discoverer Plus certified to
    support launching two plus sessions from same browser connections page when
    using SUN JRE 1.5/1.6 or higher.
    As per bug 6656139 it appears to be JVM 1.5.x limitation, because same
    actions work fine when using SUN JRE 1.4.2_xx.
    *** 07/17/08 07:31 am BUSINESS NEED ***
    Impossible to run reports against two different databases simultaniously
    using same Discoverer instace, or just several reports at the same time,
    which would save much time instead of running reports one by one.
    *** 07/19/09 11:57 pm *** (CHG: Sta->97)
    *** 07/19/09 11:57 pm RESPONSE ***
    ALSO SEE THIS FROM SUPPORT
    Error 'Unable To Connect Discoverer Server: Null' When Opening A Second Plus Session From The Same Browser [ID 790187.1]
    Cause
    Bug 6656139, JVM 1.5 : RUNNING TWO PLUS SESSIONS ERRORS WITH UNABLE TO CONNECT: NULL
    The Java Console reports the following error:
    Error: java.lang.StackOverflowError
    java.lang.StackOverflowError
    at java.awt.DefaultFocusTraversalPolicy.accept(Unknown Source)
    at java.awt.ContainerOrderFocusTraversalPolicy.getFirstComponent(Unknown Source)
    at java.awt.ContainerOrderFocusTraversalPolicy.getFirstComponent(Unknown Source)
    at javax.swing.DefaultFocusManager.getFirstComponent(Unknown Source)
    Per Bug 6656139 this problem is a limitation/bug with current Sun JRE 1.5
    and higher and needs to be addressed by Sun.
    Solution
    Currently launching two Discoverer Plus sessions from the same browser connection page is not supported/certified.
    Enhancement Request :
    Bug 7261918, ALLOW ABILITY TO LAUNCH TWO DISCOPLUS SESSIONS FROM SAME BROWSER CONNECTION PAGE
    has been logged for this issue but is still waiting on a Sun Java fix.
    Use the following workaround:
    Use JRE 1.4.2_xx until the ER is implemented and the SUN JRE bug is fixed.

  • Multiple session open in SAP on JCO function call with setSAPGUI(2)

    Dear all
    I have a standalone java program, which is internally calling an SAP function using JCO 2.0.
    This SAP function is internally calling a tCode using ABAP4_CALL_TRANSACTION.
    I have set SAPGUI to 2.
                mConnection =
                        JCO.createClient("XXX", "user", "password", "lang", "host", "num", "", "");
                System.out.println("SAPGUI set to 2");
                mConnection.setSapGui(2);
                mConnection.setProperty("jco.destination.name", "SAPGUI");
                mConnection.connect();
    SAP GUI is launched with the desired tCode on execution of this java program.
    But the issue is there are three sessions on SAP, when checked from SM04.
    550     USERNAME     HOSTNAME          13.09.00     1     RFC     0
    550     USERNAME     HOSTNAME     TCODE     13.09.00     1     RFC     4
    550     USERNAME     HOSTNAME          13.09.00     1     GUI     0
    The sessions are active even after JCO connection is disconnected and java program terminates.
    Can anybody help in this.
    Thanks a lot
    Regards
    Ruhi Hira

    Hi Peter,
    Thanks for the prompt response.
    I would surely check with the ABAPer's on your observation. However there is one more observation that is worrying me.
    If I use the given code with just one record in JCO.Table, the first push to SAP works with data getting inserted into the SAP table. However subsequent to this no records get inserted into SAP even though i populate JCO.Table with just one record.
    Also just a small correction to what I had stated earlier - If I use the code with multiple records in JCO.Table no records got inserted into SAP.
    Thanks
    Mohid

  • Sql developer will not close after having multiple database sessions open

    when ever I have multiple session open, I can't close the application. I have to perform a cntl-alt-del and kill the application.

    I can't seem to reproduce this with 10 connections. Can you start from a console and post a stace trace?
    run from a console.
    <sdev>/jdev/bin/sqldeveloper
    -kris

  • Multiple session handling in the Web UI

    Hi all,
    According to the SAP help documentation, a user can have multiple sessions open in the Web UI. However after a certain period, inactive sessions are terminated. This is certainly the behaviour that we witness on our system, the second inactive session times out after about 25 minutes.
    Does anyone know how to adjust the time out of this second session, this appears to be independent of the general timeout for htttp which is set at 2hours according to the transaction SMICM.
    Thanks in advance
    Paul

    Follow the steps mentioned  by Pankaj.
    Even after this the debugger did not start, do the steps below so that HTTP debugger is on
    1) Run the T-code SICF
    2) Search for the service name CRM_UI_FRAME in the service name. click on F8
    3) Select CRM_UI_FRAME and click on the Edit Menu. Select the option Debugging --> Activate Debugging
    4) This opens a pop up, give your user name and click on OK.
    Now start running the application. The debugger should start.
    Hope this helps.
    Regards,
    Vinay

  • How to open multiple sessions for one user?

    Sorry for the silly question but I couldn't find it googling or searching through this forum, so I started wondering whether it's possible in SQL Developer to open multiple sessions for one user. I'm fairly new to SQL Developer and databases in general.
    When I open SQL Developer and connect to a schema, a worksheet opens named MYSCHEMA. If I disconnect then connect, another worksheet opens, named MYSCHEMA~1. I assumed these were different sessions, but if I enter into one worksheet:
    select col1 from my_table where row_id = 1
    -- shows result is 1
    update my_table set col1 = 0 where row_id = 1
    select col1 from my_table where row_id = 1
    -- shows result is 0and then enter into the second worksheet:
    select col1 from my_table where row_id = 1
    -- shows result is 0I would have expected the second worksheet to report 1 because the first worksheet did not issue a COMMIT. Thus, I'd guess both worksheets are the same session? Is that right? If so, how do I have two sessions open simultaneously (opened by same user)?
    I'm trying to implement the code at the bottom of this post, for which testing requires at least two sessions:
    Re: Help with Procedure
    Edited by: tem on Apr 18, 2012 6:44 AM

    Thanks Jim,
    Ctrl-Shift-N doesn't do anything for me. I'm on a mac -- by experimenting it looks like command-N does what you're looking for. This appears to be the same as left-clicking on the "New" icon in the top left corner of SQL Developer, or selecting from the pull-down menu, File > New.
    This opens "Create a New" window that appears to be a wizard. What would I select at this point? Options are: Database Connection, Table, View, Package, ...
    I don't see an option for "Worksheet".
    UPDATE:
    OK, I found that if I select "SQL File", a worksheet becomes available. Perhaps this is what you intended. However, when I issue the command
    select col1 from my_table where row_id = 1;it still returns 0 instead of 1. Hmm, maybe my initial assumption was wrong -- if this is a second (e.g. different) session, should I expect the changes made in the first session in SQL Developer (the UPDATE command) WITHOUT a commit, to be observed in this second session? I thought that changes made in one session were not viewable in a different session until these changes are committed in the first session? If so, how to show this in SQL Developer? I must be missing something basic here.
    Or, is SQL Developer issuing some sort of "auto-commit" without my knowledge?
    Edited by: tem on Apr 18, 2012 8:00 AM

  • How to open multiple Sessions in Solution Manager

    Good Day Gurus,
    I am currently working on Solman 7.1 Sp12.My question is :Is it possible to open multiple sessions in Solution Manager? Here is the scenario: The client is working on multiple incidents and instead of logging on to the system again to access the 2nd incident he would like to open another session within the current call he is working on.
    Is this functionality possible in Solman? I have seen the functionality working before  in CRM interaction center not sure if it applies in Solman.
    Your help is highly appreciated.
    Thanks
    Maria

    Hi Maria,
    Options to Call a Function in an SAP System, by entering transaction codes in the command field, the transaction in bold is the one your want for opening multiple sessions.
    You can use the F1 key on the command field to display the following possible entries:
    /N to cancel the current transaction
    /NXXXX to call transaction XXXX directly from another transaction. Without the prefix, you can only call XXXX from the SAP Easy Access screen.
    /O to display the overview of the SAP GUI sessions on your computer
    /OXXXX to call transaction XXXX in a new window directly from another transaction
    /NEND to end the log on session with a confirmation dialog box
    /NEX to end the log on session without a confirmation dialog box
    /I to delete the window you are currently using
    Regards,
    Ruth

  • How to open Multiple session

    I am trying to OPEN multiple SESSION for same application and unable to do this using FIREFOX 7.01
    R 12(Oracle E-Business Suite), we are using FIREFOX for several clients to open the applciation. But i cannot open different session of same applcaition. it is ONLY opening singel JAVA form. In IE 8 or 9, i can do - NO MERGE option or File>New Session option. Is there some workaround for this. I am using Windows 7.

    Hi,
    When you run the form in the browser, it opens a new database session. For sharing the same session, you need to open/call/new form within the form itself.
    For using same JVM, you can use the [JVM Pooling|http://download.oracle.com/docs/cd/B14099_19/web.1012/b14032/jvm.htm] feature (assuming you are on forms >= 10.1.2).
    -Arun

  • When i close window with multiple tabs angd start new session (open new window) old tabs open again, how can i stop it?

    when i close window with multiple tabs and start new session (open new window) old tabs open again, how can i stop it?

    It is possible that there is a problem with the files [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    Delete [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.
    Deleting sessionstore.js will cause App Tabs and Tab Groups to get lost, so you will have to create them again (make a note).
    See:
    * http://kb.mozillazine.org/Session_Restore

  • Multiple session are open thought Users log out.

    Hello Gurus,
    I do see at CMC that many sessions are being open for many days even though users are logged out.
    We are using SAP 4.0 (14.0.4)  SP4. It's causing license issues and users are not able to log in.
    We have restarted our VM's and clear the IE browsers as well but issue still remains.
    Can you please help me on this.
    Best Regards,
    Sai

    Hi Sai,
    Could you give more information about BOE products you use and for which datasource type (UNV, UNX ?).
    I know SP04 still had different issues where multiple sessions were created when working on UNX Universes (see https://support.wdf.sap.corp/sap/support/notes/1764372), and it could lead to "lost sessions". There are other similar problems fixed in more recent versions of BOE, so you may think about upgrading your platform at some point to benefit from all these corrections.
    Regards,
    Loic

  • Opening Multiple Sessions in Persona

    Hi - We got Persona 2.00 on our EWM environment , we have some reports where on the output user open new window in normal SAP GUI, e.g. hotspot on material number open a new window to display material master. but when we try to do same in persona , it gives error that "Maximum number of sessions reached". We checked in back-end SAP system in  SM04, there is only one session opened for the user. Is there any configuration to allow maximum 6 sessions (like SAP GUI) in Persona, or persona allow only one SAP window to be opened at a time?
    Thanks.
    Harkamal

    For every client session there is a server session associated with it. Such as, when you open five session you will have five server session and it serve queires.
    Regarding paralle queries, depends whether your table is defined as parallel, how many cpu do you have and also parallel parameters.
    Jaffar

  • How Do I Launch Safari with Multiple Tabs Open to Specific Pages?

    I'd like a Windows shortcut that opens Safari with multiple tabs open to specific pages. With other browsers (Firefox, IE, Chrome, etc.), this is easily done by composing a command line that lists all desired URLs. However, Safari doesn't seem to use the same command line syntax as other browsers. Furthermore, I can't find Safari's command line syntax documented anywhere. From the comments I've seen while researching this question, I suspect this is a neglected area of Safari development, and that Safari simply can't be configured to open multiple pages. However, I'd like to make sure. Can it?
    -TC

    It strikes me that it should be possible to do that (or something similar) by building a safari extension, TC. Both Sessions and SafariRestore are able to launch multiple tabs from a previous session, so it seems like you should be able to create an extension that launches multiple tabs open to specific sites when Safari is launched.

  • Multiple Sessions in CMC for the same user

    Hello,
    Version:  BOE XI R2 SP3
    A user opens an Xcelsius Dashboard.  As they are using the dashboard, multiple calls are being made through QaaWS to the database.  In CMC, we can see multiple sessions created for that user.  However, this is not 100% consistent.
    Why are there multiple sessions created for one user consuming one dashboard?  Shouldn't everything result in one session?
    Thank you,
    Scott

    Thank you Greg,
    The user shows multiple session after opening and refreshing just one Xcelsius Dashboard over and over again.  It is using QaaWS to get its data.
    Also, as you mentioned, we are also seeing problems with Logout.  Sometimes, users click the logout, but their session does not terminate.  Other times, it does terminate.  And, also, sometimes the logout button does not work.  The user is forced to just close the browser window.
    Any ideas?
    Scott

  • Multiple sessions with Viewer 3.3.61

    Hi,
    I have Discoverer Server set up on a single machine, using OAS as the HTTP server, and Viewer 3.3.61.
    If a user tries to run 2 queries at the same time (opens up two browser windows), one of the queries will be cancelled (usually te first query started).
    Why is this? Is this normal functionality, or do I need to set something up for multiple sessions? If I need to set something up, where can I find documentation?
    Thanks,
    Suzanne
    null

    Suzanne,
    I think this is normal for Discoverer. It seems to be that there is a session for each user login. Thus a single query for each login. This is just my observation.
    Christopher

Maybe you are looking for

  • BAPI_SALESORDER_CREATEFROMDAT2 multiple items problem

    hi,    experts ,I'm facing a problem when using  BAPI_SALESORDER_CREATEFROMDAT2 to creat SO,I create a sale order with six items and  one of the item has problem. It is possible for me to create the SO successfully with the the other three items ?

  • Is there a 3.5 jack cable to docking cable available?

    I am looking for a cable with the 3.5 jack on one end and the docking port connection on the other end. I am not worried about it charging or not. I was told that i will get better sound by using docking port to tie into car 3.5 jack instead of using

  • I books to PDF convert

    I purchased book from I tunes and I want to conver PDF and print some pages. Does anyone know about anything?

  • Radio Application doesnt work

    Hello, I donwloaded radio application. But i can not get it worked. It says: "error: java.io.IOexception: Required radio is not active" what does it mean? What do I need to do to get it worked? Can someone help? Thank you very much for the help..

  • Starting with iMovie - general queries.

    I am fascinated with iMovie. I've printed out the 'instructions' and can understand bits of it. The system tells me I have the wrong Graphics Card for certain facilities but I can live with that. However: I have a cart load of Hi8 Camcorder tapes. I