Listener refused the connection with the following error: ORA-12505

Hello,
Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: 127.0.0.1:1521:XE Windows XP + Oracle 10.1.0.20
I checked my *.ora files and found the host 127.0.0.1 but I noted by running netstat command on dos prompt that most of my ports are captured by www.360.cn including 1521
when am trying to shutdown then the following message appears:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not existsThanks & best regards

Hi,
[oracle@myoramachine ~]$ oerr ora 12505
12505, 00000, "TNS:listener does not currently know of SID given in connect descriptor"
// *Cause:  The listener received a request to establish a connection to a
// database or other service. The connect descriptor received by the listener
// specified a SID for an instance (usually a database instance) that either
// has not yet dynamically registered with the listener or has not been
// statically configured for the listener. This may be a temporary condition
// such as after the listener has started, but before the database instance
// has registered with the listener.
// *Action:
//  - Wait a moment and try to connect a second time.
//  - Check which instances are currently known by the listener by executing:
//    lsnrctl services <listener name>
//  - Check that the SID parameter in the connect descriptor specifies
//    an instance known by the listener.
//  - Check for an event in the listener.log file.
[oracle@myoramachine ~]$1. Check lsnrctl services <listener name>
2. Check tnsping output:
tnsping MYORACLE
3. Check connectivity to the machine where your Oracle Server resides to port ( I assume 1521):
telnet <your_machine> 1521
4. In case you're not able to connect to the Oracle Server - I'd investigate it in a few directions:
     - network infrastructure problem
     - some disturbing process(es) / virus(es) on Oracle Server itself
     - firewall issue
Good luck!
http://dba-star.blogspot.com/

Similar Messages

  • Java.sql.SQLException: Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor

    Good Day,
    I'm encountering this problem
         java.sql.SQLException: Listener refused the connection with the following error:
         ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    here's the java code
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    String url = "jdbc:oracle:thin:@//10.143.85.21/UCSL";
    String userName = "mssoriano";
    String passWord = "mssoriano_4319";
    conn = DriverManager.getConnection(url, userName, passWord);
    and here's my tnsnames.ora
    UCSL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.143.85.21)(PORT = 1521))
        (CONNECT_DATA =
          (SID = psusldb11)
    Please do let me know if what may the cause of the problem and how to solve this. Thank you and God bless.

    Hi,
    see this example
    Connect to Oracle DB via JDBC driver
    Frank

  • Listener refused the connection with the following error: ORA-12500

    Hi,
    We had had some difficulties with our portal lately. All of a sudden portlets failed and started givin error messages all over our webpages.
    I tried to login to EM Console to try and restart Portal OC4J and got this error
    An error was encountered while loading page. An error occurred when attempting to connect to the Database.
    Resolution:
    Make sure that the database and listener are up.
    If the database is up, make sure that the OracleAS Repository API files ias.properties and iasschema.xml are correctly configured.
    If necessary, use the EM Console to reconfigure the host, user name and password associated with the database
    Base Exception:
    java.sql.SQLException
    Listener refused the connection with the following error:
    ORA-12500, TNS:listener failed to start a dedicated server process
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=PORTAL.MSS.EDUS.SI)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ASDB.MSS.EDUS.SI)))
    . Listener refused the connection with the following error:
    ORA-12500, TNS:listener failed to start a dedicated server process
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=PORTAL.MSS.EDUS.SI)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ASDB.MSS.EDUS.SI)))
    In ..INF/network/sqlnet.log
    Fatal NI connect error 12500, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=portal.mss.edus.si)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=asdb.mss.edus.si)(CID=(PROGRAM=I:\Oracle\INF\Apache\Apache\Apache.exe)(HOST=CLUSTER1)(USER=SYSTEM))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.1.0.4.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.1.0.4.0 - Production
    Time: 11-JUN-2007 13:00:24
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12564
    TNS-12564: TNS:connection refused
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    After restart everything works as normal. Any ideas what went wrong, or where to look for some additional answers?

    Ora12500 means your OS has run out of resources, so you cannot start a process on the Server Side. Post the complete error stack, the last lines show further information to troubleshoot this error.

  • Listener refused the connection with the following error: ORA-12500, TNS:li

    I got this error when I use EM, or sqlplus:
    Listener refused the connection with the following error: ORA-12500, TNS:listener failed to start a dedicated server process
    when I do
    $lsnrctl status:
    here is the result
    Service "abc.def.com" has 3 instance(s).
    Instance "dbtest", status UNKNOWN, has 1 handler(s) for this service...
    Instance "dbtest", status BLOCKED, has 1 handler(s) for this service...
    Instance "dbtest", status READY, has 1 handler(s) for this service...
    please help. Thanks.

    Ora12500 means your OS has run out of resources, so you cannot start a process on the Server Side. Post the complete error stack, the last lines show further information to troubleshoot this error.

  • An error was encountered performing the requested operation:  Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor    Vendor code 12505

    From sql developer I am trying to connect to database in my local machine. It shows the following below error. Any suggestions?
    An error was encountered performing the requested operation:
    Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    Vendor code 12505

    lsnrctl results are as shown below
    C:\Users\ndodd_000>lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 18-AUG-2013 17:40
    :25
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date                18-AUG-2013 15:29:41
    Uptime                    0 days 2 hr. 10 min. 50 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\app\ndodd_000\product\11.2.0\dbhome_1\network\admin
    \listener.ora
    Listener Log File         c:\app\ndodd_000\diag\tnslsnr\Vamsi\listener\alert\log
    .xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "sysdba" has 1 instance(s).
      Instance "sysdba", status READY, has 1 handler(s) for this service...
    Service "sysdbaXDB" has 1 instance(s).
      Instance "sysdba", status READY, has 1 handler(s) for this service...
    The command completed successfully
    lsnrctl service results
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 18-AUG-2013 17:
    :20
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    Service "sysdba" has 1 instance(s).
      Instance "sysdba", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:186 refused:0 state:ready
             LOCAL SERVER
    Service "sysdbaXDB" has 1 instance(s).
      Instance "sysdba", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1022 state:ready
             DISPATCHER <machine: VAMSI, pid: 904>
             (ADDRESS=(PROTOCOL=tcp)(HOST=Vamsi)(PORT=49237))
    The command completed successfully

  • SQL Error: 12519, SQLState: 66000 ERROR 2013-11-29 10:47:19,601 org.hibernate.util.JDBCExceptionReporter  - Listener refused the connection with the following error:

    SQL Error: 12519, SQLState: 66000
    ERROR 2013-11-29 10:47:19,601 org.hibernate.util.JDBCExceptionReporter  - Listener refused the connection with the following error:

    Below solution was given for similar issue. Hope it works with you.
    I think it is not using C3p0 by default.
    Please try add this property to your hibernate.cfg.xml.
    <property name="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>

  • Listener refused the connection with the following error:

    Hi a has installed XE 10g ang i has to oracle jdevelopment and i try to do a conection and this is my problems:
    Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    localhost:1521:ORCL

    well the database name is XE not ORCL
    so change that

  • Listener refuse connection with the following error ORA-12505

    Hi Everyone, Am really new to oracle database, am working on my school project work and am stuck in a middle of this error (Listener refuse connection with the following error ORA-12505).
    I have started the listener serveral time and it's saying that "No service surpported by the LISTENER", I can't access the database via sqldeveloper which trows out the same error (Listener refuse connection with the following error ORA-12505, TNS:Listener does not currently know of SID given in connect descriptor.) Moreover my em show red down arrow for the listener. Here are my hard & software details.
    Oracle 11.1.0
    Os: Red Hat Enterprise Linux 4 ( Running the OS via Vmware workstation)
    TNSNAME.ORA
         LISTENER2=
         (DESCRIPTION_LIST=
         (DESCRIPTION=
         ((ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1522))
         LISTENER1=
         (DESCRIPTION_LIST=
         (DESCRIPTION=
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1523))
         LISTENER=
         (DESCRIPTION_LIST=
         (DESCRIPTION=
         (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521))
    Listner,ora
         LISTNER_ORCL
         (ADDRESS_LIST=
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1523))
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521))
         IMT_ADMI=
         (DESRIPTION=
         (PORT=1522))
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1522))
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1523))
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521))
         (CONNECT_DATA=
         (SERVER=DEDICATED)
         (SERVICE_NAME=imt_admin
         LISTENER_IMTADMIN=
         (ADDRESS_LIST=
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1522))
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1523))
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521))
         ORCL=
         (DESCRIPTION=
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1523))
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521))
         (CONNECT_DATA=
         (SERVER=DEDICATED)
         (SERVICE_NAME=orcl)
    I read from some forums that I need to edit somethings of which am not really sure cos i don't wanna mess with the database, I need help on what to.
    Thanks for help in advance.

    Use a single listener. There is no need for multiple listeners 99.9999% of the time.
    Have the listener bind the hostname as listening end-point - and not localhost.
    Localhost only allows local processes to connect via TCP. Which is questionable in most environments. Typically you would run clients on other h/w platforms (or VMs) - and this will use the database server's public IPs.
    Type hostname in the console to get the hostname of the server. If the network on that server is suspect (was not manually setup properly by someone knowing network basics), do not bother using the hostname. Use IP address +0.0.0.0+ instead.
    Update the listener.ora file. The LISTENER entry should look something as follows:
    LISTENER =
            (DESCRIPTION_LIST =
                    (DESCRIPTION =
                            (ADDRESS_LIST =(ADDRESS = (PROTOCOL = IPC)(KEY = EXTERNAL)))
                            (ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = <hostname-goes-here>)(PORT = 1521)))
            )You can also simply (and safely) remove/rename the listener.ora file - and start the listener with sane defaults.
    Next, use sqlplus (via the oracle o/s user) to logon as SYSDBA to the database. The database parameter of interest is LOCAL_LISTENER. It should be null (view it using the SQL*Plus command <i>show parameter</i>). If your listener port is 1521, then not a problem.
    If it is not, you need to update/set this parameter with the appropriate port number via the ALTER SYSTEM command.
    Once set/checked, manually instruct the database to register its services with the local listener, via the alter system register command in sqlplus.
    Check and confirm that the listener has received and successfully serviced that registration request by typing lsnrctl services in the oracle o/s console.
    PS. The reason for the error I think is that your are forcing the listener on localhost only - while the default/null local_listener parameter of the database instructs it to contact the listener on the default public IP address of that server. Which does not happen to be localhost IP 127.0.0.1.
    Edited by: Billy Verreynne on Jan 11, 2013 1:06 PM

  • Java.sql.SQLException:listener refused the connection with the  error

    hi my problem is in repository assistant IN 2ND STEP
    After i enter the
    Repository User name sindhu
    Repository User Password tiger (As i kept the password of Oracle 10g)
    SYSDBA User name SYS
    SYSDBA Password tiger (As i kept the password of Oracle 10g)
    Host name Local Host
    Port number 1521 (default)
    Oracle Service name OracleServiceXE
    and i am not clicking the SQL* Plus
    and clicking on " Next "
    then my prob is
    INS0009:Unable to connect to the database with the user SYS
    java.sql.SQLException : Listener refused the connection with the following error
    ORA-12514, TNS: listener dosenot currently know of service requested in connect descriptor
    The Connection Descriptor used by the client was
    (DESCRIPTION=(ADDRESS=(HOST=LOCALHOST)(PROTOCOL=tcp)(PORT=1521))(CONNECT_DATA=
    (SERVICE_NAME=ORACLESERVICEXE)))
    hope some one will give me a gud solution
    Waiting for ur reply
    Sindhu

    ...OWB repository cannot be installed into Oracle XE.
    Cheers
    David

  • Listener refused the connection with the following erro

    Hi to all,
    I have face this probelm. So after searching in the forum i found the most important command for this issues as follwoing but untill now i didn't find the solution to this problem
    Error: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    i have execute the follwoing commands
    lsnrctl start
    lsnrctl service
    lsnrctl statusthe results as follwoing
    C:\Windows\system32>lsnrctl start
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JAN-2013 00:28
    :01
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    TNS-01106: Listener using listener name LISTENER has already been started
    C:\Windows\system32>lsnrctl service
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JAN-2013 00:28
    :06
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    The command completed successfully
    C:\Windows\system32>lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JAN-2013 00:28
    :08
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date                07-JAN-2013 00:24:39
    Uptime                    0 days 0 hr. 3 min. 28 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   d:\app\DELL2\product\11.2.0\dbhome_1\network\admin\lis
    tener.ora
    Listener Log File         d:\app\dell2\diag\tnslsnr\DELL2-PC\listener\alert\log.
    xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\Windows\system32>
    This is the
    listener.ora  file
    # listener.ora Network Configuration File: d:\app\DELL2\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = d:\app\DELL2\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:d:\app\DELL2\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = d:\app\DELL2this is tnsnames.ora
    # tnsnames.ora Network Configuration File: d:\app\DELL2\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
      )

    C:\Users\DELL2>Sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Jan 7 00:59:07 2013
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> Alter system register
      2  ;
    System altered.
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64
    bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    C:\Users\DELL2>Lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JAN-2013 00:59
    :43
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date                07-JAN-2013 00:43:52
    Uptime                    0 days 0 hr. 15 min. 51 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   d:\app\DELL2\product\11.2.0\dbhome_1\network\admin\lis
    tener.ora
    Listener Log File         d:\app\dell2\diag\tnslsnr\DELL2-PC\listener\alert\log.
    xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\Users\DELL2>Tnsping orcl
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JAN-2
    013 00:59:58
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    d:\app\DELL2\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhos
    t)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
    OK (0 msec)
    C:\Users\DELL2>

  • TNS Listener refused the connection with the -OracleXE Struts

    I m using OracleXE as my back end. My Applicaiton Server is on Local Machine, while Database is on another machine. many a time
    Caused by: java.sql.SQLException: Listener refused the connection with the following error: ORA-12516, TNS:listener could not find available handler with matching protocol stack
    The Connection descriptor used by the client was:
    192.168.1.8:1521
    I m using the following datasource in struts.config.xml file:\
    <data-source type="org.apache.commons.dbcp.BasicDataSource" key="msgds">
    and I m using a DatasourcePlugin class which implements Plugin :
    In this I m writing like this:
    public void init(ActionServlet actionServlet, ApplicationConfig config) throws ServletException {
    ServletContext context = actionServlet.getServletContext();
    DataSource datasource = actionServlet.findDataSource("msgds");
    ontext.setAttribute("ds", datasource);
    And in each Action i m using like this:
    ServletContext context = getServlet().getServletContext();
    DataSource ds= (DataSource) context.getAttribute("ds");
    Connection con = ds.getConnection();
    and in finally i m closing the connection. Now Can somebody tell what could be the possible error. How can I use Connection Pooling Using JNDI, Commons dbcp.
    If Somebody have the code snippet, plz send it,
    Thanks in Advance...

    Hello,
    OC4J is the core component of the OracleAS, the J2EE/WebService container where you deploy your J2EE applications
    So you are using OC4J when deploying your application.
    Do you know what release and the type pf topology that you are using when deploying your application? (stand alone OC4J -run from java command- or a managed OracleAS run from an opmnctl command...)
    Regards
    Tugdual Grall

  • Internet Download error message: the connection with the server has been reset

    With an WRT54GS v6 firmware v 1.50.9 on Windows XP SP2 with Internet Explorer 7, Intel wireless internal adaptor w/ 802.11b,  I was getting the error message "The connection with the server has been reset" when downloading most anything from the Internet.  My IP address would then be reset and download would be interrupted.  To resolve, I turned off the WZC (Wireless Zero Configuration) Services, and this seems to correct the problem.
    Control Panel > Admin Tools > Services > Wireless Zero Configuration > Disable
    Hopes this helps.

    Hi!
    Im using Windows 7.... I tried looking for the Wireless Config - but it isn't in the Services options!
    So, what can I do now?
    Thanx

  • "The connection with the server was reset" Error Message

    I am trying to download iTunes 8 for my new iPod that i got today.
    However, when i am downloading the iTunesSetup.exe file, the file downloads normally until it gets to about 10.5MB.
    After this a message pops up saying:
    "Internet Explorer cannot download iTunesSetup.exe from appldnld.apple.com.edgesuite.net.
    The connection with the server was reset"
    Has anyone else had this problem, if yes how do i resolve it???
    Thanks in advance for any help!

    Hi!
    Im using Windows 7.... I tried looking for the Wireless Config - but it isn't in the Services options!
    So, what can I do now?
    Thanx

  • Run report cause "The page cannot be displayed"  OR The connection with the

    Hello,
    1. Database oracle 10g R2 on windows 2003 server enterprise edition with SP2
    2. Application Server Oracle 10g R2 on Windows 2003 Server with SP2.
    Problem explanation
    one of our branch which is connected via leased line is unable to run some of the reports if the report have a little more
    data,
    one report i tried its size is almost 900k ( they are using the same line since last three month and they are
    able to run all reports before, bandwidth is 128k), if you run report browser search a little while
    for output then displayed "The page cannot be displayed" if you look at the report log it's finished successfully.
    I try to download the report rather opening in browser it reach to end of in downloading window at the end it display
    this message
    Internet explorer can not download getjobidxxx.xls from oracleaps.domain.com
    The connection with the server was reset.
    I want to mention one more thing there is a ISA server and firewall in between client and Server but its the same condition
    for
    head office client but they are able to run all report with out any error.
    any one have idea??
    Thanks and Regards,
    Khawar

    Hello,
    Thanks for reply, I have posted Service Request to Oracle Metalink and finally resolve the issue, they suggested me the following solution( a note has also been posted in Knowledge Base no. 871016.1 )
    Webcache KeepAlive timeout is reached. (The default value for KeepAlive timeout is 5 seconds)
    Increase the Keepalive time in webcache to a higher value
    **************EOF******************
    Thanks and Regards,
    Khawar

  • Hyper-V could not replicate changes for virtual machine 'machinename': The connection with the server was terminated abnormally (0x00002EFE).

    I have a 3 node cluster that has replica setup to replicate to another cluster off-site.
    Suddenly one of the servers is not replicating with the error:
    Hyper-V could not replicate changes for virtual machine 'machinename': The connection with the server was terminated abnormally (0x00002EFE). (Virtual Machine ID CC0FD4CC-F9B7-4C68-ABE8-B7D52A87899F)
    All other servers are replicating fine so there cannot be a permissions or connectivity issue between the 2 clusters.
    This server has 2TB of data so I'd rather not have to start the replication again.
    Does anyone have any pointers?
    Thanks.

    Hi drensta,
    Based on my knowledge , "hyper-v replica broker " is needed for failover cluster replica .
    Here is a link for "Why is the "Hyper-V Replica Broker" required?"
    http://blogs.technet.com/b/virtualization/archive/2012/03/27/why-is-the-quot-hyper-v-replica-broker-quot-required.aspx
    Hope this hleps
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for

  • Customer not found in CRM from R/3

    Hi  All, One Customer has been created in R/3 and the same customer is not found in CRM. So i have defined a request with R3AR2 with object name :CUSTOMER_MAIN, Table:KNA1 and field:KUNNR Option:Equality(=Low) Low: 1000001 High:  1000001 And in R3AR4

  • Two tasks under one change request

    hi all, when two tasks will be created under one change request, when using same user id. is there any harm having different tasks under one change request? is it better to have  different change request for different tasks... Thx in Advance....

  • Insert text into a pdf form

    How can I edit a pdf file? It is a form and I need to insert some text. Please help.

  • Reinstalling OS X 10.4.6-- Not Allowing Me to "Select Destination"

    Hi, My G4 PowerBook (Titanium) recently crashed. Started making all sorts or grinding sounds. I finally got the install disk to get recognized after several time trying to restart the Mac and hold "C". I went through the begining install promts ie ("

  • Usage of PID controller instead of ON OFF controller

    respected sir,        I pursuing  btech final year in the stream of instrumentation.sir i have a doubt  while go through my project,can i use PID controller  instead of using ON OFF CONTROLLER. would you please suggest me the possible ways which are