TNS : Connection closed error

I am using Toad 9.7.2 which is configured for use of Oracle databse 10 g stored on Network. It was running fine. But after installing oracle 11g on my computer. The toad is not not connecting to any of the database.
Kindly guide how to solve this issue.

You have installed 11g that’s and it seems that its looking for entries in tnsnames.ora file under “ORACLE_HOME/network/admin”
Update tnsnames.ora file with your database entries, it will connect.
Hope this helps,
Regards,
Satishbabu Gunukula
http://oracleracexpert.blogspot.com
[Click here to upgrade oracle 8i to 10g.|http://oracleracexpert.blogspot.com/2009/08/upgrade-oracle-8i-to-10g.html]

Similar Messages

  • TNS: connection closed error with SQL*net

    Hi all,
    I've got a new installation of Oracle 11.1.0.6.0 enterprise (Linux). It works fine with direct sqlplus connections but I'm having problems with SQL*net and JDBC thin client connections.
    The database is built correctly and works fine:
    user@cthulhu bash[61]: sqlplus user/pwd
    SQL*Plus: Release 11.1.0.6.0 - Production on Mon Aug 4 12:59:53 2008
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE 11.1.0.6.0 Production
    TNS for Linux: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    SQL>
    but if I try to connect using SQL*net I get errors. I have my TNS listener configured and it starts without errors, reporting the database as a service, and tnsping is fine:
    user@cthulhu bash[62]: tnsping cthulhu_mar
    TNS Ping Utility for Linux: Version 11.1.0.6.0 - Production on 04-AUG-2008 13:02:07
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=TCP)(HOST=192.168.2.30)(PORT=1521)) (CONNECT_DATA=(SID=mar)))
    OK (10 msec)
    user@cthulhu bash[63]: sqlplus user/pwd@cthulhu_mar
    SQL*Plus: Release 11.1.0.6.0 - Production on Mon Aug 4 13:02:41 2008
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    ERROR:
    ORA-12537: TNS:connection closed
    Enter user-name:
    In listener.log:
    Mon Aug 04 13:02:41 2008
    04-AUG-2008 13:02:41 * (CONNECT_DATA=(SID=mar)(CID=(PROGRAM=sqlplus)(HOST=cthulhu)(USER=marbur))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.30)(PORT=41754)) * establish * mar * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12547: TNS:lost contact
    TNS-12560: TNS:protocol adapter error
    TNS-00517: Lost contact
    Linux Error: 32: Broken pipe
    This is a new instance of Oracle so there is no problem with listener.log being too large (as I've seen elsewhere). I've also tried increasing PROCESSES and SESSIONS in the initSID.ora file without any impact. The listener ports are open through the firewall (and disabling it temporarily makes no difference).
    Any suggestions?!
    Thanks, Matt

    This means nothing to me, but it could to someone else......
    from listener trace:
    2008-08-04 16:19:05.135381 : nlpcaini:env[161] = OLDPWD=/u01/app/oracle/product/11.1.0/db_1
    2008-08-04 16:19:05.135407 : nlpcaini:env[162] = ORA_NET2_DESC=12,15
    2008-08-04 16:19:05.135432 : nlpcaini:env[163] = ORACLE_SPAWNED_PROCESS=1
    2008-08-04 16:19:05.135465 : nlpcaini:exit
    2008-08-04 16:19:05.135498 : nsc2addr:normal exit
    2008-08-04 16:19:05.135536 : nsbeqaddr:entry
    2008-08-04 16:19:05.135566 : nsbeqaddr:connecting...
    2008-08-04 16:19:05.135603 : nsopen:entry
    2008-08-04 16:19:05.135633 : nsmal:entry
    2008-08-04 16:19:05.135667 : nsmal:1012 bytes at 0x81a8538
    2008-08-04 16:19:05.135694 : nsmal:normal exit
    2008-08-04 16:19:05.135722 : nsopenmplx:entry
    2008-08-04 16:19:05.135749 : nsmal:entry
    2008-08-04 16:19:05.135779 : nsmal:2020 bytes at 0x81a8930
    2008-08-04 16:19:05.135804 : nsmal:normal exit
    2008-08-04 16:19:05.135831 : nsiorini:entry
    2008-08-04 16:19:05.135861 : nsbal:entry
    2008-08-04 16:19:05.135889 : nsbgetfl:entry
    2008-08-04 16:19:05.135918 : nsbgetfl:normal exit
    2008-08-04 16:19:05.135966 : nsmal:entry
    2008-08-04 16:19:05.135995 : nsmal:84 bytes at 0x81b3dd8
    2008-08-04 16:19:05.136020 : nsmal:normal exit
    2008-08-04 16:19:05.136057 : nsbal:normal exit
    2008-08-04 16:19:05.136085 : nsiorini:exit (0)
    2008-08-04 16:19:05.136112 : nscpxget:entry
    2008-08-04 16:19:05.136139 : nscpxget:normal exit
    2008-08-04 16:19:05.136168 : nsopenalloc_nsntx:nlhthput on mplx_ht_nsgbu:ctx=81a8538, nsntx=81a8930
    2008-08-04 16:19:05.136196 : nsopenmplx:normal exit
    2008-08-04 16:19:05.136225 : ntpcon:entry
    2008-08-04 16:19:05.136253 : ntpcon:toc = 6
    2008-08-04 16:19:05.136283 : ntpcon:exit
    2008-08-04 16:19:05.136313 : nsopen:opening transport...
    2008-08-04 16:19:05.136341 : ntpcon:entry
    2008-08-04 16:19:05.136367 : ntpcon:toc = 1
    2008-08-04 16:19:05.136404 : sntpcall:entry
    2008-08-04 16:19:05.157048 : sntpcall:detaching from parent with additional fork
    2008-08-04 16:19:05.157304 : sntpcall:hdl[IR]=17, hdl[IW]=16
    2008-08-04 16:19:05.157350 : ntpcon:exit
    2008-08-04 16:19:05.157390 : nserror:entry
    2008-08-04 16:19:05.157428 : nsoptions:entry
    2008-08-04 16:19:05.157459 : nsoptions:lcl[0]=0x0, lcl[1]=0x2006, gbl[0]=0x0, gbl[1]=0x0, cha=0x0
    2008-08-04 16:19:05.157488 : nsoptions:Vectored IO not supported.
    2008-08-04 16:19:05.157518 : nsoptions:lcl[0]=0xf4ffe9ff, lcl[1]=0x6016, gbl[0]=0xe881, gbl[1]=0x0
    2008-08-04 16:19:05.157545 : nsoptions:normal exit
    2008-08-04 16:19:05.157574 : nsnainit:entry
    2008-08-04 16:19:05.157603 : nsnainit:normal exit
    2008-08-04 16:19:05.157642 : nsopen:global context check-in (to slot 6) complete
    2008-08-04 16:19:05.157675 : nsopen:lcl[0]=0xf4ffe9ff, lcl[1]=0x6016, gbl[0]=0xe881, gbl[1]=0x0, tdu=4096, sdu=8192
    2008-08-04 16:19:05.157706 : nsfull_opn:entry
    2008-08-04 16:19:05.157735 : nsfull_opn:cid=6, opcode=65, bl=0, what=0, uflgs=0x0, cflgs=0x0
    2008-08-04 16:19:05.157761 : nsfull_opn:nsctx: state=7, flg=0x4001, mvd=0
    2008-08-04 16:19:05.157790 : nsfull_opn:normal exit
    2008-08-04 16:19:05.157816 : nsopen:normal exit
    2008-08-04 16:19:05.157854 : nsevreg:entry
    2008-08-04 16:19:05.157884 : nsevreg:begin registration process for 6
    2008-08-04 16:19:05.157912 : nsevregPrePost:entry
    2008-08-04 16:19:05.157940 : nsevregPrePost:normal exit
    2008-08-04 16:19:05.157968 : nsevreg:sgt=0, evn=1, evt[2]=0x0
    2008-08-04 16:19:05.157996 : nsevreg:begin notification process for 6
    2008-08-04 16:19:05.158022 : nsevregAffectNotif:entry
    2008-08-04 16:19:05.158050 : nsevregAffectNotif:exit (0)
    2008-08-04 16:19:05.158078 : nsevreg:rdm=0, sgt=0, evt[0]=0x800, [1]=0x800, [2]=0x0, nrg=0
    2008-08-04 16:19:05.158105 : nsevreg:registering for 0x800
    2008-08-04 16:19:05.158135 : ntpctl:entry
    2008-08-04 16:19:05.158162 : ntpctl:exit
    2008-08-04 16:19:05.158203 : nsevreg:normal exit
    2008-08-04 16:19:05.158260 : nsbeqaddr:error exit
    2008-08-04 16:19:05.158289 : nsbequeath:error exit
    2008-08-04 16:19:05.158342 : nsglhe:exit

  • TNS-12537: TNS:connection closed & ORA-609

    hello all,
    did any body see this error and solved it ?
    TNS-12537: TNS:connection closed
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    opiodr aborting process unknown ospid (19995) as a result of ORA-609
    if yes could you please explain to me how to fix it ?
    note :
    database Version 11.2.0.2.0
    Sun Solaris
    Edited by: 869111 on 24/02/2013 12:18 م
    Edited by: 869111 on 24/02/2013 12:27 م

    Check the following parameters in sqlnet.ora file:
    tcp.invited_nodes
    tcp.excluded_nodes

  • TNS-12537: TNS:connection closed

    Hi,
    I have done system copy on AIX/oracle. On new server if start the listner. it starts normally. Oracle also starts normal. Then if i starts sap with sidadm, listner stops with following error. There is no error In listner.log file.
    orascp 11> lsnrctl status
    LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.2.0 - Production on 28-SEP-2008 12:11:15
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=SCP.WORLD))
    TNS-12537: TNS:connection closed
    TNS-12560: TNS:protocol adapter error
      TNS-00507: Connection closed
    Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=SCP))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       IBM/AIX RISC System/6000 Error: 79: Connection refused
    Connecting to (ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=sppprd)(PORT=1527))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       IBM/AIX RISC System/6000 Error: 79: Connection refused

    Hi Sanjay,
    check below notes
    Note 1182020
    Note 441518
    Regards
    Ashok

  • TNS:connection closed

    Dear Experts,
    My database 10gR2 and OS:Win2003R2 sp2-32 bit. My listener throw the error like below. In between i am getting this errors.
    LSNRCTL> services
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=PUBLICLAN1)(PORT=1521)))
    TNS-12537: TNS:connection closed
    TNS-12560: TNS:protocol adapter error
    TNS-00507: Connection closed
    Could you give some valuable advice.
    Thanks and Regards
    Sundar

    Thanks,
    My hosts file contents inclued IP address and name of the server.
    Just now i checked my listener service.I got it like that.
    LSNRCTL> services
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.0.198.55)(PORT=1521))
    Services Summary...
    Service "DHSW.GOV.BH" has 1 instance(s).
    Instance "dhsw", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:1469 refused:0 state:ready
    LOCAL SERVER
    Service "DHSWXDB.GOV.BH" has 1 instance(s).
    Instance "dhsw", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1002 state:ready
    DISPATCHER <machine: HIS-SRV1, pid: 4056>
    (ADDRESS=(PROTOCOL=tcp)(HOST=his-srv1.dhsa.gov.bh)(PORT=1109))
    Service "DHSW_XPT.GOV.BH" has 1 instance(s).
    Instance "dhsw", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:1469 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    LSNRCTL> services
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.0.198.55)(PORT=1521))
    TNS-12537: TNS:connection closed
    TNS-12560: TNS:protocol adapter error
    TNS-00507: Connection closed
    LSNRCTL> services
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.0.198.55)(PORT=1521))
    Services Summary...
    Service "DHSW.GOV.BH" has 1 instance(s).
    Instance "dhsw", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:1484 refused:0 state:ready
    LOCAL SERVER
    Service "DHSWXDB.GOV.BH" has 1 instance(s).
    Instance "dhsw", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1002 state:ready
    DISPATCHER <machine: HIS-SRV1, pid: 4056>
    (ADDRESS=(PROTOCOL=tcp)(HOST=his-srv1.dhsa.gov.bh)(PORT=1109))
    Service "DHSW_XPT.GOV.BH" has 1 instance(s).
    Instance "dhsw", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:1484 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    Regards
    Sundar

  • SQLPLUS TNS Connection Closed

    Hi,
    Each time I attempt to use SQLPLUS to connect to my db, I receive:
    ERROR:
    ORA-12537: TNS:connection closed
    The listener.log contains these entries:
    TNS-12525: TNS:listener has not received client's request in time allowed
    TNS-12535: TNS:operation timed out
    TNS-12606: TNS: Application timeout occurred
    06-JAN-2012 17:09:51 * <unknown connect data> * (ADDRESS=(PROTOCOL=tcp)(HOST=172.19.1.54)(PORT=50067)) * establish * <unknown sid> * 12525
    TNS-12525: TNS:listener has not received client's request in time allowed
    TNS-12535: TNS:operation timed out
    TNS-12606: TNS: Application timeout occurred
    06-JAN-2012 17:10:23 * ping * 0
    06-JAN-2012 17:10:23 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=SYSTEM))(COMMAND=status)(ARGUMENTS=64)(SERVICE=(ADDRESS=(PROTOCOL=TCP)(HOST=SERVER01.domain.local)(PORT=1521)))(VERSION=169870336)) * status * 0
    06-JAN-2012 17:10:54 * <unknown connect data> * (ADDRESS=(PROTOCOL=tcp)(HOST=172.19.1.54)(PORT=50074)) * establish * <unknown sid> * 12525
    TNS-12525: TNS:listener has not received client's request in time allowed
    TNS-12535: TNS:operation timed out
    TNS-12606: TNS: Application timeout occurred
    Earlier today, I could log in without problems. I had been experiencing this error on my first attempt to login, but if I immediately attempted a second connection, would be logged in. Now, I cannot connect. Nothing has changed otherwise. Does anyone have any idea what may be causing this? I am using the sql plus command prompt, on a Windows Server 2008 R2 Service Pack 1. Oracle 10.2.0.4 Production, 64-bit.
    Thank you,
    Jesse

    jesserose wrote:
    Hi,
    Each time I attempt to use SQLPLUS to connect to my db, I receive:
    ERROR:
    ORA-12537: TNS:connection closed
    The listener.log contains these entries:
    TNS-12525: TNS:listener has not received client's request in time allowed
    TNS-12535: TNS:operation timed out
    TNS-12606: TNS: Application timeout occurred
    06-JAN-2012 17:09:51 * <unknown connect data> * (ADDRESS=(PROTOCOL=tcp)(HOST=172.19.1.54)(PORT=50067)) * establish * <unknown sid> * 12525
    TNS-12525: TNS:listener has not received client's request in time allowed
    TNS-12535: TNS:operation timed out
    TNS-12606: TNS: Application timeout occurred
    06-JAN-2012 17:10:23 * ping * 0
    06-JAN-2012 17:10:23 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=SYSTEM))(COMMAND=status)(ARGUMENTS=64)(SERVICE=(ADDRESS=(PROTOCOL=TCP)(HOST=SERVER01.domain.local)(PORT=1521)))(VERSION=169870336)) * status * 0
    06-JAN-2012 17:10:54 * <unknown connect data> * (ADDRESS=(PROTOCOL=tcp)(HOST=172.19.1.54)(PORT=50074)) * establish * <unknown sid> * 12525
    TNS-12525: TNS:listener has not received client's request in time allowed
    TNS-12535: TNS:operation timed out
    TNS-12606: TNS: Application timeout occurred
    Earlier today, I could log in without problems. I had been experiencing this error on my first attempt to login, but if I immediately attempted a second connection, would be logged in. Now, I cannot connect. Nothing has changed otherwise. Does anyone have any idea what may be causing this? I am using the sql plus command prompt, on a Windows Server 2008 R2 Service Pack 1. Oracle 10.2.0.4 Production, 64-bit.
    Thank you,
    JesseIt could be a mal-formed connection request due to bad tnsnames entry.
    what is actual & complete connection string being issued?
    post content of tnsnames.ora
    post content of sqlnet.ora file if one exists
    post results from following OS commands run on DB Server system
    lsnrctl status
    lsnrctl service

  • How to resolve TNS-12537: TNS:connection closed

    sqlnet.ora
    ==========
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    #SQLNET.AUTHENTICATION_SERVICES = (ALL)
    tnsname.ora
    ===========
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    listener.ora
    ========
    # listener.ora Network Configuration File: D:\oracle\product\10.2.0\db_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\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    while trying to connect into my local database(ORCL),I am receiving the following error:
    C:\Documents and Settings\abcd>tnsping orcl
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 07-JUN-2
    012 11:16:44
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    D:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = 127.0.0.1)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = ORCL)))
    TNS-12537: TNS:connection closed
    Thanks in advance.

    Hi,
    In your tnsnames.ora description ORCL.
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    ) Did you create any database on localhost (HOST = 127.0.0.1)?
    I think , if you want you must create database on localhost with IP 127.0.0.1
    else if you want connect exists database with service name ORCL then you must change IP address
    for ORCL description in tnsname.ora (for expale HOST= ORCLHOST or IP )
    regards
    Mahir M. Quluzade
    www.mahir-quluzade.com

  • ORA-12537:TNS:TNS connection closed

    i am getting this error while connecting to sqlplus. please suggest.

    This error means:
    ORA-12537: TNS:connection closed
    Cause: "End of file" condition has been reached; partner has disconnected.
    Action: None needed; this is an information message.
    Which simply means your connection has ended. It is just an informative message, actually this doesn't mean an error arised.
    Please provide further details on the environment where this error was produced as well as the Oracle and OS versions.
    ~ Madrid

  • FTP Adapter ORABPEL-11407 Connection closed error.

    Hiiii friends
    I have configured the connection factory for FTP Adapter (not defined any connection pool). My BPEL process poll the ftp location to get the file.
    But no bpel instance is getting generated and domain.log shows the following error. Can you help me in this issue ?
    +<2009-06-26 04:09:59,140> <INFO> <default.collaxa.cube.engine.deployment> Process "ReadEmp" (revision "1.0") successfully loaded.+
    +<2009-06-26 04:10:10,666> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JCAActivationAgent::init - Initializing the JCA activation age+
    nt, processId='bpel://localhost/default/ReadEmp~1.0/
    +<2009-06-26 04:10:10,667> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JCAActivationAgent::initiateInboundJcaEndpoint - Creating and+
    initializing inbound JCA endpoint for:
    process='bpel://localhost/default/ReadEmp~1.0/'
    +<2009-06-26 04:10:10,667> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JCAActivationAgent::initiateInboundJcaEndpoint - Creating and+
    initializing inbound JCA endpoint for:
    process='bpel://localhost/default/ReadEmp~1.0/'
    domain='default'
    WSDL location='ReadEmpPL.wsdl'
    portType='GetEmpOp_ptt'
    operation='GetEmpOp'
    +activation properties={portType=GetEmpOp_ptt}+
    +<2009-06-26 04:10:10,678> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Adapter Framework instance: OraBPEL - endpointActivation for p+
    ortType=GetEmpOp_ptt, operation=GetEmpOp
    +<2009-06-26 04:10:10,763> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> ENDPOINT ACTIVATION CALLED IN FTP ADAPTER+
    +<2009-06-26 04:10:10,765> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Adapter Framework instance: OraBPEL - successfully completed e+
    ndpointActivation for portType=GetEmpOp_ptt, operation=GetEmpOp
    +<2009-06-26 04:10:10,765> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Connection Created+
    +<2009-06-26 04:10:40,516> <WARN> <default.collaxa.cube.activation> <File Adapter::Inbound> PollWork::run exiting, Worker thread will die+
    +<2009-06-26 04:20:11,382> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Poller raising Alert for exception : ORABPEL-11407+
    Connection closed error.
    Connection closed for Host: corpdevapp10.
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
    +<2009-06-26 04:20:41,429> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Connection Created+
    I am not sure what exactly is happening here. I have already established the successful connection with the same FTP server using different FTP clients.

    sounds like the ftp server closed the connection. did you try to use other ftp clients from the same machine where the bpel engine is running?
    Mark

  • ORA-12537 TNS Connection closed after OAS 4.0.8.1 Installation

    finally I was able to install and start OAS
    on RH 6.1, but now I can not start Ora8i (with all patches) on my system. When I start svrmgrl, will get ora-12537 TNS Connection lost error.
    Can someone please help!
    Thanks

    They said in the install doc that you can't use the same ORACLE_HOME for 8i and OAS 4.0.8...

  • Random Connection Closed Errors using UCP

    Hey All;
    I am trying to figure out why we are seeing quite a few random connection closed errors in our applications that are using Oracle UCP ver 11.2.0.1.0 connection pooling.
    The errors happen at arbitrary jdbc usage source code locations (e.g.: spots that check a connection's auto commit mode, spots that spool through a result set, spots that do yada..) that consume a connection, and are not affiliated with what is being done with the connection (SQL being ran).
    The architecture is Tomcat 7, hitting Oracle 10g Enterprise Edition Release 10.2.0.4.0 (RAC). The structure of the code (it's a web app) is such that we have a servlet filter that assigns a http request thread a connection from the pool on an incoming request, then that same connection is closed at the completion of that request's handling. No code uses connections other than code related to handling an http request. And, no threads are spawned off of that request handling thread. And, no code whatsoever (other than the servlet filter's finally block) ever closes a DB connection.
    Also, the number of connections in the pool is quite adequate for the usage of the pool. That is, the ceiling is likely never hit. Even if it were---- having an outstanding connection suddenly 'closed out' wouldn't be the proper behavior there.
    What are the things that can cause a connection to be 'closed out from under you' ? Meaning, the connection is valid when taken from the pool, but arbitrarily in the middle of usage--- it gets closed.
    I am pretty stumped at this point.
    Any ideas?
    Thanks--

    Here are a few sample stacks. Keep in mind that the line of code where the exception actually happens is arbitrary. We see the exception happen at ANY line that is a consumer of a connection. For example... it could happen that it blows up on the 'Nth' iteration while trucking through a result set. Suddenly at say... iteration 143 the connection is suddenly closed out from under the connection's handle.
    As far as threads are concerned, each http request that creates a controller servlet instance is assigned it's own connection to use through the handling of that request. That connection instance is assigned as a ThreadLocal instance. Any DB usage that thread has is via that connection. The servlet filter ensures the handle is assigned when the request comes in, then is cleaned up as that request is completely handled in the same filter's finally block (this is a pattern that dozens of web apps we have have been using for going on 10 years now). This is not an ejb app. Straight Tomcat 7 web app using MVC pattern where C is a servlet.
    The curious thing here in my mind is that we only have two apps in our collection that are using this new UCP pooling driver (most other are using a tomcat pool). And, only those two are seeing this behavior.
    I am not balking at the threads concern--- it's just hard to square that with how we handle threading in such a 'single thread per http request' manner.
    And, if it were the case that the pool is handing out the same connection handle to more than one thread because of having multiple entrant threads to the pool accessor method---- it's difficult to buy that it's that common for us to have multiple entrant threads at the same moment in those very short time span it takes for a pool to hand out a connection (given the traffic usage pattern for the app).
    Here are the 'known deltas' I am aware of between the two apps that have this behavior, and the couple of dozen we have that do not:
    1) these two apps are on Tomcat 7 (most others are Tom 5, Resin, or JBoss)
    2) these two apps are using the Ora UCP pool. (most others use Tomcat pool)
    ~~~~~~~~~ Stack 1 ~~~~~~~~~~~~~~~~~~
    01-Dec-2010 12:34:13.479 [ERROR] JDBCExceptionReporter: The connection is closed: The connection is closed
    01-Dec-2010 12:34:13.479 [ERROR] PartsGroupingPanel: getDealersInventoryRow() pvid FO03348
    org.hibernate.exception.GenericJDBCException: could not inspect JDBC autocommit mode
    at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:91)
    at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:79)
    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
    at org.hibernate.jdbc.JDBCContext.afterNontransactionalQuery(JDBCContext.java:228)
    at org.hibernate.impl.SessionImpl.afterOperation(SessionImpl.java:437)
    at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1134)
    at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
    at com.dmotorworks.partinventory.dao.ClientParametersDAO.getAllDealers(ClientParametersDAO.java:20)
    ~~~~~~~~~ Stack 2 ~~~~~~~~~~~~~~~~~~
    01-Dec-2010 11:23:54.889 [ERROR] PartsSearchDAO: getDealerInventoryLineItemsNofN()
    java.sql.SQLException: The connection is closed: The connection is closed
    at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java:526)
    at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java:510)
    at oracle.ucp.jdbc.proxy.JDBCConnectionProxyFactory.invoke(JDBCConnectionProxyFactory.java:245)
    at $Proxy0.prepareStatement(Unknown Source)
    at com.dmotorworks.partinventory.dao.PartsSearchDAO.getDealerInventoryLineItemsNofN(PartsSearchDAO.java:246)

  • TNS:connection timeout error

    Hi,
    I have installed oracle 10g in my system.
    the tnsnames.ora file contails the following:
    TEST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.2)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = test)
    and sqlnet.ora file contains :
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    when i'm trying to login from SQLPLUS as:
    sqlplus sys/<password>@<sid> as sysdba
    it's showing the error as "ORA-12170 :TNS: connect timeout occured"
    C:\Documents and Settings\Administrator>sqlplus sys/<password>@<sid> as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Sep 10 09:47:56 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12170: TNS:Connect timeout occurred
    Enter user-name: sys as sysdba
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL>
    But i coudnot connect to Enterprise manager and through Toad because it tells as "TNS:connect timeout occured".
    From enterprise manager it shows the instance,listener are down.
    trying to start up the instance shows as "not connected to oracle".
    Could you please help me for this.
    Thanks,
    Souvik

    user10223265 wrote:
    This may help
    http://www.errorkey.com/search/Index.aspx?q=TNS-12541
    Is this the best you have to offer? I see you keep on posting "+answers+" using this URL. Well, if this is all you have to offer it is pretty pathetic. Please do not bother as there are many here that will actually make an effort to assist the person with the problem. We do not want you to sprain a finger or break a nail looking up the errorkey URL for yet another error code.
    Re: why handling ora-01722 with pl/sql not works ???

  • Connection closed error when using binding

    Hi,
    I am running WLS 7.0.1.0 with TopLink 9.0.3 as the persistence layer for
    EJB1.1 beans with CMP. When I use bind parameters I get a connection
    closed exception the second time the query is invoked.
    This is the query I see on server console when it is invoked the first
    time. This query returns the expected results:
    [TopLink]: ServerSession(91035)--Connection(887977)--SELECT
    LAST_CHANGED_ID, ALIAS_NAME, REFERENCE_ID, ALIAS_TYPE,
    REFERENCE_QUAL_CODE, ALIAS_QUAL_CODE, TLINK_VERSION, LAST_CHANGED_DATE,
    DELETED_FLAG FROM GLOBAL_ALIAS WHERE (DELETED_FLAG =
    bind => [N]
    However, when I run the same query the second time I get the
    following error:
    [TopLink Error]: ServerSession(91035)--Connection(0)--null--EXCEPTION
    [TOPLINK-4002] (TopLink (WLS CMP) - 9.0.3.1 (Build 426)):
    oracle.toplink.exceptions.DatabaseException
    EXCEPTION DESCRIPTION: java.sql.SQLException: Connection has already
    been closed.
    INTERNAL EXCEPTION: java.sql.SQLException: Connection has already been
    closed.
    ERROR CODE: 0
    Then when I execute the query again the third time I see the following
    sql query and it
    works fine.
    [TopLink]: ServerSession(91035)--Connection(889939)--SELECT
    LAST_CHANGED_ID, ALI
    AS_NAME, REFERENCE_ID, ALIAS_TYPE, REFERENCE_QUAL_CODE, ALIAS_QUAL_CODE,
    TLINK_V
    ERSION, LAST_CHANGED_DATE, DELETED_FLAG FROM GLOBAL_ALIAS WHERE
    (DELETED_FLAG =
    bind => [N]
    Does WebLogic close its connection to the database pool after each
    transaction? Is there something that needs to be done on the database?
    Any help will be greatly appreciated.
    Thanks in Advance,
    Anup.

    Hi. Our transaction coordinator does prevent any code from using a
    pool connection that was part of a transaction, after that transaction
    ends. Applications must obtain and use pool connections totally
    within or totally outside a UserTransaction, to prevent unintended
    or unclear interference of the transaction contents and/or locking.
    Joe Weinstein
    PS: Also post any followup to the ejb newsgroup, because this issue
    is more at the EJB level than JDBC.
    Anup Vachali wrote:
    Hi,
    I am running WLS 7.0.1.0 with TopLink 9.0.3 as the persistence layer for
    EJB1.1 beans with CMP. When I use bind parameters I get a connection
    closed exception the second time the query is invoked.
    This is the query I see on server console when it is invoked the first
    time. This query returns the expected results:
    [TopLink]: ServerSession(91035)--Connection(887977)--SELECT
    LAST_CHANGED_ID, ALIAS_NAME, REFERENCE_ID, ALIAS_TYPE,
    REFERENCE_QUAL_CODE, ALIAS_QUAL_CODE, TLINK_VERSION, LAST_CHANGED_DATE,
    DELETED_FLAG FROM GLOBAL_ALIAS WHERE (DELETED_FLAG =
    bind => [N]
    However, when I run the same query the second time I get the
    following error:
    [TopLink Error]: ServerSession(91035)--Connection(0)--null--EXCEPTION
    [TOPLINK-4002] (TopLink (WLS CMP) - 9.0.3.1 (Build 426)):
    oracle.toplink.exceptions.DatabaseException
    EXCEPTION DESCRIPTION: java.sql.SQLException: Connection has already
    been closed.
    INTERNAL EXCEPTION: java.sql.SQLException: Connection has already been
    closed.
    ERROR CODE: 0
    Then when I execute the query again the third time I see the following
    sql query and it
    works fine.
    [TopLink]: ServerSession(91035)--Connection(889939)--SELECT
    LAST_CHANGED_ID, ALI
    AS_NAME, REFERENCE_ID, ALIAS_TYPE, REFERENCE_QUAL_CODE, ALIAS_QUAL_CODE,
    TLINK_V
    ERSION, LAST_CHANGED_DATE, DELETED_FLAG FROM GLOBAL_ALIAS WHERE
    (DELETED_FLAG =
    bind => [N]
    Does WebLogic close its connection to the database pool after each
    transaction? Is there something that needs to be done on the database?
    Any help will be greatly appreciated.
    Thanks in Advance,
    Anup.

  • Connection closed Error in Webdynpro - JDBC

    Hi everybody !!
    I have a WebDynpro Application that uses an  Oracle database to display users. I'm using a Datasource configured in Visual Admin to connect WD and Database. Datasource properties are defaults properties.
    My code to call the Datasource is:
    public static Connection getConexionJDBC() throws JDBCException
               Connection conn = null;
               try
                    Context ctx = new InitialContext();
                    DataSource ds = (DataSource) ctx.lookup(ConnectionConstantsJDBC.DS_DEFAULT);
                    conn = ds.getConnection();
                    return conn;
               catch (Exception e)
                    throw new JDBCException(ConnectionConstantsJDBC.MESS_ERROR_OPEN_CONN_JDBC + "(datasource por defecto)." + e.getMessage(), e);
    The application runs ok all day, but when  I get to work in the morning, the application return me that error. Connection closed.
    To solve it, i have to restart de Datasource or the WAS Server, after of this, the application runs ok again, and so every day of the week. I've checked that the connections close OK when are completed using.
    So, somebodu knows whats happening?
    Thank you.
    Fernando

    Hi Fernado,
    Currently i have done same implementation in an java code.But  i am unable to call using component controller.
    Please let me know how to call the java class by Controller.
    Thanks
    MG

  • Connection CLosed Error due to submit statement.

    Hi friends,
    I have a Method which calls this function
    CALL FUNCTION 'Z_SLOT_TRIGGER_PRODUCTS'
              EXPORTING
                iv_rspar   = lt_rspar
                iv_variant = lv_variant.
    The Function module Z_slot_trigger_prouducts has a form in which there is a submit statement
    Submit the slotting transaction to background & process the transaction immediatly
    SUBMIT z_slot_products
       USING SELECTION-SET gv_variant
        WITH SELECTION-TABLE p_lt_rspar_tmp
         AND RETURN.
    During the debuging i see that when it reaches this submit statement it is giving an error as below in the inbound queue:
    ThISend: bad tm type / connection closed (no data)
    Can anyone please help me with this error. Thanks in advance.

    Check the documentation of the submit statement:
    When the SUBMIT statement is executed, the system runs an authorization check for the authorization group specified in the program attributes.

Maybe you are looking for

  • How to add number of desktop

    I have two user in my MBA. One use account with 4 desktops. But another user account only with 1 desktop. May I know how can I add more desktop?

  • Size limit for XMP metadata to be added externally to a file's metadata

    Hi, There is a situation where I need to add some 'text data' to the metadata of Adobe Illustrator document, in XMP format. The data being added is in the form of Array Item. While adding the data, I found that, after certain limit, the data addition

  • Is it possible to handle multiple events using Jscript for a button in Apex

    Hi, I've application wherein in one of the pages for a button, I need to trigger 2 events as: 1. redirect to a new page upon 'click' of the button 2. display a set of values on 'mouse over' that button. I'm able to handle both separately, but not in

  • Runtime Errors STORAGE_PARAMETERS_WRONG_SET

    Hi, My functional team had run customized program in dialog, but after few minutes the error occured as below:- Runtime Errors STORAGE_PARAMETERS_WRONG_SET What happened? The current program had to be terminated because of an error when installing th

  • Flash/Shockwave issues. How to deal?

    Hello, So I was using Opera web browser for a while now. As soon as the new version of flash player came out, it is not recognizing it. I have been prompted to download the latest version of Flash over and over. So, I uninstalled OPERA and installed