Help : Cluster Fail over Test - Could not establish a connection

Hi All
          I'm trying to do Cluster fail over test with two Weblogic 8.1 sp2 instances in cluster.
          During that testing, I'm restarting the one of the instance which is handing my request, to make sure the session is replicated smoothly to the other instance,so that can continue accessing my application without any interuption. But when I restart the instance, I'm getting following exception
          Error 500--Internal Server Error
          java.rmi.ConnectException: Could not establish a connection with 8909815174098071019S:dappsn03:[8201,8201,-1,-1,8201,-1,-1,0,0]:dappsn03-04:TNL:tnl1_81dappsn03, java.rmi.ConnectException: Destination unreachable; nested exception is:
               java.net.ConnectException: Connection refused; No available router to destination
               at weblogic.rjvm.RJVMImpl.getOutputStream(RJVMImpl.java:316)
               at weblogic.rjvm.RJVMImpl.getRequestStream(RJVMImpl.java:488)
               at weblogic.rjvm.RJVMImpl.getOutboundRequest(RJVMImpl.java:584)
               at weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:91)
               at weblogic.rmi.internal.activation.ActivatableRemoteRef.invoke(ActivatableRemoteRef.java:69)
               at com.sns.pfk.ejb.PfkSessionBean_mz6mqm_EOImpl_812_WLStub.getPortalRecord(Unknown Source)
               at com.sns.pfk.servlet.PfkMainServlet.getInfofromSB(Unknown Source)
               at com.sns.pfk.servlet.PfkMainServlet.doActionDisplay(Unknown Source)
               at com.sns.pfk.servlet.PfkMainServlet.doGet(Unknown Source)
               at com.sns.pfk.servlet.PfkMainServlet.doPost(Unknown Source)
               at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
               at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
               at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
               at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
               at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
               at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:607)
               at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:400)
               at com.sns.ana.ui.servlet.AuthorisationBaseServlet.service(AuthorisationBaseServlet.java:109)
               at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
               at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
               at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
               at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
               at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
               at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
               at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
               at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
               at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
               at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
               at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
          Buddies, anyone hit this issue before, pls show up some light to escape this hickup.
          With Regs
          -SHAN

Hi,
          Thanx for ones, spend time on reading this thread.This problem was due to some missing entries in weblogic-ejb.xml. This got fixed as we got support from BEA.
          With Regs
          -SHAN

Similar Messages

  • Network adapter could not establish the connection oracle 11g

    Hi All,
    I Have oracle 11g database in remote system.When I am trying to access through my Oracle Jdeveloper in my system,I am getting this error:
    "Test Failed: network adapter could not establish the connection oracle 11g"
    I also checked the ipaddress and listener status by giving lsnrctl status and service in remote system.Both are running.
    What Should I do now?
    Thanks in advance

    902286 wrote:
    Hi All,
    I Have oracle 11g database in remote system.When I am trying to access through my Oracle Jdeveloper in my system,I am getting this error:
    "Test Failed: network adapter could not establish the connection oracle 11g"
    I also checked the ipaddress and listener status by giving lsnrctl status and service in remote system.Both are running.
    What Should I do now?
    Thanks in advance
    For starters, you make sure that there is even the possibility of a network connection between your client machine and the machine hosting the "remote system".  What happens when, on the client machine, you issue a 'ping <ip address of remote system>'?

  • Network adopter could not establish a connection

    Hi iam new to sql developer
    When Ever i try to connect databse which is placed on server
    it reports an Network Adopter failure error
    Can you tell me why it is so?

    i am using sql developer 3.0 and using 10g database
    I want to also mention that database is on server and i am using client machine
    i am using parameters like
    connection name = Apps
    username = xyz
    password = ******
    then selecting Tns as connection type
    in network lais field all tns entries are shown
    and i select my required alias and click test then Fillowing error occurs
    Test failed ; Network adapter could not establish the connection
    Edited by: Green on Apr 22, 2011 10:29 PM

  • HOW TO RESOLVE(Test failed: The Network Adapter could not establish the connection)

    Hii
    I want to create new databse as sysdba in jdev.I followed the steps as given in
    Oracle JDeveloper 11g Release 2 Tutorials - Designing and Building Database Tables
    In step 7 create database user and database connection, I am not able to do that and getting the error
    (Test failed: The Network Adapter could not establish the connection).
    Please help me.

    Hi,
    Could you please provide all value you pass to the connection properties on the connection creation panel? First of all, you should choose "Generic JDBC" as the connection type in order to use BDB SQL JDBC driver.
    Regards,
    Cindy

  • SQL Developer Connection Error: Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection

    Hi, I'm running the following setup:
    Mac OS X 10.8.4
    Virtual Box 4.2.16 r86992
    Oracle Developer Days (don't know the version, just downloaded it)
    SQL Developer 3.2.20.09
    Networking is host-only, I tried bridged but that doesn't make a difference for the problem at hand. I can ping my virtual box just fine, telnet to port 1521 looks good too:
    $ ping 192.168.56.101
    PING 192.168.56.101 (192.168.56.101): 56 data bytes
    64 bytes from 192.168.56.101: icmp_seq=0 ttl=64 time=0.449 ms
    ^C
    --- 192.168.56.101 ping statistics ---
    1 packets transmitted, 1 packets received, 0.0% packet loss
    round-trip min/avg/max/stddev = 0.449/0.449/0.449/0.000 ms
    $ telnet 192.168.56.101 1521
    Trying 192.168.56.101...
    Connected to 192.168.56.101.
    Escape character is '^]'.
    asdf
    asdf
    Connection closed by foreign host.
    When I create a new connection with sql developer, with the same hostname / IP (192.168.56.101), Port 1521 (didn't change that) and SID orcl, basic connection type, it can't even connect, throwing the error mentioned in the subject:
    Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
    I have looked at various threads in the forums here but I'm still stymied why the connection seems to be ok, yet sql developer has problems with it. If I create an ssh tunnel so sql developer only has to connect to localhost it works:
    ssh -L 1521:192.168.56.101:1521 -l oracle 192.168.56.101
    Message was edited by: 2a2e67cd-b5b2-4229-9fa6-21f5dfe0760d

    Hi Ali,
    This may be of varoius reasons..
    Is the database that you are connecting on the same PC?
    You have specified Hostname: localhost.
    If not please replace it with the IP of that server.
    Else please check whether the database listener is started or not. if not please start the listener.
    Check the SID by tnsping command.
    Hope this will help you..
    Thanks
    Ashok

  • Jdbc. The Network Adapter could not establish the connection. Help Please!!

    I've found several responses over this issue, but none works for me.
    I'm trying to setup a simple jdbc connection from a simple program.
    Platform:
    Fedora Core 4 (FC4) on AMD 64 bits
    Java 1.4.2_04 (64 bits)
    ORacle 10g or Oracle 9.2.0.4 (none works);
    Tips:
    - I can't connect to a remote server, nor to a local server
    - I can connect using SQLplus
    - TNSPing works fine
    - Listener it's up
    - my connection string is jdbc:oracle:thin:user/name@host:port:sid
    - Also try jdbc:oracle:thin:user/name@//host:port/sid
    - I'v tryied with classes12.jar, odbj14.jar
    - my hostname it's ok.
    I've monitored ip traffic on remote computer. While using TNSPING I detect activity. While using jdbc, no.
    Please, any idea??

    Thanks for your reply.
    To your questions:
    - I´v tried both IP, host, and even host.domain
    - I can connect from remote workstation using toad, and from local using sqlplus.
    - I can´t connect via jdbc.
    Folowing:
    A) my sample code
    B) the stack trace
    C) the listener status (from my 9i server. Also tryied another servr with 10g)
    when I call this program, I´ve tried severl connection strings:
    jdbc:oracle:thin:user/pass@sdd51:1521:ebf
    jdbc:oracle:thin:user/pass@:sdd51.sdd.com.ar:1521:ebf
    jdbc:oracle:thin:user/pass@:10.10.10.51:1521:ebf
    also try the other sintax:
    jdbc:oracle:thin:user/pass@//sdd51:1521/ebf
    In the classpath, I´tryied:
    clasess12.jar
    ojdbc14.jar
    nls_charset12.jar
    thanks
    A)=================================================
    // Import the JDBC classes
    import java.sql.*;
    import oracle.jdbc.pool.OracleDataSource;
    import java.io.*;
    import java.util.*;
    public class test
    // The query we will execute
    static final String query = "select 'Hello JDBC: ' || sysdate from dual";
    // The connection to the database
    static Connection conn;
    // Create the User Interface
    static public void main (String args[])
    try {
    String connect_string = args[0];
         // See if we need to open the connection to the database
         if (conn == null)
    // Create a OracleDataSource instance and set URL
    OracleDataSource ods = new OracleDataSource();
    ods.setURL(connect_string);
         // Connect to the databse
         System.out.println ("Connecting to " + connect_string + "\n");
         conn = ods.getConnection ();
         System.out.println ("Connected\n");
         // Create a statement
         Statement stmt = conn.createStatement ();
         // Execute the query
         System.out.println ("Executing query " + query + "\n");
         ResultSet rset = stmt.executeQuery (query);
         // Dump the result
         while (rset.next ())
         System.out.println (rset.getString (1) + "\n");
         // We're done
         System.out.println ("done.\n");
    catch (Exception e)
    e.printStackTrace();
         // Oops
         System.out.println (e.getMessage () + "\n");
    B)=================================================
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
         at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:212)
         at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:102)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:85)
         at test.main(test.java:66)
    C)=================================================
    LSNRCTL for Linux: Version 9.2.0.1.0 - Production on 30-JAN-2006 17:39:59
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 9.2.0.1.0 - Production
    Start Date 24-JAN-2006 11:16:18
    Uptime 6 days 6 hr. 23 min. 40 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Log File /opt/oracle/product/9.2.0/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sdd51.sdd.com.ar)(PORT=1521)))
    Services Summary...
    Service "ebf" has 1 instance(s).
    Instance "ebf", status READY, has 1 handler(s) for this service...
    The command completed successfully

  • THE NETWORK ADAPTOR COULD NOT ESTABLISH THE CONNECTION error, pls help me

    I download sql developer and when i want to add a new connection and fiil in the blacnks than i click test button i got the "THE NETWORK ADAPTOR COULD NOT ESTABLISH THE CONNECTION" ERROR , what should i do?
    should i download 10g or 11g to use sql developer????
    thanks.

    Without knowing what exactly you entered, I would guess that what you filled in wasn't exactly correct. Do you have an Oracle client already installed on your computer? If so, verify that what you filled in on the new connection matches the information for that DB in your TNSNAMES file (tnsping will report the server and port if you can't find the TNSNAMES file).
    theFurryOne

  • Network adapter could not establish the connection

    Hi,
    Iam new to using Oracle please help me in this problem. Iam trying to connect oracle8i in my home pc(win 98) in java.. I have said..
    String url="jdbc:oracle:thin:@testhost:1521:sid";
    DriverManager.getConnection(url,"scott","tiger");
    Actually i have added the service name using Oracle Net 8 Assistant ... it asked me service name so i gaved "fobjects". then host and port number then i gave "testhost" and port number as 1521. then i tried to use the test service but i couldnt get it... it gaved me error called " ORA12545- Connect failed because target host or obejct doe not exist ..Even then i pressed finished button to accomplish the thing...ans when i executed the java program with the above service name setup it said SO Excpetion : Network adapter could not establish the connection.
    Well What the wrong i have done, help me...
    Regards
    Lensi.

    hi,
    I think you have to register the driver first. pls try the following program...
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    * This class tests the environment to check if JDBC is configured and
    * connection to database is possible thru JDBC. Uses THIN driver to connect.
    public class JDBCCheck {
    public JDBCCheck() {  }
    private Connection conn = null;
    private final int NO_DRIVER = 1;
    private final int INVALID_URL = 17002;
    private final int INVALID_CREDENTIALS = 1017;
    private final int NULL_URL = 2;
    private final int DATABASE_DOWN = 1034;
    public static void main(String[] args) {
    JDBCCheck check = new JDBCCheck();
    check.dbconnect();
    public void dbconnect() {
    if(loadDriver())
    if(connect())
    doSomething();
    public boolean loadDriver() {
    boolean loadeddriver = false;
    String jdbcDriver = System.getProperty("jdbc.driver.class");
    // Use Oracle driver if nothing is set
    if(jdbcDriver == null) jdbcDriver = "oracle.jdbc.driver.OracleDriver";
    log("Loading JDBC Driver : class="+jdbcDriver+" ...");
    // try to load driver
    try {
    Class.forName(jdbcDriver);
    log("Loaded JDBC Driver ");
    loadeddriver = true;
    } catch (ClassNotFoundException noclassEx) {
    error(NO_DRIVER,noclassEx);
    return loadeddriver;
    public boolean connect() {
    boolean connected = false;
    String jdbcURL = System.getProperty("jdbc.url");
    String username = System.getProperty("jdbc.username");
    String password = System.getProperty("jdbc.password");
    if(username == null || password== null) {
    username = "scott";
    password = "tiger";
    if(jdbcURL == null) error(NULL_URL,new Exception(" jdbc.url cannot be null "));
    log("Connecting with URL="+jdbcURL+" as "+username+"/"+password);
    try {
    conn = DriverManager.getConnection(jdbcURL,username,password);
    log("Connected to Database");
    connected = true;
    } catch (SQLException sqlEx) {     
    error(sqlEx.getErrorCode(),sqlEx);
    return connected;
    public void doSomething() {
    Statement stmt = null;
    ResultSet rset = null;
    try {
    stmt = conn.createStatement();
    log("Created Statement object");
    rset = stmt.executeQuery(" SELECT 'PASSED' FROM Dual ");
    log("Retrieved ResultSet object");
    if(rset.next())
    log("Connection :"+rset.getString(1));
    } catch (SQLException sqlEx) {
    } finally {
    try {
    log("Closing Statment & ResultSet Objects");
    if (rset != null) rset.close();
    if (stmt != null) stmt.close();
    if (conn != null) {
    log("Disconnecting...");
    conn.close();
    log("Disconnected from Database");
    } catch (Exception e) { }
    public void log(String logMsg) {   
    System.out.println("Log: "+logMsg);
    public void error(int errcode, Exception ex) {
    String jversion = System.getProperty("java.version").substring(0,3);
    String os = System.getProperty("os.name");
    String excp = ex.toString();
    // Driver not found in classpath
    if(errcode == NO_DRIVER) {     
    String jarname = "classes12.jar";
    String nlsjarname = "nls_charset12.jar";
    if(jversion.equals("1.1")) {
    jarname = "classes111.jar";
    nlsjarname = "nls_charset11.jar";
    else if(jversion.equals("1.4"))
    jarname = "ojdbc14.jar";
    System.out.println(" Error: JDBC Drivers not present in CLASSPATH ");
    System.out.println("\n Your CLASSPATH is :"+System.getProperty("java.class.path"));
    System.out.println("\n To add Oracle JDBC Drivers to CLASSPATH ");
    // Windows
    if(os.indexOf("Windows") != -1) {
    System.out.println(" >set CLASSPATH=<path-to-"+jarname+">;<path-to-"+
    nlsjarname+">;%CLASSPATH%;");
    } else {
    System.out.println(" $CLASSPATH=<path-to-"+jarname+">:<path-to-"+
    nlsjarname+">:$CLASSPATH:");
    System.out.println(" $export CLASSPATH");
    System.out.println(" Oracle JDBC Drivers can be found in "+
    "<ORACLE_HOME>/jdbc/lib directory or "+
    "downloaded from http://otn.oracle.com/software/");
    } else if (errcode == NULL_URL) {
    System.out.println("Error: jdbc.url was not supplied");
    System.out.println("Usage: java -Djdbc.url=jdbc:oracle:thin:@<hostname>:<port>:<db_sid> JDBCCheck ");
    } else if (errcode == INVALID_URL) {     
    // Check if Invalid Database SID
    if( excp.indexOf("ERR=12505") != -1)
    System.out.println("Error: Invalid Database SID was specified in jdbc.url ");
    System.out.println("Error: Invalid JDBC URL or DB Listener is down, refer to http://myjdbc.tripod.com/basic/jdbcurl.html ");
    } else if (errcode == INVALID_CREDENTIALS) {
    System.out.println("Error: Invalid username/password was specified ");
    System.out.println("Try connecting to the database thru SQL Plus using the same username/password");
    } else if (errcode == DATABASE_DOWN ) {
    System.out.println("Error: The Database you are tying to Connect is down ");
    System.out.println(" Start the Database and then try to connect ");
    } else {   
    System.out.println("Error code not handled : "+errcode);
    System.out.println("\nException Message :"+excp);
    System.exit(0);
    while running thig pgm, you should pass the driver URL..
    java -Djdbc.url=jdbc:oracle:thin:@<hostname>:<port>:<db_sid> JDBCCheck

  • Failure-Io Exception:The network adapter could not establish the connection

    Hi,
    I am new to sql developer and need help regarding establishing connection in my PC.
    I gave the following details for establishing connection.
    Connection Name: DB
    Username: myDB
    passwd: xxxxx
    Role: Default
    Connection Type: Basic
    Host Name: localhost
    Port: 1521
    SID: xe
    When I tested the connection the following error occured:
    Failure -Io Exception: The network adapter could not establish the connection
    Please help me out.
    Thanks in advance.

    Some information showing:
    How to check if there is something listening on a machine/port (there are also port scanners like nmap)
    first a success: ctrl - ] typed in by me.
    $ telnet localhost 1521
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    ^]
    telnet> quit
    Connection closed.
    then a fail:
    $ telnet localhost 1522
    Trying 127.0.0.1...
    telnet: Unable to connect to remote host: Connection refused
    $
    Oracle also has tools to get the status of the 'listener' which is listening on the port, including database names for example 'lsnrctl stat' but it may have too many dependencies and privileges required to go into here.
    If you do not have XE, you can install it with very few restrictions.
    -Turloch

  • Why does itune keep telling me it could not establish a connection with the software update server

    i have an iphone 3g running on 3.1.3 firmware and every time i plug into my pc running windows 7 it says that it is contacting the software update sever then after about ten seconds it says that update failed could not establish a connection with the server i have tried to disable my firewalls completely and it seems that nothing works nothing is wrong with the iphone it sync's properly and works fine someone plz help me so i can update

    Everybody is tryng to connect to apple,s servers. Try tomorrow, it will be quieter

  • Connection Problem : The Network Adapter could not establish the connection

    I am trying to connect to an Oracle 9i database using the jdbc drivers from the jdbc/lib directory. Whatever I try I get the error "The Network Adapter could not establish the connection.
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Connection connection = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:oradev", "user1", "secret");
    The listener is running, I believe the SID is correct. I am able to connect to the database using SQLPLUS, SQLPLUSW, etc. I am running using JDK 1.4.2 and ojdbc14.jar is on my classpath.
    I am running out of ideas so any help would be appreciated.
    Thanks,
    Richard

    I been trying a few more tests and if I change the connection string to "jdbc:oracle:thin:@<tnsname> which I believe you can do, it now raises the exception :-
    java.sql.SQLException: Io exception: SO Exception was generated
    Any Ideas?
    Thanks,
    Richard

  • IO Error: The Network Adapter could not establish the connection in oracle

    Hi experts,
    I have oracle developer days installed in my vitrual box machine. The connection to oracle datatase (11.2.0.2) contained in the oracle developer days was working fine via sql developer. I use eclipse to write some java programs to connect the database. However, somehow, I cannot connect the database via sql deveoper anymore. This is the error I got when I tried to connect it via basic connection type:
    Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
    Can anybody shed a light on this issue please. Thanks a lot in advance.

    user571093 wrote:
    Hi experts,
    I have oracle developer days installed in my vitrual box machine. The connection to oracle datatase (11.2.0.2) contained in the oracle developer days was working fine via sql developer. I use eclipse to write some java programs to connect the database. However, somehow, I cannot connect the database via sql deveoper anymore. This is the error I got when I tried to connect it via basic connection type:
    Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
    Can anybody shed a light on this issue please. Thanks a lot in advance.Do you realize & understand that we are NOT standing behind you?
    I, too, am running Oracle Developer Days inside VirtualBox.
    On which system is SQL Developer installed?
    The post errors indicate an OS/networking issue.
    when was last time all worked without error?
    what changed since then?
    How do I ask a question on the forums?
    SQL and PL/SQL FAQ

  • Remote db.SQl dev -The network adapter could not establish the connection"

    I have 64 bit Win 7 and 32 bit oracle 11g client (I guess it is 32 bit; this was already installed on the system when i received the laptop). Is there a way to confirm if it is 32 bit or 64 bit? I am not sure if that matters?
    When i try to use SQL developer to connect to remote database; i get the error - "Status - Failure - The test failed. The network adapter could not establish the connection"
    But i can connect to the same remote database using another machine. So i am sure the host name, port etc details are correct.
    Not sure what is the issue with my client?
    Please guide.

    Similar thread
    SQL Developer: "network adapter could not establish the connection"

  • -lo exception the network adapter could not establish the connection

    Hi,
    I am getting following error when connecing to Oracle database
    error: -lo exception the network adapter could not establish the connection
    I am able to connect through sqlplus
    pls help
    thanks

    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\2101571>sqlplus
    SQL*Plus: Release 11.1.0.6.0 - Production on Mon Aug 29 22:56:02 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    Enter user-name: sys as sysdba
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> kocdw as sysdba
    SP2-0734: unknown command beginning "kocdw as s..." - rest of line ignored.
    SQL> conn kocdw
    Enter password:
    Connected.
    SQL> startup
    ORA-01031: insufficient privileges
    SQL> conn sys as sysdba
    Enter password:
    Connected.
    SQL> startup
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SQL> select instance_name from V$instance;
    INSTANCE_NAME
    orcl01
    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 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    SQL>

  • JDBC Error - The Network Adapter could not establish the connection

    Hi all,
    I appreciate if anyone could help me out with my issue. I wrote simple java code on win 2000 to test whether I will be able to access Oracle 8i DB resided at some xxx.xxx.xxx.xxx machine within the network.
    The code is:
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@111.111.11.11:1526:DBinstance","user","password");
    The fist line here is executing and the problem is with second line of code. After executing this application from my DOS window, I am getting error:
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:211)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:324)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:266)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at DBConn.getConn(DBConn.java:15)
    at DBConn.main(DBConn.java:40)
    I have installed Oracle client, where I can access the same database using SQL * Plus, but why I am unable to access the database from a Java Application? Do I need any web/application server to access it?
    Any suggestions please?
    Thanks,
    cs

    I am sorry guys, I was using the port number as 1526, where I need to use 1521...

Maybe you are looking for

  • Error while accessing Xcelsius report via LiveOffice

    Hi all, We are getting error "Persisted view cannot be loaded u2013 LO 26620" when users try to run Xcelsius dashboard having some 5-6 BEX queries in it. The crystal reports(base for dashboards) get hanged for long and sometimes throw the error "Requ

  • If CD-R's no longer play read this as possible fix

    Hi, After going round and round with Applecare and CompUSa the store that sold me my eMac 1.0 ghz (stock 128mb ram) 40 gb HD. Issue was no longer able to play any type of burned CD's or burn CD's (photos/music etc) Comp USA at point of sale upgraded

  • XSQL to XSL params passing problem

    I'm trying to pass some parameters from XSQL to processing XSL, but I am unable to pass string constants. To make it clear: XSQL: <?xml version="1.0" ?> <?xml-stylesheet type="text/xsl" href="some.xsl" ?> <qry xmlns:xsql="urn:oracle-xsql" connection=

  • Navigation with a target

    Hi all masters, I have a Question..... I'm working with two frames  ( FR1 and FR2 ) with a tableView in FR1 I'm getting somethings events, (rowselect), and with the data of that row, i need show in the frame FR2 the content of it.. I try with, naviga

  • Difficulty in replacing a source file

    Hi, I'm new to scripting, and am trying to replace a layer's source file while keeping all it's attributes. I wrote the following script which I thought would work, but it doesn't... I have searched all the pdf support files for an answer to this wit