Results 1 to 3 of 3
  1. #1
    pranjul137 is offline Member
    Join Date
    Apr 2010
    Posts
    13
    Rep Power
    0

    Default error while loading oracle 9i in myeclipse

    Error while open connection with :

    Error while performing database login with oracle(Thin Driver) driver:

    IO exception :Connection refused(Description =(Tmp=)(VSNNUM=153092352)(ERR=12505)(ERROR_STACK=( ERROR=(CODE=12505)(EMFI=4)) ) )

  2. #2
    j2me64's Avatar
    j2me64 is offline Senior Member
    Join Date
    Sep 2009
    Location
    Zurich, Switzerland
    Posts
    962
    Rep Power
    11

    Default

    Quote Originally Posted by pranjul137 View Post
    Error while open connection with :

    Error while performing database login with oracle(Thin Driver) driver:

    IO exception :Connection refused(Description =(Tmp=)(VSNNUM=153092352)(ERR=12505)(ERROR_STACK=( ERROR=(CODE=12505)(EMFI=4)) ) )

    documentation for ora-12505


    ORA-12505: 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.
    check if your parameters for

    Java Code:
    String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber
    					+ ":" + sid;
    			connection = DriverManager.getConnection(url, username, password);

    are ok. perhaps it helps: the default sid for oracle is ORCL and check if one listener is running.

  3. #3
    pranjul137 is offline Member
    Join Date
    Apr 2010
    Posts
    13
    Rep Power
    0

Similar Threads

  1. Error loading SolarisSerial:
    By musiigedeo in forum Advanced Java
    Replies: 5
    Last Post: 02-17-2010, 03:38 PM
  2. Error euro sign on oracle database
    By ct2marer in forum JDBC
    Replies: 0
    Last Post: 10-26-2009, 12:07 PM
  3. Error loading c:\\...\jvm.dll
    By dnyan123 in forum SWT / JFace
    Replies: 7
    Last Post: 10-20-2008, 04:26 AM
  4. error while loading the image from the server
    By testtest in forum CLDC and MIDP
    Replies: 1
    Last Post: 09-23-2008, 05:16 AM
  5. Error While connecting to Oracle thru JAVA
    By javaneed in forum Advanced Java
    Replies: 1
    Last Post: 08-11-2007, 10:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •