Oracle Enterprise Manager Console Sessions

I do apologize if this is posted in the incorrect location. I have Oracle Enterprise Manager Console open and i'm within instances\Sessions. When I first log in there are 9 total active sessions. 1 is mine with program java.exe which is OEMC. I have a website that calls a stored procedure. It will return either a string or nothing depending on if there is a row in the table. That is the only call that is being made. This executes on page load. As soon as I go to this page and it loads I check OEMC again and now I have 5 new INACTIVE sessions with program w3wp.exe. Why is there 5 when i'm only making 1 call to the database?
Here is the c# code i'm using on my master page. The page that is calling the master page only has text there is nothing in the code behind for that page.
OracleParameter pMsg;
OracleConnection conn = new OracleConnection(ConfigurationManager.ConnectionStrings["strDB"].ConnectionString);
OracleCommand command = new OracleCommand("GetMsg", conn);
command.CommandType=CommandType.StoredProcedure;          
pMsg = command.Parameters.Add("PMSG", OracleDbType.Varchar2, 4000);
pMsg.Direction = ParameterDirection.Output;               
conn.Open();
command.ExecuteNonQuery();
string sMsg = Convert.ToString(pMsg.Value);
if (sMsg.Length > 1)
litMsg.Text = "** " + sMsg + " **";
conn.Close();
conn.Dispose();      
command.Dispose();
Thank you for any help

I think I figured out what is going on. I think it's the connection pooling that is creating these 5 connections. When I turned pooling off it created 1 connection when I was on that page and then when I exited the connection was gone as well. My question now is are these 5 connections for the entire site? Meaning that it will server anyone user to my site?
If I have an open connection object later on in my code does it skip this process and just go to the connection pool?
Thanks

Similar Messages

  • Oracle 8i: Oracle enterprise manager console

    Dear all,
    I installed oracle 8i (8.1.6) server on linux and client on my own NT
    machine. I had no problem to access the database using sqlplus and DBA
    studio. I also configured oracle management server and tried to using
    Oracle Enterprise Manager Console. Also, there was no problem to discover
    the node and to ping agent. But, when I tried to connect to the database,
    it gave me the following error message: "ORA-12545: connect failed because
    target host or object does not exit". Can someone help me out?
    Thanks.
    Dewei

    add or drop users, Using GUI tools could be sometime dangerous.
    You can always use performance diagnostic (oracle provided) to have performance stats in graphical display.
    You can also use EM Grid Control (10g) in order to maintain 8i and 9i with 10g EM Grid control.
    You need to install an agent on those database in order to communicate with 8i and 9i.
    Jaffar

  • Oracle Enterprise Manager Console Login issue

    HI Guys,
    I have installed Oracle 10g on my Windows 7 64 bit system and have trouble running Oracle Enterprise Manager Console.
    When I open Oracle Enterprise Manager Console it prompts me for a Hostname and SID parameters. For which I have given my System name as the parameter and orcl as the SID.
    Then I get an error saying that " Failed to parse tnsnames.ora file ServiceAliasException: 11 "
    Please Help!!
    Thank you!!
    Karthik

    The dbconsole needs to be configured, assuming your database instance is up and running ...
    For startup info see http://download.oracle.com/docs/cd/B19306_01/server.102/b14196/em_manage002.htm#sthref143

  • Oracle Enterprise Manager Console TNS-04404 / TNS-04414

    Oracle Enterprise Manager Console
    Version 10.1.0.2.0 Production
    Running on Windows XP Professional
    =================================================
    Failed to parse tnsnames.ora file
    oracle.net.config.ServiceAliasException: TNS-04404: no error
    caused by: oracle.net.config.ConfigException:TNS-04414: File error
    caused by: TNS-04612: Null RHS for "QCCP1.WORLD":
    0
    =================================================
    (NOTE): I understand that this issues is related to TNSNAMES.ORA file. I have another computer, and the OEM Console is working just fine on that computer. So, I copied the TNSNAMES.ORA file from the other computer, but still I am receiving the same issue.
    Please let me know if you can help me with this issue. Thanks in advance ...

    878649 wrote:
    This problem occur when i run version 10.2 of Console Enterprise Manager
    This a very funny error but took me a lot tries and errors to solve it !
    I'ts related to the syntax of an entry defining an SID in the tnsnames.ora. This an oracle bug for sure
    Here is an entry in my tnsnames.ora
    Then why does posted example below NOT contain any "SID" entry?
    mydb.world =
    *(DESCRIPTION =*
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = myoraclehost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = mydb)
    At first look this entry is valid. At least SHOULD BE VALID an understood by oracle tnsnames interpreter
    After a couple of tries, i finally found that there should be at least one space between the begining of the line where figure out the description keyword (DESCRIPTION
    I've corrected the problem by inserting a space before this keyword.
    This happen

  • Cannot login as sysdba in Oracle Enterprise Management Console

    Hi,
    I have recently installed Oracle 9.2.0.4 in Red Hat Linux 9.
    I ran "oemapp console" to launch the Oracle Enterprise Manager Console Standalone. However, everytime I tried to login as:
    user: sys
    password: <sys password>
    connect as: sysdba
    I always get ORA-01031: insufficient privileges.
    The Oracle database where I cannot connect as sysdba in OEM was created MANUALLY.
    However, I can successfully login to OEM as sysdba if the database was created using Database Configuration Assistant...
    So I might have missed out some configurations when I creasted the database MANUALLY...
    any ideas??
    Thanks in Advance
    Regards
    Prasanna

    Hi there once more,
    Of course it is possible that user system has the same problems as user sys (insufficient privs)....
    In that case try to log on as internal/pwd@dbname as sysdba to perform the trick.
    Good luck!
    Regards,
    Georges.

  • Unable to drop Oracle Enterprise Manager console in Oracle 11g

    Hello all,
    I am trying to drop the Oracle Enterprise Manager console in Oracle 11g (Windows server 2008 32 bit). I am getting the following error.
    D:\Oracle\Ora11G\BIN>emca -deconfig dbcontrol db -repos drop
    STARTED EMCA at Jun 16, 2009 9:59:58 PM
    EM Configuration Assistant, Version 11.1.0.7.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: NM45
    Listener port number: 1529
    Password for SYS user:
    Password for SYSMAN user:
    Password for SYSMAN user:
    Do you wish to continue? [yes(Y)/no(N)]: y
    Jun 16, 2009 10:00:20 PM oracle.sysman.emcp.util.EMCALogManager addLogFileIntern
    al
    WARNING: Adding log file D:\Oracle\Ora11G\cfgtoollogs\emca\ENMSCSDB\emca_2009_06_16_22_00_20.log failed. Messages will not be logged in this file.
    Jun 16, 2009 10:00:20 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at D:\Oracle\Ora11G\cfgtoollogs\emca\ENMSCSDB\emca_2009_06_16_22_00_20.log.
    Jun 16, 2009 10:00:21 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Jun 16, 2009 10:00:22 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Can't find file D:\Oracle\Ora11G\F1SMLFS_NM45\sysman\config\emoms.properties
    Refer to the log file at D:\Oracle\Ora11G\cfgtoollogs\emca\ENMSCSDB\emca_2009_06_16_22_00_20.log for more details.
    Could not complete the configuration. Refer to the log file at D:\Oracle\Ora11G\cfgtoollogs\emca\ENMSCSDB\emca_2009_06_16_22_00_20.log for more details.
    D:\Oracle\Ora11G\BIN>
    Even though the D:\Oracle\Ora11G\F1SMLFS_NM45\sysman\config\emoms.properties is exists in the disk. Any Idea.
    In Oracle 9i " Enterprise manager Configuration Assistant" (Open “Start ---> Programs ----> Oracle - OraHome92 ---> Configuration and Migration
    Tools -----> Enterprise manager Configuration Assistant) was present. Is there any replacement of this in Oracle 11g ?
    Thanks
    With Regards
    Hemant

    hem_kec wrote:
    Hello all,
    I am trying to drop the Oracle Enterprise Manager console in Oracle 11g (Windows server 2008 32 bit). I am getting the following error.
    D:\Oracle\Ora11G\BIN>emca -deconfig dbcontrol db -repos dropBefore this you shoud do :
    ORACLE_HOME/bin/emca -x <sid>
    ORACLE_HOME>/sysman/admin/emdrep/bin/RepManager <hostname> <listener_port> <sid> -action drop
    Refer to the log file at D:\Oracle\Ora11G\cfgtoollogs\emca\ENMSCSDB\emca_2009_06_16_22_00_20.log for more details.did you check this log ?
    Even though the D:\Oracle\Ora11G\F1SMLFS_NM45\sysman\config\emoms.properties is exists in the disk. Any Idea.yes. you could visit metalink and see      278100.1 How To Drop, Create And Recreate DB Control In A 10g Database
    In Oracle 9i " Enterprise manager Configuration Assistant" (Open “Start ---> Programs ----> Oracle - OraHome92 ---> Configuration and Migration
    Tools -----> Enterprise manager Configuration Assistant) was present. Is there any replacement of this in Oracle 11g ?
    Thanksok
    With Regards
    Hemantbest regards

  • Oracle Enterprise Manager Console redirection

    I've recently moved one of our servers that has Oracle 10g 10.2.0.2.0 installed to another domain. After this was done, the Database Control to navigate to the web page will no longer work properly. I have tried uninstalling and reinstalling Enterprise Manager Console, and changing the default web address in the browser's title bar, but to no avail. Are there certain configuration parameters that need to be addressed in order to get this working again, or certain registry settings that need to be altered? Thanks for any help on this in advance.

    Only a general advice is possible. This kind of error occurs,when there are mismatches in your installed Oracle software. In your case 'java.exe' and 'oci.dll' are not suited to each other. You may have to repeat the installation . Keep an eye on error messages.
    Werner

  • Oracle Enterprise Management Console doesn't work

    Hi, there,
    I meet a strange problem. I use JDeveloper to make jsp project. the database is oracle 9i. I install JDeveloper and database on the same machine. at first, everything is ok. but suddenly I found that I can't run Enterprise Manager Console. the icon in the start meun became unrecognize. if I run the command on the command line, it's refused. I don't know what's the reason. but what's more strange is that I can run jsp project and store and retrieve data from database. I really don't know the reason, besides, how can I change database structure and view data stored in the database without Enterprise Manager Console?
    my project will be used on the next week, but I don't know if this problem will effect funcation!
    does there anyone know the reason and how can I resolve it? besides, my OS is windows xp professional.
    any hint will be great appreciated!!

    You can view your all values from Jdeveloper only .
    Go for connection Database and click on user than u can c database structure and all tables views ....
    Hope it helps

  • Starting Oracle Enterprise Management Console

    I have oracle11gR2 database instance up and running on RHEL and i am able to connect to this instance using sqldeveloper. I need to have access to enterprise manager console too.
    I tried to start enterprise manager using following command
    [ora112@localhost ~]$ emctl start dbconsole
    Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.
    then it tells me that ORACLE_UNQNAME is not defined.
    the i set ORACLE_UNQNAME=JIP (JIP=ORACLE_SID), even after doing this , i get the same message when i try to start enterprise manager console.
    could anybody help me resolve this issue
    thanks in advance for any help

    Unset ORACLE_SID (i.e. only set ORACLE_UNQNAME instead of ORACLE_SID), then try again. Pl also post the output of command "env | sort" just before issuing the emctl command
    HTH
    Srini

  • Oracle Enterprise Manager Console Error

    Hi,
    I have installed Oracle 10g client for administrator(for Windows Vista) on my Windows Vista machine to manage Oracle databases remotely.
    However, after creating the TNS service names I get error in OEM admin console as follows and do not see any DB connections.
    Error: Failed to parse tnsnames.ora file
    oracle.net.config.serviceAliasException: TNS-04404: No error
    caused by Oracle.net.configException: TNS-04414
    caused by TNS-04610"
    How can I troubleshoot this error and rectify OEM console.
    Appreciate much your kind response.
    Regards,
    Noor

    Hello all,
    I had exactly the same problem: ServiceAliasException: 11, not 10 as in the MetaLink note referred to above.
    It turned up today, but the tnsnames.ora file hasn't been changed since October 15:th. It turns out to be
    some kind of security matter in windows (XP in my case, but I guess it's about the same in Vista).
    All the files in my TNS_ADMIN folder have been set to read-only. Looking at them with cygwin shows that
    it's actually even worse: They've been chmod:ed 0 and put on an ACL.
    Once I chmod:ed them writable again (guess removing the read only flag in windows would do the same),
    I could create and save new entries with my 10.2 OEM standalone again.
    Seems youy get a "ServiceAliasException: 11" when tnsnames can't be written.
    Best regards,
    //Robert

  • Oracle Enterprise Manager Console on Win 7 64bits OS 6.1

    Hello everyone,
    I've been looking for a solution for my problem and got nothing so far. This is the situation:
    I''m a new DBA in my work and my co-workers sent me the Oracle Client 10g to be installed on my new notebook. The reason is that we have more than 300 databases in several servers and I need to install the client on my pc to administer them.
    My problem is that i'm using Windows 7 64 bits OS 6.1 and the client they sent me just works for 32 bits.
    Does anyone have any idea how I can get a client that fits my SO? I've been searching on oracle website but no solution found so far.
    Thanks in advance,
    Diego.

    873834 wrote:
    Well, I've tried the Instant client already... but it doesn't give me the an interface (OEM Console) where I can see all my databases and choose one to connect to.OEM console is web based. Nothing at all required on your local PC.
    there are two flavors of 'OEM"
    The first is dbcontrol. This runs on the same box as the database. One instance of dbcontrol provides a web interface to one database instance. If you run multiple db instances on a box, each would have to have its own dbcontrol, each listening for http(s) connections on its own port.
    The other is Grid Control. It is essentially an app server, presenting a common web interface for multiple database instances running on multiple hosts. It communicates to each instance through an agent running on the same box as the db instance being managed. It keeps its own repository in an Oracle database - preferably one dedicated to that purpose.

  • Starting and Stopping the Oracle Enterprise Manager Console

    I read 2DayDba. Here was written:
    Log on to the operating system as the oracle user. Issue the following command to start the dbconsole process:
    emctl start dbconsole
    I opened cmd and wrote that.
    Enviroment variable  ORACLE_SID not defined. Please define it
    I understand it, but I don't know excatly.

    Windows
    set ORACLE_SID=<yoursid>
    Bash
    ORACLE_SID=<yoursid>; export ORACLE_SID
    Kornshell
    export ORACLE_SID=<yoursid>
    emctl start dbconsole
    Sybrand Bakker
    Senior Oracle DBA

  • Unable to launch Enterprise Manager console(Oracle 9.2.0.4.0)

    I am using oracle 9i db (9.2.0.4.0).
    when i try to launch oracle enterprise manager console i am not able to do so.
    In short
    After putting username, password,service,connect as ...
    and clicking on OK button.
    nothing happens.No message,no warning.
    but i am able to connect to the same schema in sql*plus.
    please suggest wat needs to be done.

    I met the same problem, can use plsql to connect db (oracle 10g release2), but in the enterprise manager webpage, when I keyed in the right userid/password, nothing happen, but if I purposely key in wrong userid or password, it will show "invalide userid or password", can anyone help?

  • Oracle 10g Enterprise Manager DB control vs Enterprise Manager Console

    We have a consultant install Oracle 10g on Windows platform. Somehow, I only see Enterprise Manager Console installed and I can use this console to access database. I don't see Enterprise Manager Database Control installed. What difference between Console and DB control? Please advise.
    Thanks
    S.

    ski123 wrote:
    I see the interfaces are totally different. the console is more like Oracle 9i. I know the DB control is a web tool, just for Oracle 10g. My question is in terms of admin, which one is better? Why Oracle has different tool to manage Database?The Oracle Enterprise Manager Console is a Java Standalone client, not a 3-tier product like the EM DB Console.
    The Java Standalone client was deprecated in 10gR1. Probably since not all features had been ported to the 3-tier DB Console (eg: Spatial index management and Workspace Management), Oracle decided to let us use the Java Console as an extra install from the Client/Companion disk. However it is no longer available going forward into 11g.
    If you look at the 'Console' carefully, you will not that some areas are no longer functional and it does not cover all capability of 10g, for example in partitioning and indexing.

  • Enterprise Manager Console missing

    I have installed the oracle software 10.2.0 ,I have got all the components like database and all installed but i could not find the enterprise manager console part installed.
    As some of viewers suggested me that OEMC comes out to be online..
    But i want to use it or want to install it on my machine...as i have been using oracle10g home1 and oracle client10g home 1 which included the OEMC....is there any link by which i can install it on my machine instead of online.
    please help me as an novice user in installing oracle.
    Thank you all...thanks for your time.

    Check the below documents are of help in solving your problem:-
    Starting and Stopping the Oracle Enterprise Manager Console
    http://download-east.oracle.com/docs/cd/B16240_01/doc/server.102/b14196/em_manage002.htm#sthref145
    Accessing the Oracle Enterprise Manager Database Control
    http://download-east.oracle.com/docs/cd/B16240_01/doc/server.102/b14196/em_manage003.htm#sthref146
    Getting Started with Oracle Enterprise Manager
    http://download-east.oracle.com/docs/cd/B16240_01/doc/server.102/b14196/em_manage.htm#sthref126
    Oracle® Database 2 Day DBA 10g Release 2 (10.2)
    http://download-east.oracle.com/docs/cd/B16240_01/doc/server.102/b14196/toc.htm
    Oracle Enterprise Manager Grid Control Quick Installation Guide for Windows (32-bit)
    http://download-east.oracle.com/docs/cd/B16240_01/doc/install.102/b31288/toc.htm
    Oracle Enterprise Manager 10g Release 2 (10.2) - Documentation Library
    http://download-east.oracle.com/docs/cd/B16240_01/doc/nav/portal_booklist.htm

Maybe you are looking for

  • Issue with indicator values in report display

    Hi All, I am getting an issue with valutype #. we have  account  restricted hirerarchy ,fiscal year period and Valuetype in rows . I need to show the actuals indicator of value type 10 data in one row for each fiscal year period.But some of the key f

  • Process Chain Automation

    Hi to All, We have process chains to automate th loads, in my previous prj we were used Redwood Explorer to schedule the Chains.Now I am doing Implementation prj, as I have design the process chains but we have only 5 chains, so our client didnt impl

  • Small efficiency question

    Does using braces for containing if's and for's etc affect the efficiency or size of compiled binary code? e.g. Does this make a difference: for( int i=0; i<N; i++ ) { b += f; As opposed to: for( int i=0; i<N; i++ ) b += f;

  • Why won't Firefox 3.6.9, run on my computer?

    I ran Firefox 3.6.8 on my computer all the time and it ran just fine. However, when it updated to Firefox 3.6.9, it now won't run on my computer. I get an error message after waiting several minutes and trying to load a webpage that always says, "You

  • Black Sabbath's new album 13 - problem with the digital booklet

    I can't open the digital booklet that came with the deluxe album version. Has anybody had problems with it? Does anybody know a solution?