Connection Status INACTIVE (Oracle Dev tools EntityFramework)

Hello,
I am using the EF ObjectContext in a C++ application (via COM) - I wrapped the context in an exposed class to COM in .NET - and once I finish with the COM object, I uninitialize COM (CoUninitialize();) and the finalizer of the wrapped class is called where I do a context.Dispose(); context = null;.
My problem is that the connection status (select username,program,machine,status FROM V$SESSION where username is not null;) is INACTIVE after disposing the context and this causes problems when the number of licenses is reached.
How can I force the connection to close?
Thanks

ODP uses connection pooling by default; if you want to turn it off, add "pooling=false" to your connect string.
Note that this will result in slower performance as apart from having to open a hard connection every time you call con.Open, it also disables things like statement caching.
Greg

Similar Messages

  • Oracle Dev Tools 10.1.0.4 and R2 Client

    Hi,
    I have installed the 10gR2 Client (including 10.2 ODP.NET).
    Now I want the Dev Tools but the only version available is 10.1.0.4. If I choose the same oracle home, OUI will reinstall ODP.NET 10.1.0.4 and other older files...
    Do I have to wait for Dev Tools 10.2 ?? If not, how could I install it without have two version of client and ODP.NET ?
    Thx

    Hi,
    If you want to use the 10G Release 2 client with ODT you will need to wait for the next release which is due before the end of the year. As you noted, your other option is to use the 10.1.0.x client / ODT / ODP.NET installation.
    - Mark

  • Run application developed with Oracle dev tools in Linux client

    Hi,
    In my organization we're using Oracle forms and reports as development tools and 10g database.
    We have developed an app that runs on Windows XP, and I would like to know what are the possibilities for it to run in a Linux client, such as Fedora, Ubuntu, etc.
    Is it possible? What would I need to do that?
    Thanks

    For Forms and Reports to run in Linux it (Linux) will need a Java plug-in.
    The last time I did this I used this:
    The file jre-6u12-linux-i586-rpm.bin was download from:
    http://www.java.com/en/download
    There should be instructions there on how to install and configure.
    I will include my short enable notes below: (Keep in mind these are about two years old)
    Enable and Configure
    1. Go to the plugins sub-directory under the Firefox installation directory
    This directory was:
    /usr/lib/firefox-3.0.1/plugins (On Red Hat AS 4)
    2. Enter the following command to create a symbolic link to the Java Plug-in for the Mozilla browser.
    ln -s /usr/java/jre1.6.0_12/plugin/i386/ns7/libjavaplugin_oji.so
    Note: Use ns7-gcc29 if Firefox was compiled with gcc2.9. (It was not)

  • Connection Problem When Using Oracle Developer Tools for Visual Studio

    I tried to create an Oracle Connection in my Visual Studio 2008 after installing Oracle 11g, Oracle Data Access Components (ODAC) with Oracle Devleoper Tools for Vissual Studio version 11.1.0.6.20.
    I followed the directions according to "Building .NET Applications Using Oracle Developer Tools for Visual Studio, when I click Test Connection, I keep getting the error message below.
    Microsoft Visual Studio
    ORA-12170: TNS:Connect timeout occurred
    OK
    ---------------------------

    I solved the problem.
    This is what I did for the benefit of the embryonic newbe like me.
    On the Add Connection Dialog
    1.     For Data source name I selected Local Database
    2.     I clicked on the specific User Name and I typed SYSTEM
    3.     For Password, I typed orcl (the password I setup during the installation) (HR did not work for me for User name and Password according to the tutorial instructions)
    4.     For Role, I selected Default
    5.     Connection Name, I selected Local Database
    6.     Before proceeding any further went to Windows XP SP3 where I was operating from, under Start Menu, I selected Administrative Tools then Services
    a.     On the Windows Services (Local) Dialog, under name, I selected OracleServiceORCL and OracleOraDb11g_home1TNSListener. I clicked on them one at a time
    b.     On the presented Dialog, under Service Status, I Clicked on the Start Button to start the Services
    c.     Then I went back to the Add Connection Dialog. I clicked on Test Connection, it connected okay. I finally clicked on Okay to connect.

  • How to Connect Oracle Database 10g with using Oracle Dev 10g

    Hello there,
    I have problem with connection on database 10g using oracle dev 10g on the same server.
    The message is: TNS... bla..bla... it means not connect.
    Please advice
    Regards
    Leksono

    just simple
    copy the from the database instance the tnsnames.ora
    file's entried into developer folders tnsnames.ora
    file and you can connect to DBFirst of all there is no such error as TNS... bla..bla... it means not connect.
    there are several errors for the tnsnames, post the exact error
    And it is not recommended that you copy it from the database's tnsnames file, it doesn't always work.
    to configure the tnsnames.ora you have 2 ways, manual and GUI.
    For GUI use the Net configuration assistance from your Devsuite home and for manual you need edit the tnsnames.ora file usually under %ORACLE_HOME%/NETWORK/ADMIN
    You need to specify the connection string name, the hostname and the database SID name. It should look something like this.
    <connection identifier> =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = host name)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = SID)
      )Regards,
    Tony

  • Too many inactive database connections (c#, webapp, Oracle)

    <br /><p> </p><p>I have a web application that uses the CrystalDecisions.Web.CrystalReportViewer to display my reports. </p><p>The application opens a connection to an Oracle database with SetDatabaseLogon(). </p><p>I have not yet implemented anything to free the connections when they&#39;re not needed anymore. I read in the  </p><p> Crystal help that the best place to call ReportDocument.Close() is in the Page_Unload method.</p><p>The problem is that my reports have dynamic cascading  parameters that make the page reload (ie Page_Unload -> Page_Load) several times. </p><p> </p><p>I can eventually call  ReportDocument.Close() in a Global.asax method, like Session_End(), but I&#39;m not sure it is optimal, as my report object is not known in this scope and I have extra code to write to handle this.</p><p> </p><p>Is there a better way to manage database connection ? </p><p>Can anyone provide a working sample ?</p><p>thanks </p>

    <p>I&#39;m not aware of a better way.  Your connections are definately being held up because you are not closing the Report.  Possibly you could put a conditional ReportDocument.close() call in your unload method.  You would need to check to make sure that the document was available and that you weren&#39;t loading parameters.  I&#39;m sure that this would work. </p><p>Rob Horne</p><p><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

  • Error in connect to database2EETW169 no connect possible: "DBMS = ORACLE

    Dear All,
    I am facing probem in sarting the sap after system copy.
    Database is up and running .Please find the logs
    There error it can connect to database
    r3trans log
    This is r3trans version 6.09 (release 640 - 26.10.04 - 15:45:42).
    unicode enabled version
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_o
    ra_tnsname = 'TAT'"
    r3trans finished (0012).
    trc file: "dev_disp", trc level: 1, release: "640"
    Wed Jul 22 20:03:18 2009
    kernel runs with dp version 128000(ext=102000) (@(#) DPLIB-INT-VERSION-128000-UC)
    length of sys_adm_ext is 524 bytes
    systemid   560 (PC with Windows NT)
    relno      6400
    patchlevel 0
    patchno    43
    intno      20020600
    make:      multithreaded, Unicode
    pid        552
    ***LOG Q00=> DpSapEnvInit, DPStart (00 552) [dpxxdisp.c   1100]
         shared lib "dw_xml.dll" version 43 successfully loaded
         shared lib "dw_xtc.dll" version 43 successfully loaded
         shared lib "dw_stl.dll" version 43 successfully loaded
         shared lib "dw_gui.dll" version 43 successfully loaded
    Wed Jul 22 20:03:23 2009
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  3886]
    MtxInit: -2 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: JAVA is not active
    DpShMCreate: sizeof(wp_adm)          10528     (1316)
    DpShMCreate: sizeof(tm_adm)          2780232     (13832)
    DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    DpShMCreate: sizeof(comm_adm)          290000     (580)
    DpShMCreate: sizeof(vmc_adm)          0     (372)
    DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 04540040, size: 3192688)
    DpShMCreate: allocated sys_adm at 04540040
    DpShMCreate: allocated wp_adm at 04541B58
    DpShMCreate: allocated tm_adm_list at 04544478
    DpShMCreate: allocated tm_adm at 045444A0
    DpShMCreate: allocated wp_ca_adm at 047EB0E8
    DpShMCreate: allocated appc_ca_adm at 047F0EA8
    DpShMCreate: allocated comm_adm_list at 047F2DE8
    DpShMCreate: allocated comm_adm at 047F2E00
    DpShMCreate: allocated vmc_adm_list at 04839AD0
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 04839AF8
    DpShMCreate: allocated wall_adm at 04839B00
    MBUF state OFF
    EmInit: MmSetImplementation( 2 ).
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation flat
    <EsNT> Memory Reset disabled as NT default
    <ES> 2456 blocks reserved for free list.
    ES initialized.
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 2.6.1 2.6 4.0) [dpxxdisp.c   1462]
    ***LOG Q0K=> DpMsAttach, mscon ( RFCLTEST) [dpxxdisp.c   9736]
    Wed Jul 22 20:03:24 2009
    CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 6400, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1025]
    DpMsgAdmin: Set patchno for this platform to 43
    Release check o.K.
    Wed Jul 22 20:04:04 2009
    ERROR => W0 (pid 2956) died [dpxxdisp.c   12187]
    ERROR => W1 (pid 2080) died [dpxxdisp.c   12187]
    my types changed after wp death/restart 0xbf --> 0xbe
    ERROR => W2 (pid 3556) died [dpxxdisp.c   12187]
    my types changed after wp death/restart 0xbe --> 0xbc
    ERROR => W3 (pid 2604) died [dpxxdisp.c   12187]
    my types changed after wp death/restart 0xbc --> 0xb8
    ERROR => W4 (pid 4024) died [dpxxdisp.c   12187]
    ERROR => W5 (pid 3816) died [dpxxdisp.c   12187]
    my types changed after wp death/restart 0xb8 --> 0xb0
    ERROR => W6 (pid 2820) died [dpxxdisp.c   12187]
    my types changed after wp death/restart 0xb0 --> 0xa0
    ERROR => W7 (pid 1448) died [dpxxdisp.c   12187]
    my types changed after wp death/restart 0xa0 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    killing W0-2956 (SIGUSR2)
    ERROR => DpWpKill(2956, SIGUSR2) failed [dpxxtool.c   2468]
    killing W1-2080 (SIGUSR2)
    ERROR => DpWpKill(2080, SIGUSR2) failed [dpxxtool.c   2468]
    killing W2-3556 (SIGUSR2)
    ERROR => DpWpKill(3556, SIGUSR2) failed [dpxxtool.c   2468]
    killing W3-2604 (SIGUSR2)
    ERROR => DpWpKill(2604, SIGUSR2) failed [dpxxtool.c   2468]
    killing W4-4024 (SIGUSR2)
    ERROR => DpWpKill(4024, SIGUSR2) failed [dpxxtool.c   2468]
    killing W5-3816 (SIGUSR2)
    ERROR => DpWpKill(3816, SIGUSR2) failed [dpxxtool.c   2468]
    killing W6-2820 (SIGUSR2)
    ERROR => DpWpKill(2820, SIGUSR2) failed [dpxxtool.c   2468]
    killing W7-1448 (SIGUSR2)
    ERROR => DpWpKill(1448, SIGUSR2) failed [dpxxtool.c   2468]
    NiWait: sleep (10000 msecs) ...
    NiISelect: timeout 10000 ms
    NiISelect: maximum fd=1597
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Jul 22 20:04:14 2009
    NiISelect: TIMEOUT occured (10000 ms)
    dump system status
    Workprocess Table (long)               Wed Jul 22 14:34:14 2009
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  User         Action                    Table
    0 DIA     2956 Ended         no      1   0             0                                                             
    1 DIA     2080 Ended         no      1   0             0                                                             
    2 UPD     3556 Ended         no      1   0             0                                                             
    3 ENQ     2604 Ended         no      1   0             0                                                             
    4 BTC     4024 Ended         no      1   0             0                                                             
    5 BTC     3816 Ended         no      1   0             0                                                             
    6 SPO     2820 Ended         no      1   0             0                                                             
    7 UP2     1448 Ended         no      1   0             0                                                             
    Dispatcher Queue Statistics               Wed Jul 22 14:34:14 2009
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    3
    2000
    10
    10
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          13
    wake_evt_udp_now     0
    wake events           total     9,  udp     8 ( 88%),  shm     1 ( 11%)
    since last update     total     9,  udp     8 ( 88%),  shm     1 ( 11%)
    Dump of tm_adm structure:               Wed Jul 22 14:34:14 2009
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Wed Jul 22 14:34:14 2009
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000 msecs) ...
    NiISelect: timeout 5000 ms
    NiISelect: maximum fd=1597
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Jul 22 20:04:19 2009
    NiISelect: TIMEOUT occured (5000 ms)
    Shutdown server ...
    DpJ2eeDisableRestart
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    Stop work processes...
    Stop gateway
    killing process (2004) (SOFT_KILL)
    Stop icman
    killing process (932) (SOFT_KILL)
    Terminate gui connections
    [DpProcDied] Process lives  (PID:2004  HANDLE:1576)
    waiting for termination of gateway
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1597
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Jul 22 20:04:20 2009
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process died  (PID:2004  HANDLE:1576)
    [DpProcDied] Process died  (PID:932  HANDLE:1568)
    DpHalt: cancel all lcom connections
    MPI CancelAll 2 -> 0
    MPI DeleteAll 2 -> 0
    NiIMyHostName: hostname = 'RFCLTEST'
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    DpConvertRequest: net size = 163 bytes
    NiBufSend starting
    NiIWrite: write 562, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 562 bytes
    send msg (len 110+452) to name          -, type 4, key -
    detach from message server
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   9962]
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiSelClear: removed hdl 3 from selectset
    MBUF state OFF
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/8
    LOCK WP ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 19)
    MBUF component DOWN
    NiBufClose: clear extensions for hdl 3
    NiBufSetStat: bufstat of hdl 3 changed from OK to OFF
    NiICloseHandle: shutdown and close hdl 3 / socket 1580
    MsIDetach: detach MS-system
    EsCleanup ....
    ***LOG Q05=> DpHalt, DPStop ( 552) [dpxxdisp.c   8495]
    Good Bye .....
    Regards,

    Hi,
    Yes it is running and in r3trans  log error
    [dboci.c     ,00000]  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
    4 ETW000                                                                            4210  0.068739
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '1017'
    4 ETW000                                                                              27  0.068766
    4 ETW000  [dev trc     ,00000]  Try to connect with default password                 155  0.068921
    4 ETW000  [dev trc     ,00000]  Connecting as SAPTST/<pwd>@TST on connection 0 ...
    4 ETW000                                                                              23  0.068944
    4 ETW000  [dev trc     ,00000]  Assigning username to user session 01DF23E0           16  0.068960
    4 ETW000  [dev trc     ,00000]  Assigning password to user session 01DF23E0           24  0.068984
    4 ETW000  [dev trc     ,00000]  Starting user session (con_hdl=0,svchp=01DE8C0C,srvhp=01DE9814,usrhp=01DF23E0)
    4 ETW000                                                                              27  0.069011
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
    4 ETW000                                                                            1521  0.070532
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '1017'
    4 ETW000                                                                              24  0.070556
    4 ETW000  [dblink      ,00419]  ***LOG BY2=>sql error 1017   performing CON [dblink#1 @ 419]
    4 ETW000                                                                            4668  0.075224
    4 ETW000  [dblink      ,00419]  **LOG BY0=>ORA-01017: invalid username/password; logon denie*d [dblink#1 @ 419]
    4 ETW000                                                                              25  0.075249
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'TST'"
    REgards,

  • Connection issues with Oracle-JDBC

    Using the Universe Design Tool in BOE 4.4 to create an Oracle-JDBC connection.
    Issue:  Test Connection fails for JDBC connection to production Oracle database.
    Getting error:
    “DBD: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    IBM AIX RISC System/6000 Error: 2: No such file or directory”
    Things to note:
    There are three entries in the tnsnames.ora file (a prod entry, a dev entry and a test entry).  I can successfully create the JDBC connections for the test and dev entries, but not prod.
    I can go to Designer in another server (our BOE 3.5 server in a different environment) and create all three Oracle-JDBC connections.
    The Oracle middleware is the same between the two servers (11g) and the tnsnames.ora files are identical.
    The prod database is up (it would definitely be known if it were down).
    Very confused on this one.  Any help would be appreciated.

    It appears that the SAP tool “Universe Design Tool” wants to have a fully qualified (host.parent domain.org) Net Service name for this particular connection as I was able to successfully JDBC connect to our production Oracle database.  The other two databases didn't need it and the Oracle SQL Developer (which uses JDBC for connections) didn’t need a fully qualified name for our production server either.  In any case, it appears to be working now.

  • I can compile objects with SQL dev tool but not with a direct sql

    hi,
    This is a bit weird - I'm probably not familiar enough with Oracle's compilation process...
    I'm creating a some functions / procedures / triggers. When I run the script to create them with Oracle's SQL Developer tool, usually they become immediately valid, and if not then I can manually right click them and choose Compile, and they're compiled correctly and become valid.
    However, when running them with command line tools, they're uncompiled after created. I'm trying compile them with
    ALTER PROCEDURE / FUNCTION / TRIGGER MySchema.MyFunction COMPILE;
    and it always returns
    Error starting at line 1 in command:
    alter function MySchema.MyFunction compile
    Error report:
    SQL Command: alter function
    Failed: Warning: execution completed with warning
    alter function MySchema.MyFunction succeeded.
    and the object remains uncompiled / invalid.
    also tried with DBMS_... utils and got the same results.
    Same with adding things such as PLSQL_WARNINGS = 'ERROR:ALL' to the stmt
    But when I go in SQL Developer to the object, right click and click Compile, it compiles fine w/o warnings / errors and becomes valid.
    Is there anything else I should run other than this alter..compile? Is SQL Dev tool doing something different than "alter function ... compile" when right clicking and object and clicking "Compile"?
    thanks!

    hi,
    I'm having difficulties connecting with SQL Plus, since it seem to require at startup some admin user/password, which I don't have at the moment. Also tried to give it in command line the db name and params and it still require this pass... Will try to get it...
    But again, when I'm right clicking the object in SQL Developer and click Compile, it compiles fine and becomes valid. After doing that, running
    alter function mySchema.MyTestFunction compile;
    passes with
    "alter function mySchema.testfunction succeeded"
    If I run this sql before doing compile with SQL Developer, it fails with what I posted before.
    I wonder if SQL Developer does things other than the above compile stmt.
    If I right click on Functions in SQL Dev and click Compile All or Compile Invalid, I can see the sql it about to generate, and it's the same as I tried - and fails as well... Only when right clicking the object and Compile it works...
    A test func I tried, for example:
    create or replace
    FUNCTION testFunction(n in number)
    RETURN NUMBER
    IS
    BEGIN
    RETURN n + 1;
    END;

  • ORA-12154: TNS:could not resolve the connect identifier specified Oracle 11

    I'm having a slight issue with Oracle 11 R2
    Oracle 10g was removed from the machine - The registry was cleared and I couldn't see anything of 10g left.
    I then installed Oracle 11 with just the software only, and then created a listener.
    Using the Database Configuration Assistant, I tried to add a database but I get the error:
    'ORA-12154: TNS:could not resolve the connect identifier specified'
    The TNS_ADMIN is set to: \\ravel\tnsnames and I can connect to other instances around the company.
    My tnsnames entry is:
    GMAN_1120.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = gman)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ora112)
    If i start the listener i get:
    TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
    System parameter file is D:\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    Log messages written to d:\oracle\diag\tnslsnr\gman\listener\alert\log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=gman)(PORT=1521)))
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
    Start Date 03-AUG-2011 10:34:28
    Uptime 0 days 0 hr. 0 min. 1 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File D:\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File d:\oracle\diag\tnslsnr\gman\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=gman)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "ora112" has 1 instance(s).
    Instance "ora112", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    Can anyone spot what may have gone wrong? I've setup 10g multiple times and never had a problem

    I can tnsping my machine using another machine:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = gman)(PORT = 1521))) (CONNECT_DATA = (SERVIC
    E_NAME = ora112)))
    OK (30 msec)
    My listener.ora file is:
    # listener.ora Network Configuration File: D:\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (SID_DESC=
    (GLOBAL_DBNAME=ora112)
    (ORACLE_HOME=D:\oracle\product\11.2.0\dbhome_1)
    (SID_NAME=ora112)
    )

  • Tns problem with Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools

    I installed the full
    Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools for Visual Studio
    now I am at the good old "[ORA-12154: TNS:could not resolve the connect identifier specified]" error.
    I copied the same tnsnames.ora as used on the db server
    onto the client "C:\Oracle\product\11.1.0\client_2\Network\Admin".
    The host name is right since a normal ping works. TNSping is not available.
    but I get the [ORA-12154: TNS:could not resolve the connect identifier specified] error.
    The listener is running and the instance as well since it all works on the source server.
    I tried it with
    SET path=c:\oracle\product\11.1.0\client_2\bin
    but tnsping is still not recognized.
    sqlplus works on the other hand when I set it to
    SET path=c:\oracle\product\11.1.0\client_2\
    what is going on...

    hey
    u can post your query here, and i think everyone here is to share opinion so do not hesitate to do so and please try to google before posting here,
    and we know no one is expert like some people saying 'boring questions' you just try to overcome your problem and you will definitly get your problem solved .
    some mpeople ar still there who answeres hopeless questions and say nothing about them but when a fresher askin a qustion is not tolarated by them they think everyone is born DBA here
    they always tend to discouraging people here on forums,and i think they are vvolunteers to reduce crowd here on forums, inspite of there experience and people respect them they can not control their anger
    so please post you tns here, i think there are ways to ask people to google and search docs first, but not like this
    thanks and regards
    VD
    Edited by: vikrant dixit on Jun 29, 2009 4:33 AM

  • Network Connectivity Status Indicator for IPv6 works wrong in Windows 7 and Windows 8

    Hi Folks,
    I am working on testing Network Connectivity Status Indicator for IPv6 in Windows 7 and 8.
    Waht is "Network Connectivity Status Indicator(NCSI)" you can refer to https://technet.microsoft.com/en-us/library/ee126135%28v=ws.10%29.aspx?f=255&MSPPError=-2147217396
    I found that even if Network Connectivity Status Indicator detect IPv6 connection to http://ipv6.msftncsi.com/ncsi.txt failed.
    Windows IE still use IPv6 to connect to website first, rather than stop using IPv6 and to use IPv4.
    It will cause IPv6 fallback to IPv4 problem, that's 21 secs and 7 secs delay for fallback in Windows 7 and 8.
    Does anyone suffer the same problem?
    Or someone know how this works?
    Thanks!

    Hi Roger_Wang0214,
    "Windows IE still use IPv6 to connect to website first, rather than stop using IPv6 and to use IPv4."
    By default Windows prefers IPv6 over IPv4,we can manually configure the IPv4 prefer over IPv6 if it has result in any troubles.
    Here is a link for reference :
    Resolving Internet connectivity issues after World IPv6 Launch (June 6, 2012)
    https://support.microsoft.com/en-us/kb/2533454
    "The "Prefer IPv4 over IPv6" Fix it solution will configure your computer to prefer IPv4, instead of IPv6. By default, Windows prefers IPv6 over IPv4. If you are having problems using IPv6 to connect to some websites, this may resolve the
    problem."
    For a Windows 7 machine ,we can try the following fixit tool to configure IPv4 prefer over IPv6 .For a Windows 8.1 machine ,we can configure it referring to the manual part .
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\DisabledComponents
    If the DisabledComponents entry is unavailable, we can create it (DWORD (32-bit) Value).Then set a value with "0x20"to prefer IPv4 over IPv6 by changing entries in the prefix policy table.
    Here is a link for reference :
    How to disable IPv6 or its components in Windows
    https://support.microsoft.com/en-us/kb/929852
    Best regards
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • What are the Oracle development tools

    Hiii,
    I hav just started learning about oracle...i have been given my very first task and it is about exploring oracle development tools.
    I have been searching about it since two days...i just need some guidance that what are the oracle development tools...and what should i write about it..
    plzzzzz help me in solving this..
    regards
    Edited by: user10446043 on Oct 22, 2008 11:26 PM

    <ul>
    <li>The ADFLearning Center has our latest resources for enterprise 4GL Developers getting started with Oracle ADF. This includes the complete ADF Developer's Guide for Forms/4GL Developers, a companion sample application, and a companion step-by-step tutorial.
    </li>
    <li>     To complement the free Developer's Guide from Oracle, you might be interested in the Oracle Press title Oracle JDeveloper 10g for Forms & PL/SQL Developers: A Guide to Web Development with Oracle ADF.
    </li>
    <li>My bimonthly DEVELOPER: Frameworks Oracle Magazine column articles.
    </li>
    <li>There is an instructor-led course for Oracle ADF For Forms/4GL Developers.
    </li>
    <li>     Potentially of interest to any former Oracle Forms or Oracle Designer user is the additional Oracle JHeadstart for ADFextension for JDeveloper. This is a complete web-tier page generation solution that has its own step-by-step tutorial so customers can evaluate whether it might benefit their developer productivity. The JHeadstart Features/Benefits document is here (pdf).
    </li>
    <li>     The OTN J2EE for Forms Devs home page has additional resources of particular interest to Oracle Forms developers.
    </li>
    </ul>
    Hope this helps

  • Problem in connecting netbeans with oracle 10g express edition

    hi friends... i need help in connecting the database with netbeans..... in netbeans, under services option... i have a option for database... but am not getting any drop-down while right clicking to add a new database... i tried in both netbeans6.9 and netbeans7... what should i do to connect netbeans7 to oracle 1og express edition.... pls help me friends.... pls do reply

    First of all, I think your dot... button is broken, it keeps repeating which makes it SO much harder to read your post.
    Secondly, I suggest you take your question to the Netbeans mailing lists. This is a Java programming forum, not a technical support forum for the hundreds of tools available to support Java programming.
    http://netbeans.org/community/lists/index.html

  • Connection problem to Oracle 11.1.0 on Windows Professional XP (SP2)

    Hello
    I've recently performed default installations for 3 Oracle Databases, into seperate homes on a newly formatted Windows
    Professional XP (SP2) standalone laptop. For all databases Oracle 10.2.0 (rover), Oracle XE (xe) and Oracle 11.1.0 (fido) I
    installed APEX and they worked perfectly.
    I then installed my Wireless O2 Broadband for my internet which uses DHCP
    I am unable to connect to my databases with the wireless broadband connected. I then bring down all databases and turn
    off/disable the Broadband,then restart all databases.
    Using commands
    Set ORACLE_SID=ROVER
    sqlplus system/rover@rover
    Set ORACLE_SID=XE
    sqlplus system/xe@xe
    Set ORACLE_SID=FIDO
    sqlplus system/fido@fido
    Connections are successfull apart from the Oracle 11.1.0 (fido) database with error
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Can anybody identify my connection problem to Oracle 11.1.0 (fido) database by reviewing my listener.ora, tnsnames.ora and
    other configuration files below.
    Many thanks in advance
    Regards
    Ade
    tnsping results
    ===============
    C:\>tnsping rover
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localho
    t)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = rover)))
    OK (10 msec)
    C:\>tnsping xe
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = bascilic
    o)(PORT = 1522)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
    OK (30 msec)
    C:\>tnsping fido
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhos
    t)(PORT = 1523)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = fido)))
    OK (20 msec)
    lsnrctl stat - results
    ======================
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1523)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.1.0.7.0 - Production
    Start Date 17-OCT-2009 15:54:12
    Uptime 0 days 0 hr. 32 min. 11 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\oracle\product\11.1.0\db_fido\network\admin\listener.ora
    Listener Log File c:\oracle\product\11.1.0\diag\tnslsnr\bascilico\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1523ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=bascilico)(PORT=1523)))
    The listener supports no services
    The command completed successfully
    General configuration - Environment variables
    =============================================
    PATH =
    C:\oracle\product\11.1.0\db_fido\bin;C:\oracle\product\10.2.0\db_rover\bin;C:\oracle\oraclexe\app\oracle\product\10.2.0\serve
    r\bin;C:\oracle\ohs\bin;C:\oracle\ohs\jlib;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI
    Technologies\ATI Control Panel
    TNS_ADMIN = C:\oracle\tns
    C:\oracle\tns\tnsnames.ora
    ==========================
    ROVER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = rover)
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = bascilico)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    FIDO =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1523))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = fido)
    Oracle 10.2.0 listener.ora
    ==========================
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_rover)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    Oracle 10.2.0 tnsnames.ora
    ==========================
    ROVER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = rover)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    Oracle XE listener.ora
    ======================
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oracle\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = bascilico)(PORT = 1522))
    DEFAULT_SERVICE_LISTENER = (XE)
    Oracle XE tnsnames.ora
    ======================
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = bascilico)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    Oracle 11.1.0 listener.ora
    ==========================
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1523))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1523))
    Oracle 11.1.0 tnsnames.ora
    ==========================
    LISTENER_FIDO =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1523))
    FIDO =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1523))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = fido)
    )

    For static registration you need to update the 3 listener.ora files.
    Exemple:
    SID_LIST_LISTENER_FIDO =
      (SID_LIST =
        (SID_DESC
          (ORACLE_HOME = <Oracle Home path>)
          (SID_NAME=FIDO)
    )

Maybe you are looking for

  • Installation problem of Oracle 8.1.7 on solaris 10 x86

    Hi, I tried to install the Oracle 8.1.7 on solaris 10 x86 and I got an error message shows: "cannot write to /opt/oracle/product/8.1.7/jar/classes2.jar".checking the log it shows: Exception: IOException2 and exception: copyGroupFromJar. I ignored the

  • 5 weeks later... still no broadband, due to line b...

    Hi, We have ordered an Infinity broadband from you, but for the last 5 weeks you've been struggling to set it up and send the engineer out. We had a line with talk-talk that has been migrated to BT. This works fine. But... We ordered Infinity broadba

  • ITunes/Apple Mobile Device works fine w/iPod but not iPad

    Hi. I'm getting stuck on this and would like some help to solving this problem. Basically I'm trying to sync my iPad; however, whenever I connect it, this meesage pops up: "this iPad cannot be used because the Apple Mobile Device is not started." The

  • Migration App

    I recently migrated apps and data from my eMac to Mac mini. Now my Mac mini has the same name as my eMac. How do I change the name of my Mac mini?

  • HT201263 waited almost 48 hours and need to use the iphone

    i press erase all settings and contents, the loading circle is only appeared and waited for almost 48 hours. i wonder what i have to do since my lock button is no longer useful?.any help?