NUMBER OF SESSIONS CONNECTED TO AN APPLICATION SERVER

how i can find out number of database sessions connected to an application server
thanks and regards
Ajith

Current Sessions is the current total number of open sessions for each application. Yes, you can use JMX or WLST within a script.
The WebAppComponentRuntimeMBean mbean of your application provides this information through OpenSessionsCurrentCount attribute.
For instance, in WLST enter:
wls:/my_domain/serverRuntime/ApplicationRuntimes/my_application/ComponentRuntimes/my_app> cmo.getOpenSessionsCurrentCount()
For JMX I suggest to you see [http://download.oracle.com/docs/cd/E13222_01/wls/docs91/wlsmbeanref/core/index.html]
Edited by: Betino on 22/10/2009 11:26 AM

Similar Messages

  • How do I check the current number of users connected to the application?

    Hi there,
    I would appreciate that you advise me on how to know how many users are accesing
    an application I've got in production, powered by BEA WebLogic Server 6.1.
    In the Administration console, I go to the specific server, and inside the tab "monitoring",
    then "Performance", I've got some graphics showing the memory usage and throughput.
    But, where do I see the number of actual connection to the application?
    Thanks

    Mark Griffith <[email protected]> wrote:
    Oscar:
    I am pretty sure that WLS doesnt give you the type of monitoring you require. You
    might have to check out one of the third party monitoring partners like Wiley or
    Precise.I guess that depends on how you define 'how many users are accessing' an
    application(s) - for example, 'OpenSessionsCurrentCount' can serve as a rough measure of
    the number of users currently using the web application. or, number of threads + execute
    queue length can give you an idea of current number of user requests executing/waiting
    to be executed at any given time, etc. WebLogic does provide lots of useful monitoring
    information, and the fact that it uses JMX makes obtaining this information very easy.
    Having said that I would like to ask a couple of questions.
    a) what is your app (EAR? EJB's WebApp?)
    b) why do you want to know, meaning as soon as you know how many what is the next
    thing you want to know/see?
    Cheers
    mbg
    "Oscar" <[email protected]> wrote:
    Hi there,
    I would appreciate that you advise me on how to know how many users are
    accesing
    an application I've got in production, powered by BEA WebLogic Server 6.1.
    In the Administration console, I go to the specific server, and inside the
    tab "monitoring",
    then "Performance", I've got some graphics showing the memory usage and
    throughput.
    But, where do I see the number of actual connection to the application?
    Thanks
    Dimitri

  • Problem in Connecting to the application server

    Hi,
    I have used this JMS previously to connect to Sun Application Server PE 8 and it was working fine, but lately I installed Sun Application Server 9 (GlassFish) to my computer without removing the previous application server. I just changed all the classpath configuration pointing to the new application server instead of the old one. The previous application server is stopped and I mostly start the new application server without even starting the previous one. I also changed the folder name of the previous one, in case that something is pointing to that location.
    I created the ConnectionFactories and JMS destinations as I did before, and the code is the same, but unfortunately it is not working and it's giving me this error:
    com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init>
    WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: myhost; port: 3700" org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:2348)
    Is it important to remove the first application server completely ?
    Have you ever encountered to such a problem?
    Regards,

    Hi,
    I guess it is nothing to do with the previous application server existance.
    It seems this is a known problem some time back if you have a java version "1.5.0"
    Find more information
    at http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5068014
    Regards
    Mandagiri

  • Name of database connected to this application server

    dears ,
    i have Oracle Application Server 10g (10.1.2.0.2)
    i want to get database UNIQUE_name that is connect to this application server !!!
    i run this command SELECT sys_context('USERENV', 'DB_UNIQUE_NAME') FROM dual;
    it gave me name of application server not database ??
    any suggestion plss??

    Hi PAul,
    show parameter name,
    will work for 9i database..but will not provide "DB_UNIQUE_NAME"
    10g it will work...have not tried for 11g databse
    This will be the output if you use the above cmd on 10g
    NAME TYPE VALUE
    db_file_name_convert string
    db_name string xyz
    db_unique_name string xyz
    global_names boolean FALSE
    instance_name string xyz
    lock_name_space string
    log_file_name_convert string
    service_names string xyz.momt.com
    sp_name string xyz
    And the output if you use the above cmd on 9i
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    SQL> show parameter name
    NAME TYPE VALUE
    db_file_name_convert string
    db_name string orcl
    global_names boolean FALSE
    instance_name string orcl
    lock_name_space string
    log_file_name_convert string
    oracle_trace_collection_name string
    oracle_trace_facility_name string oracled
    plsql_native_make_file_name string
    service_names string orcl
    have editted my previous post accordingly,
    Regards
    Fabian

  • "System cannot connect to the application server" (Admin Client only)

    Hello Experts,
    I have a strange issue: I am getting "system cannot connect to the application server" when I am trying to launch BPC Admin.
    I successfully connect to the same application server with Excel client on the same PC.
    I am able to connect via Admin from another PC.
    The installation in question is a new installation. The only difference between my PC and a troubled one is IE7 vs. IE8 - IE8 is the one giving issues.
    BPC site is in Local Intranet zone. Windows Authentication is enabled. What am I missing? Local Policy? IE8 settings? Folder permissions (I'm local admin on both PCs)?
    It's BPC 7.5 SP05.
    Thanks in advance,
    Akim
    P.S. OS: Windows Server 2003 SP2 32-bit (Citrix box).
    Edited by: Akim Zubarchuk on Mar 30, 2011 12:28 AM

    Hi Akim,
    Check client diagnostic for admin client can provide good information.
    Any way if you are able to connect with excel client not with admin client I will say:
    1. Check the rights of user used to connect with admin console
    2. Check proxy settings
    3. Disable antivorus or firewall into that computer.
    4. Make sure the installation of admin client was correct done.
    In my opinion it is a big probability to be point 3 or 4.
    Regards
    Sorin Radulescu

  • JDeveloper cannot connect to Oracle Application Server 10.1.3.x

    Hi, I am trying to create a connection from JDeveloper (on my desktop) to my oracle application server (10.1.3.x, on another machine). The JDeveloper version is 10.1.3.1.0.
    In step 1, I chose the connection type: "Oracle Application Server 10g 10.1.3".
    In Step 3, I chose "connect to group". I tried different host names and "OC4J Component/group name" but always got the following error msg:
    Error getting Cluster Config Set URLs for uri: deployer:cluster:opmn://hostname:6003/OC4J:default_group.
    I also tried to run JDeveloper from the same machine as my AS installed. The host name I used is "localhost" and the group name is "default_group" and the connection is successful. So it seems to me that my AS configuration is correct.
    May I ask what should be the correct "host name" and "group name" if I want to connect from a "remote" JDeveloper? And in what configuration file can I find such info.?
    Thanks a lot.
    Message was edited by:
    user575786

    hi user575786
    Would you mind sharing some more details about the changes you had to make to get it working or about the nature of the "misconfiguration" you mention?
    Maybe you have some pointers to documentation that helped you solve this?
    (tip : You can use "Your Control Panel" to make your name visible in forum posts.)
    thanks
    Jan Vervecken

  • Error in connecting sqlplus in application server

    hi,
    i am working in connecting two servers.one is application server and another one is database server.........i have set the environmental variable for sid as two_task=SID_name...so while connecting sqlplus from application server ....
    its showing an error
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Feb 8 15:20:22 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter user-name: xmluser
    Enter password:
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    what is the remedy for this error......
    thanks in advance
    R.Ratheesh

    hi,
    Iam attaching tnsnames.ora and listener.ora
    Tnsnames.ora
    RBTT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = application_server name)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER=DEDICATED)
    (SERVICE_NAME = RBTT)
    Listener.ora
    LISTENER =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=application server_name)(PORT=1521))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    #BEQUEATH CONFIG
    (GLOBAL_DBNAME=RBTT)
    (SID_NAME=RBTT)
    (ORACLE_HOME=home path of oracle in database server
    #PRESPAWN CONFIG
    (PRESPAWN_MAX=20)
    (PRESPAWN_LIST=
    (PRESPAWN_DESC=(PROTOCOL=tcp)(POOL_SIZE=2)(TIMEOUT=1))
    )

  • Applicaton Catalog - "Cannot connect to the application server" - Existing solutions have not worked

    Hi there,
    I have researched the problem below extensively online and found quite a varies array of solutions offered however they all seem to relate to the problem in that someone was setting up SCCM but couldn't get it to work. My situation is different in that the
    feature was working, no settings were changed however it has now stopped working.
    The issue is that if any user attempts to use the app catalog, they are shown the error screen which says "Cannot connect to the application server". It then says the problem might be temporary, try again later etc however it's not temporary.
    All the settings for the app catalog appear to be correct, as I would expect them to be as it was working (I am new to this company, the Desktop manager has told me it was working a few weeks ago).
    Does anyone know of a service in Windows, maybe something to do with the SQL side or certificates that could cause this issue? (although I checked certificates and again, looks fine). I'm almost at the point now of just restarting the server because
    if all else fails, turn it off and on again right?
    Cheers all.

    Hi, I just typed a long reply to this and then accidentally clicked a favourite on the Favourites bar and lost everything I typed :(
    -Checked the path in IIS to the \SMS_CCM\CMApplicationCatalog folder was OK and it was.
    -Checked that required .NET components including WCF are installed.
    -This one seemed a bit strange but ensured local service account has access to C:\Windows\Temp (this seemed very basic and unlikely but I tried it anyway due to desperation).
    -Checked that self-signed certificate was trusted by my PC attempting to access the App Catalog.
    -Checked SCCM services on the server are all running (where they should be, or set to manual as appropriate).
    I'm sure I've tried more than this, but these are the main things I can remember.
    Cheers.

  • Info of connection client to application server

    I use Application Server 1.0.1 ...
    It is possible to know (using form 6i) some information about the client that actualy is connect to the application ??
    Infact userenv(terminal) reports always the name of the application server.
    Thank You

    Hi,
    If you query for the terminal in the database tables, they will show terminal as application server terminal as the database connection is opened from the application server.
    May be you need to find out client connection info at application server level.
    Regards
    Deepak

  • How to limit number of  jbdc connexion on Oracle application server 10G R3

    Hi all ,
    i have deployed my application an integrated server on Oracle Application Server R3.
    The problem is that i have more than 600 connexion to my Database , an this is too much!!
    How can i configure this ???
    Please help,
    Paul

    You can set the maximum number of connections on the connection pool configuration page of your datasource.
    As there are some troubles with the data source when your dataabse has been down (connection is not restored), I'd suggest to set the Validate Connections option to "true"

  • Measure the number of user connected to an Application

    Hi,
    How can I find the number of users connected to a weblogic application
    Can you help me understand how can I measure this parameter for a monitoring purpose?
    Thanks in advance,
    Nicola Attico

    Current Sessions is the current total number of open sessions for each application. Yes, you can use JMX or WLST within a script.
    The WebAppComponentRuntimeMBean mbean of your application provides this information through OpenSessionsCurrentCount attribute.
    For instance, in WLST enter:
    wls:/my_domain/serverRuntime/ApplicationRuntimes/my_application/ComponentRuntimes/my_app> cmo.getOpenSessionsCurrentCount()
    For JMX I suggest to you see [http://download.oracle.com/docs/cd/E13222_01/wls/docs91/wlsmbeanref/core/index.html]
    Edited by: Betino on 22/10/2009 11:26 AM

  • Session time out in Application server -reg

    hi friends
    We have Oracle Application server 10g in cluster mode in our organization. We are using Oracle Forms and Reports . But there is one issue. If the user keeps the screen idle for more than 20 min the system gets timed out and requires sdba authentication . We actually increased the time out value. But we could not able to remove sdba authentication. Our aim is to remove authentication after session time out. It is ok even if the application completely closes and comes out of the screen. But the user must not be asked to enter sdba credentials after system is idle for the time out period.
    M.C.Jayanarayan

    Hi,
    you posted this question to the JDeveloper forum, where it may be better posted to the application server forum or the Forms forum
    Frank

  • Error creating connection to Oracle Application Server 10g(10.1.3)

    Hey
    Im using Oracle JDeveloper 10g and when i tried to create a new connection to Oracle App Server 10.1.3 and test it, I received the following error message
    Error while parsing OPMN dump in XML format: XML Parse Exception: tag=[null] Ran out of data, content []
    I have no idea what this means and any help on this will be highly appreciated. Thank you
    Arjhun

    OK, in short:
    Cause: Wrong OPMN request port used to configure the connection (third step of "Create Application Server Connection" wizard). You might have kept the default (6003) but your OPMN is configured with different request port.
    Solution: Check $ORACLE_HOME/opmn/conf/opmn.xml file and look for entry like this:
    <port local="6140" remote="6240" request="6040" />
    Create the connection using OPMN request port that is set in opmn.xml file.
    Thanks
    Shail

  • No 'Connection' link in Application Server Control

    Hi,
    Using Application server control(OEM 10g) to create public/private connection so that the discoverer viewer will be able to us this connection to connect to multidimensional data source(OLAP).
    As a discoverer administrator When i browse... discoverer &gt; administration&gt;.. i can see only 'services logging' link but no 'connection' link to create a link.
    An help is greatly appreciated.
    Thanks
    SA

    Resolved the issue.
    There are 2 types of installation.
    1. BI standalone installation (i.e. installed from an Oracle Business Intelligence standalone CD with no associated OracleAS infrastructure)
    2. BI associated installation (i.e. installed from an Oracle Business Intelligence standalone CD and associated with an OracleAS infrastructure)
    with the first installation the connection link is not available.
    You can associate a Discoverer instance with an existing OracleAS Infrastructure during the post-install process.
    Thanks

  • The system cannot connect to the Application Server

    Hello Everybody,
    I have a problem when connecting to my BPC Application.
    I get the following error when trying to open BPC:
    "The system cannot connect to the (http://xxxxxx) Application Server. Verify that you have specified a valid Application server name, or see if the  application  server is unavailable at this time."
    We have to reboot the application server to have acces again to the application.
    The osoft website was also unavailable.
    The server diagnosotic was OK.
    And when consulting the tblLogs table I found this message:
      ==============[System Error Tracing]==============
      [System  Name] : ApplicationService  [Message Type] : ErrorMessage  [Job Name]     : OSoft.Services.Webservice.ApplicationService.ApplicationService.Query()  [DateTime]     : 1/3/2011 4:27:35 PM  [UserId]       : GROUPE\Deshors  [Exception]       DetailMsg  : {System.NullReferenceException: Object variable or With block variable not set.     at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)     at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)     at OSoft.Services.Webservice.ApplicationService.ApplicationService.ValidateUser()     at OSoft.Services.Webservice.ApplicationService.ApplicationService.Query(String strQueryType, String strParameter, String strContext, String strSecurity)}
    ==============[System Error Tracing  End ]============== 
      ==============[System Error Tracing]==============
        [System  Name] : Configuration  [Message Type] : ErrorMessage  [Job Name]     : ServerDefault.GetValue  [DateTime]     : 1/3/2011 4:40:08 PM  [UserId]       :   [Exception]       DetailMsg  : {System.Exception: Cannot create ActiveX component.     at Microsoft.VisualBasic.Interaction.CreateObject(String ProgId, String ServerName)     at OSoft.Services.Application.Configuration.ServerDefault.GetValue(String strKeyId)} 
    ==============[System Error Tracing  End ]============== 
    Any help?
    Thank you in advance.

    Hi expert,
    Unfortunately, we still encounter the issue !!
    We get Unhandled exceptions in the W3WP.EXE process, but the IIS logs do not show anything wrong.
    Here is the Windows event warning message we get :
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 1/31/2011 11:43:11 AM
    Event time (UTC): 1/31/2011 10:43:11 AM
    Event ID: 0295c38777734029a3cec37ec035fa45
    Event sequence: 8
    Event occurrence: 1
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/1/ROOT/OSoft-1-129409441580590866
        Trust level: Full
        Application Virtual Path: /OSoft
        Application Path: C:\PC_MS\Websrvr\Web\
        *Machine name: **************
    Process information:
        Process ID: 4323
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
    Exception information:
        Exception type: Exception
        Exception message: Invalid UserID
    Request information:
        Request URL: http://localhost/Osoft/Launch.aspx
        Request path: /Osoft/Launch.aspx
        User host address: ::1
        User:*******\Administrator
        Is authenticated: True
        Authentication Type: Negotiate
        Thread account name: NT AUTHORITY\NETWORK SERVICE
    Thread information:
        Thread ID: 12
        Thread account name: NT AUTHORITY\NETWORK SERVICE
        Is impersonating: False
        Stack trace:    at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
       at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
       at OSoft.Consumers.ZFP.WebBase.Utility.GetLastUserApp(CPMUser& mUser, String strAppServerURL, String strSecurity, String strContext, Boolean bServerPathReset)
       at OSoft.Consumers.ZFP.WebBase.PageBase.Page_Init(Object sender, EventArgs e)
       at System.EventHandler.Invoke(Object sender, EventArgs e)
       at System.Web.UI.Control.OnInit(EventArgs e)
       at System.Web.UI.Page.OnInit(EventArgs e)
       at OSoft.Consumers.ZFP.WebBase.PageBase.OnInit(EventArgs e)
       at System.Web.UI.Control.InitRecursive(Control namingContainer)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Thanks in advance for your help
    Lionel

Maybe you are looking for