Single Database Session Per User in ADF/BC Application

Hi, I am using ADF with BC (JDeveloper 11.1.1.1). My application contains multiple application modules, each connected to the same JDBC data source. On the app server, I have configured the data source to use Identity Based Connection Pooling.
My current configuration is resulting in numerous database sessions for each user. I have a requirement to use only a single database session per user HTTP session. Is there any way to configure the application modules to achieve this?
Thanks,
Brad

Hi,
use a single root Am module and make sure the others are used as nested modules. This will create a single connection
Frank

Similar Messages

  • No of Concurrent Sessions Per User  Mismatch with profile settings

    Hi
    DB Version Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    OS RHES 5U2
    I created a profile MYPROFILE and set the value of Concurrent Sessions (Per User) to 30. DB was bounced after creating the profile. I made this profile default for a particular user "MYUSER". I verified that by querying DBA_USERS (select profile from dba_users where username like 'MYUSER') I checked v$session with that particular user after sometime and noticed that it was showing 34 sessions. Some ACTIVE and some INACTIVE.
    My question is, if I have set the maximum limit of concurrent sessions per user to 30 in myprofile and made this the default profile for MYUSER, then how come i am still able to see more than 34 sessions of myuser regardless of the status? I am not sure if this is relevant or not but the IDLE TIME is set to 15 minutes.
    Thank you for your help
    Edited by: user560883 on Jul 4, 2010 12:45 AM

    user560883 wrote:
    Hi
    DB Version Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    OS RHES 5U2
    I created a profile MYPROFILE and set the value of Concurrent Sessions (Per User) to 30. DB was bounced after creating the profile. I made this profile default for a particular user "MYUSER". I verified that by querying DBA_USERS (select profile from dba_users where username like 'MYUSER';) I checked v$session with that particular user after sometime and noticed that it was showing 34 sessions. Some ACTIVE and some INACTIVE.
    My question is, if I have set the maximum limit of concurrent sessions per user to 30 in myprofile and made this the default profile for MYUSER, then how come i am still able to see more than 34 sessions of myuser regardless of the status? I am not sure if this is relevant or not but the IDLE TIME is set to 15 minutes.
    Thank you for your helpDid you set the parameter resource_limit=true ? You must do it before you test sessions_per_user. You can do so like the following,
    alter system set resource_limit=true;After this again try and post the feedback.
    HTH
    Aman....

  • Limit the number of session per user in the Wired dot1x environment with ISE 1.2

    Hello,
    I need to check if there is any configuration/workaround to limit the number of sessions/access per user in the Wired dot1x configuration.
    I need to check if this feature is available or not to solve the following scenario:
    I have 2 SW ports configured to use dot1x authentication with ISE 1.2 server.
    If user A connects to the 1st port and authenticated then he will placed on a VLAN based on the authorization profile.
    The case, that I need to deny the same user to connect on a different machine with the same credentials.
    The ISE itself does not have this feature currently,  the only feature available is to limit the number of sessions for the guest user.
    Is there any workaround on the Cisco switches to solve this? Cisco WLC has this feature and for the VPN we can limit the number of sessions also from the ASA itself.
    Thanks.

    limit number of session per user using wired dot1x is not available in 1.3

  • Clustered WL 6.1 creates 2 server sessions per user

              It appears that WL 6.1 creates 2 HTTP sessions per user for a simple JSP object.
              It shows in "ADmin Console/mydomain> DefaultWebApp> Web Applications> DefaultWebApp>
              Servlet Runtimes":
              1 /count.jsp
              1 /*.jsp
              In a non-clustered environment this does not happen.
              Is that normal?
              

    I found the problem myself. For some reason WL did not like any special characters in the system password. I am not sure which ones are valid and which are not but I am avoiding them all right now.

  • Maximum Number of Sessions per User

    I am using OAM 11.1.1.5.0 running on Solaris 10. When we change the "Maximum Number of Sessions per User" to 1 (per customer requirement), a user is restricted to having one active OAM session at a time (as expected). However, if the user does not explicitly log out (e.g. they just close their browser), they are unable to log back in to OAM until their existing OAM session times-out/expires. Given the above max sessions of 1 requirement, is it possible to config OAM to auto-kill the user's session and create a new one if they attempt to login before their initial OAM session times-out/expires? This was possible in Sun's Access Manager. Is it possible in Oracle's OAM? Thank you in advance for your reply.

    Hi,
    Maximum session per user 0-9 and how can configure see the below link:-
    http://help.sap.com/saphelp_nw70/helpdata/en/97/76a341ac57ef0be10000000a1550b0/content.htm
    Regards,
    Anil

  • How to realize only one identical remoteApp per session per user per computer?

    If a terminalserver 2008 R1 is configured for only one session per user, everything works like it should if the user connects using the 'normal' remotedesktop session. A second connect with the same credentials kicks the first connect.
    If a remoteApp is used instead of the 'normal' connect, it's possible to start multiple instances of this app within one user a least from one computer. mstsc do run multiple times and seem to link in the existent connection without kicking it. How to change
    that?
    Continuative:
    The started RemoteApp checks the mutex of all started processes and stops herself if a process is found with the same mutex. This prevents multiple instances of this app within one user with the same sessionID. If a terminalserver is configured for only
    one session per user, this RemoteApp shouldn't start multiple within one user. Using a "normal" remote desktop session the app doesn't start more than one time, I tested it. Used as RemotApp, the app starts multiple! Possibly I'm able to change this behaviour
    with a code fix instead of configuring terminal services. Any tips regarding mutex and terminalservers?

    Hi,
    I tested the following code and it is working for me both in a RemoteApp and Full session:
    Imports System.Threading
    Module Main
    Sub Main()
    Dim createdNew As Boolean
    Dim m As New Mutex(True, "TPMutex", createdNew)
    If Not createdNew Then
    Return
    End If
    Application.Run(Form1)
    GC.KeepAlive(m)
    End Sub
    End Module
    -TP

  • Terminate process or database session by User ID

    I have an web application with Client (JSP etc.) - Application (APACHE TOMCAT) and Database (Oracle) tiers. The application user IDs are managed by application layer and only one user ID is used to connect to database.
    As a DBA, how do I identify the "actual" application user that is running a particular process/database session? The purpose of identifying processes is due to many reasons such as to terminate un-used process, intentionally terminating a particular process (due to any reason), monitoring user access to a particular database, tables etc.
    Any idea of how to implement the above-mentioned user access control by DBA?
    Thanks
    ktt

    You can't unless the application plays nice and passes it to you.
    It is this lack of cooperation that leads many of us to be less than pleased with most middleware.

  • Session time out in ADF 11g application.

    Hi,
    I am working for the ST BPO Project. We have one ADF application that is migrated from 10g to 11g.And our application is deployed on the weblogic server.
    we are facing some session time out issues in the application which is intermittent and whenever we leave the web page for some times, the session get timed out and page gets errored out.
    We have set the session time out parameter in web.xml as well as for AM.
    Session Management:
    Following are the parameters which we have set already.
    1.     Web.xml
    We have put the following session time out in web.xml:
    <session-config>
    <session-timeout>180</session-timeout>
    </session-config>
    2.     bc4j.xcfg
    We have set the timetolive property of AM as:
    <AM-Pooling jbo.ampool.timetolive="10000000" jbo.pooltimetolive="10000000"/>
    3.     Also for the DB we have set the session time out to 180 mins.
    But if we leave the page for say some times around 5-10 min, the session of the page expires and it throws error.
    Also, as per our investigation : After some times the view id of the page gets expired and hence the issue comes. Also the behaviour is only on the weblogic server and we don't face any issues in the local set up.
    Kindly help us in solving this problem. Also let me know if any further details is required.
    Thanks
    Namit.

    Hi,
    suggest you also contact customer support on this issue. The version of your JDeveloper 11g release may matter as well
    Frank

  • The data from a table of a database are not retrieved in ADF BC Application

    I have two separate ADF BC applications. Each application retrieve
    the data from the same scheme of a database. Both applications work
    well when I launch them under embedded OC4J. I have deployed
    these applications to a standalone OC4J. When I launch one application,
    the data from a database's table are retrieved. When I launch the other
    application, the data from a database's table are not retrieved. Why? Please,
    help me.

    Any error message ?
    Frank

  • Session expiration across different adf web applications

    Version of jdeveloper is 11.1.1.4.0. I have two adf jsf applications deployed in two different weblogic servers. Web application 1 navigates web application 2 in an external window or inline popup using a url view activity. I navigate from web application 1 to web application 2 without a problem. However when navigating back from web application 2 to web application 1 any action made in the ui of web app 1 throws an exception:
    javax.faces.application.ViewExpiredException: viewId:/main.jspx - ADF_FACES-30108:The view state of the page has expired because of inactivity. Reload the page.
    This problem does not occur when the 2 web applications are deployed in the same weblogic managed server. Is there any way to overcome this session inactivity issue.
    Thanks in advance

    you can set session timeout in
    web.xml
    weblogic.xml
    weblogic-aplication.xml

  • Session per user = 1 is not working in database ?

    Dear All,
    A profile has been configured on database with parameter session_per_user=1 but it is not working on database.
    user can make n number of session to database . what could be the reason profile is not working ?
    Please sugeest the solution .....
    Regards,
    Rajesh
    Edited by: Rajesh.Rathod on Mar 17, 2009 3:34 AM

    You have to alter resource_limit to true
    Look fo rmore details in metalink note 745752.1

  • Enabling single session per user

    I am using the following to load the event
    java oracle.apps.fnd.wf.WFXLoad -u appluser @ppluser 10.3.4.45.+preprod.ke.dipl.com:1562:TEST thin US \ $FND_TOP/patch/115/xml/US/icxevte.wfx
    and getting the error
    Connecting to [email protected]+preprod.ke.dipl.com:1562:TEST -- UTF8
    Unable to connect to 10.3.4.45.+preprod.ke.dipl.com:1562:TEST
    appluser is the application user name, @ppluser the password, 10.3.4.45 ip (single node) preprod.ke.dipl.com the fully qualified domain name TEST the SID

    Please post the details of the application release, database version and OS.
    java oracle.apps.fnd.wf.WFXLoad -u appluser @ppluser 10.3.4.45.+preprod.ke.dipl.com:1562:TEST thin US \ $FND_TOP/patch/115/xml/US/icxevte.wfx
    and getting the error
    Connecting to [email protected]+preprod.ke.dipl.com:1562:TEST -- UTF8
    Unable to connect to 10.3.4.45.+preprod.ke.dipl.com:1562:TEST
    appluser is the application user name, @ppluser the password, 10.3.4.45 ip (single node) preprod.ke.dipl.com the fully qualified domain name TEST the SIDPlease source the application env file before running this command. Also, make sure you pass the correct SID, Database port number, database IP Address (or hostname).
    The correct syntax is:
    $ java oracle.apps.fnd.wf.WFXLoad -u apps <apps password> <host>:<port>:<SID> "thin" US $FND_TOP/patch/115/xml/US/icxevte.wfx
    Interview Notifications are not Working in Release 12.1 [ID 1065114.1]
    Thanks,
    Hussein

  • Single session per user

    To demo my product, I put usernames and passwords right on the login page. I don't want people getting confused by the result when the same user is trying to do two different transactions, so I'd like to restrict each username to one session at a time. If someone tries to login with a username already in use, I need to reject their login.
    Is there a way to do this?
    Thanks.
    Bill

    Bill,
    Better keep that PayPal account up-to-date. Sounds to me like you don't want SQL executed within any HTML DB session to be able to delete/update the same rows in tables or insert new rows when the timeframe between session creation and logout (or the final page visit of the session, e.g., user closes browser) overlaps with the similarly bounded timeframe of another HTML DB session.
    HTML DB can't help you with this, there is no concept of an "active" session or "session in use".
    You'd have to do something like insert a row into an ACCOUNT_IN_USE table when one of your accounts is "logged into", then delete the row when the logout takes place. Insert the row using a new process on the login page (raise error on dup key) and delete the row when the user clicks a logout link that should take them a logout confirmation page, which when submitted, deletes the row and redirects to the logout URL that you currently see in the Logout navbar icon. Replace the target of that navbar icon with a link to your new logout page. And then manually run a reset procedure to delete all the rows after so many users have not "actively" logged out but just closed their browsers and went home.
    Scott

  • Can't limit the number of simultaneous sessions per user

    Hi,
    I am using Cisco ACS 4.0 as a radius server that authenticate users for Internet access.
    Microsoft ISA 2004 is used as Radius client.
    When users tries to connect to Internet, the ISA Server forwards requests to Radius server (Cisco ACS) for authentication.
    I have constated that some users communicates their passwords to permit acces to Internet for non authorized users.
    Even, I have selected Max Sessions property in Cisco ACS to 1 for every user, I can see clearly on ISA 2004 that the same user/password is used from multiple PCs simultaneously.
    Internet acess on my company is based on a user / password authentication, and IP adresses are provided by DHCP server.
    Can you help by advising me how to limit every user using the internet to only a single session at any time, by using ISA 2004 (proxy) and Cisco ACS 4.0 (Radius Server).
    Thank you.
    Mustapha.

    Limiting every user using the internet to only a single session at a time is not possible with a radius server. You will need to use the proxy server (ISA server) for this task.

  • No session per user

    hello
    our application uses UIX + BC4J (jdev 9.0.5.2)
    we are using JAZN for authentication through Oracle OID
    How can i prevent a specific OID user from loggin more than once to the application... I cannot use Oracle profiles as Oracle profile use database users. All our users have the same URL in JDBC and hence the same database user
    please help

    Hi,
    U can do that with Profile.
    Check the table dba_profiles, u'll find SESSION_PER_USER in the
    field RESOURCE_NAME.
    If u want different value for each user, make one profile by
    user.
    Bye,
    Fred DENIS

Maybe you are looking for

  • What lcd cord should i be looking for to buy for lenovo g500s no touch.

    i heard that i should be looking for oem cords since i dont have shared graphics. but i have no idea though. and by lcd cord i mean the cord that connects to the screen.

  • SAP E-Commerce with SAP ECC

    Hi all, A client found in a SAP Portal, information about pre-configured solution ECC E-Commerce, and want the implement. The problems: 1-The client does NOT want to implement CRM, just wants to deploy preconfigured E-Commerce. Is possible? 2-The cli

  • Cant get rid of annoying security warning

    Hello, I have created a basic form for my work, so employees can book their holiday time electronically. There are text fields, radio buttons, basic calculation (total days taken, shown in green at the bottom) and the 2 buttons bottom right, which su

  • My envy 110 works but the web services and eprint services give "connection error". what to do?

    My family use  Macs and Apple Deskbook and a BT Homehub network. The HP troubleshooting instructions do not always match what is on computer screen. The menu paths that HP gives sometimes do not exist. The Envy 110 printer was working fine but it oft

  • Update types in infopackage for generic data source

    Hi, Suppose if we create a generic data source,then 1) What are update types availbale in infopackage for tha generic t data source? 2) Is there any link between,the selection on the                            i)  type delta type select