Oracle-sql developer database connection problem

hi all,
i tried creating a new connection in SQL developer but unable to create.
i tried with all the combinations such as
connection name:hr_orcl
username:hr
password:hr
connection tyrpe:basic,Role:default
hostname:localhost/ip address of my system
port:1521
SID:xe/orcl
But still it is hsowing as " network adapter could not establish the connection".
So could anybody please help me in this regard as to how to resolve this issue as I have searched several sites but could not find a solution for this.Waiting for your reply at the earliest
Thanks,
Rajesh P.
9949254433

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\rajesh>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 28-DEC-2012 08:21
:08
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 28-DEC-2012 08:20:36
Uptime 0 days 0 hr. 0 min. 31 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\a
dmin\listener.ora
Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\l
og\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rajesh-PC)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
C:\Users\rajesh>

Similar Messages

  • SQL Developer - database connect problem

    Hello
    Just wanted to give SQL Developer a try, downloaded it, unzipped and pointed at Java SDK's java.exe.
    It started, I created a TNS connection and successfully passed test. But when I try to connect to database - it errors with following
    java.lang.ArithmeticException: / by zero
         at oracle.jdbc.driver.OraclePreparedStatement.<init>(OraclePreparedStatement.java:1233)
         at oracle.jdbc.driver.OracleCallableStatement.<init>(OracleCallableStatement.java:100)
         at oracle.jdbc.driver.T4CCallableStatement.<init>(T4CCallableStatement.java:27)
         at oracle.jdbc.driver.T4CDriverExtension.allocateCallableStatement(T4CDriverExtension.java:88)
         at oracle.jdbc.driver.PhysicalConnection.prepareCall(PhysicalConnection.java:3135)
         at oracle.jdbc.driver.PhysicalConnection.prepareCall(PhysicalConnection.java:3090)
         at oracle.dbtools.db.DBUtil.executeReturnOneCol(DBUtil.java:275)
         at oracle.dbtools.raptor.InitializeConnectionListener.initConnection(InitializeConnectionListener.java:137)
         at oracle.dbtools.raptor.InitializeConnectionListener$1.run(InitializeConnectionListener.java:85)
    I googled for this error and found nothing suitable
    Other development tools including SQL Plus connect an run fine.
    I have 10g client, and I connect to 9.2.0.6 database. My OS is Vista Business SP1, so I though it might be UAC issue and tried running as both standard user and administrator, also allowed java.exe and sqldeveloper.exe through firewall. Nothing helped :(
    Any settings and ideas that might help will be appreciated.
    Thanks for help
    Edited by: user8082464 on Apr 27, 2009 12:25 AM

    Duplicate post in SQL Developer - database connect problem

  • SQL Developer - Database connection problem

    Hi all,
    I had SQL Developer 1.5.4 with JDK, when connect to database with connection type TNS,
    test connection successfully, but when I try to open tables; here the error that I got:
    java.lang.NullPointerException
         at oracle.javatools.db.ora.BaseOracleDatabase.getCurrentSchema(BaseOracleDatabase.java:163)
         at oracle.javatools.db.ora.OracleDatabaseImpl.hasRole(OracleDatabaseImpl.java:247)
         at oracle.javatools.db.ora.OracleDatabaseImpl.reconnected(OracleDatabaseImpl.java:119)
         at oracle.javatools.db.ddl.DDLDatabase.<init>(DDLDatabase.java:53)
         at oracle.javatools.db.dictionary.DictionaryDatabase.<init>(DictionaryDatabase.java:57)
         at oracle.javatools.db.ora.BaseOracleDatabase.<init>(BaseOracleDatabase.java:130)
         at oracle.javatools.db.ora.OracleDatabaseImpl.<init>(OracleDatabaseImpl.java:109)
         at oracle.javatools.db.ora.Oracle8.<init>(Oracle8.java:17)
         at oracle.javatools.db.ora.Oracle8i.<init>(Oracle8i.java:38)
         at oracle.javatools.db.ora.Oracle9i.<init>(Oracle9i.java:181)
         at oracle.javatools.db.ora.Oracle9iR2.<init>(Oracle9iR2.java:41)
         at oracle.javatools.db.ora.Oracle10g.<init>(Oracle10g.java:26)
         at oracle.javatools.db.ora.Oracle10gR2.<init>(Oracle10gR2.java:18)
         at oracle.javatools.db.ora.OracleDatabaseFactory.createDatabaseImpl(OracleDatabaseFactory.java:112)
         at oracle.javatools.db.DatabaseFactory.createDatabaseImpl(DatabaseFactory.java:147)
         at oracle.javatools.db.DatabaseFactory.createDatabase(DatabaseFactory.java:130)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:637)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:564)
         at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:1119)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:161)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:631)
         at java.lang.Thread.run(Thread.java:595)
    Any help would be appreciated.
    Thanks
    Michael

    It has nothing to do with the user and privilige thing.
    I think maybe it is a jdk problem.
    Maybe you can check the jdk version you are using.
    Goog luck.

  • Oracle SQL Developer Screen Flickers - Problem Fixed - JDK 1.6

    Hi,
    I'm using the latest version of Oracle SQL Developer (sqldeveloper-1.1.2.2579) on a Windows XP SP2 system and the application screen constantly flickers. Has anyone else experience this behavior? It's really annoying.
    Message was edited by:
    bitmap

    I'm using the default (non modified) ide.conf.
    # Oracle IDE Configuration File
    # Copyright 2000-2006 Oracle Corporation.
    # All Rights Reserved.
    IncludeConfFile jdk.conf
    AddJavaLibFile ../../ide/lib/ide-boot.jar
    SetMainClass oracle.ide.boot.Launcher
    AddVMOption -Xmx512M
    # Turn off verifications since the included classes are already verified
    # by the compiler. This will reduce startup time significantly. On
    # some Linux Systems, using -Xverify:none will cause a SIGABRT, if you
    # get this, try removing this option.
    AddVMOption -Xverify:none
    # JavaThread options are required to run JDeveloper with Sun Microsystems virtual
    # machine (-client and -server) because of a bug that was causing the VM to run
    # full GCs with realtime thread priorities. The bug is fixed in J2SE 1.5.0_06.
    # See: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5101898 and
    # Oracle bug 4759180 for more info.
    AddVMOption -XX:JavaPriority10_To_OSPriority=10
    AddVMOption -XX:JavaPriority9_To_OSPriority=9
    # On some Windows Terminal Server installations, relocation errors of
    # system DLLs can sometimes occur when using OJVM. Use this option to
    # specify a heap base address for OJVM to resolve this problem. This
    # option only works with OJVM and cannot be used with any HotSpot JVM.
    # AddVMOption -Xheapbase100000000

  • Added jTDS as third party DB connector to Oracle SQL Developer and connecti

    I have followed the directions for adding a third party db connector to SQL Developer however as soon as I do the connection manager form doesn't come up for both adding a new connection and editing an exisitng one. I have posted here as I am having issues finsing information or getting help through Oracle forums.

    Two things:
    1 - Confirm you got the jTDS we recommend from here http://www.oracle.com/technetwork/database/migration/omwb-getstarted-093461.html#conf
    2 - Confirm you added the entry in the preferences and pointed to the actual JAR file, not just the directory

  • Error in SQL Developer: Database Connections has no JNDI context so cannot

    Hello,
    I have installed SQL Developer 3.1.07 version on Linux. Previously I was able to create a connection and browse the existing tables, add tables, etc.
    Now when I launch SQL Developer, I see that no connections are displayed. Instead there are these three messages indicating an error. Can you please advice on how to resolve this?
    Thanks,
    Errors:
    SEVERE     44     0     oracle.jdeveloper.db.DatabaseConnections     DatabaseConnections has no JNDI context so cannot list connections.
    SEVERE     43     36     oracle.jdevimpl.db.adapter.DefaultContextWrapper     Failed to create naming Context for db connections at url: file:/home/user/.sqldeveloper/system3.1.07.42/o.jdeveloper.db.connection.11.1.1.4.37.59.48/connections.xml
    SEVERE     42     0     oracle.jdevimpl.db.adapter.DefaultContextWrapper     Failed to create naming Context for db connections at url: file:/home/user/.sqldeveloper/system3.1.07.42/o.jdeveloper.db.connection.11.1.1.4.37.59.48/connections.xml

    Hi uparthas,
    Here is a similar thread (Windows 7) marked as answered, and may be applicable to a Linux environment if you are using jdk1.7 rather than jdk1.6:
    Lost my connections.
    If that does not solve the issue, you might also wish to ...
    1. Exit SQL Developer
    2. Delete or rename the /home/user/.sqldeveloper/system3.1.07.42 directory
    3. Launch SQL Developer, perhaps without choosing to migrate settings from a prior install.
    Hope this helps,
    Gary
    SQL Developer Team

  • JSTL - SQL Server Database Connectivity problem

    Hi All
    I am trying to implement DB connection using JSTL sql tag using the following code :-
    <c:set value="jdbc:sqlserver://localhost;databaseName=Studentreg;user=sa;password=pass" var="URL"/>
    <sql:setDataSource driver="com.microsoft.sqlserver.jdbc.SQLServerDriver" url="${URL}" user="sa" password="pass" var="stc"/>
    But I am getting the error :-
    exception
    javax.servlet.ServletException: javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver"
    root cause
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver"
    But when I am trying to implement the same using the jdbc-odbc driver It work fine. This is the code:-
    <sql:setDataSource driver="sun.jdbc.odbc.JdbcOdbcDriver" url="jdbc:odbc:dsn_name" user="sa" password="pass" var="stc"/>
    Please help me in this regards
    Thanks in Advance
    Sulfikkar

    java.sql.SQLException: No suitable driverMeans that it can not find the JDBC driver in the classpath.
    Make sure your Database driver is in your WEB-INF/lib directory, or [TOMCAT]/common/lib directory (or equivalent)
    Cheers,
    evnafets

  • How to see job section in "Oracle SQL Developer"

    Hi,
    I am using oracle SQL developer to connect to oracle instance unlike procedure,tables,views i am not able to see job section (we have can see in toad as job section) please help me to get locate the same.

    There's no support for jobs yet. Vote on the existing feature requests at the SQL Developer Exchange if you want to add weight for future implementation.
    If you have trouble handling them manually, you can always ask help on the SQL And PL/SQL forum...
    Thanks,
    K.
    Edited by: -K- on 20/05/2009 12:27:
    BTW, there are some job reports (Reports - All Reports - Data Dictionary Reports - Jobs), but those will list only DBMS_JOB stuff, not the DBMS_SCHEDULER ones.
    You can also create your own reports and/or User Defined Extensions to add a Jobs node inside the connection navigator, but that's for more advanced users...

  • Oracle SQL DEVELOPER ERROR

    Hello everyone
    Can anyone here please help me with oracle sql developer error
    My problem is that i have installed oracle sql developer as a root and now when i execute the following command
    [root@localhost tmp]# sqldeveloper
    Oracle SQL Developer
    Copyright (c) 2008, Oracle. All rights reserved.
    Type the full pathname of a J2SE installation (or Ctrl-C to quit), the path will be stored in ~/.sqldeveloper/jdk
    /opt/oracle/softwares/jdk1.5.0.19
    Error: /opt/oracle/softwares/jdk1.5.0.19/bin/java not found
    As you can see i did install java but still i keep getting that error
    Thank you

    From what you have shown us, we can't tell that you have installed java. What do you get from the following command?
    /opt/oracle/softwares/jdk1.5.0.19/bin/java -versiontheFurryOne

  • Unable to connect to Oracle Database using Oracle Sql developer 2.1.1.64

    Hi Everyone,
    I am searching for some help regarding my problem with Oracle connectivity. I have installed Oracle 11g release 2 on my Windows XP Professional Laptop. For a few days after installation i could connect to the Oracle database with the SYSTEM account using Oracle SQL developer ( installed on the same Laptop) but now i am unable to do so.It gives me this annoying message:
    An error was encountered performing the required operation  Got a minus one from read call .Vendor code 0
    However i am able to connect using Sql Plus by supplying the username SYSTEM and the corresponding password.
    My TNSNAMES .ora file is as follows:
    ORACLE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORACLE)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    My Listener.ora file is as follows:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = D:\app\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:D:\app\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    (SID_DESC =
    (GLOBAL_DBNAME = Oracle)
    (ORACLE_HOME = D:\app\product\11.2.0\dbhome_1)
    (SID_NAME = Oracle)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    ADR_BASE_LISTENER = D:\app
    My Sqlnet.ora file is as follows:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    I am new to Oracle and so i need someone in this forum who can help me resolve this problem. Also i even tried connecting to the database using Toad 10.5.0.41. It give me the following error:
    ORA 12537 : TNS Connection closed
    Thanks for your patience and help in advance.
    ---Prashant

    Hello Irian and Sue,
    I can connect to the Oracle database using SQL Plus. Now when i TNSPING ORACLE from command line i get the following message :
    Used parameter files:
    D:\app\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 =localhost
    *)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORACLE)))*
    TNS-12537: TNS:connection closed
    Thanks for your response to my initial post.Do u have any other methods to resolve this?

  • Help how to connecting Oracle SQL Developer 3.0  with Oracle Database 11g

    Hello,
    I'm new in oracle developer yesterday i setup in my laptop database 11g the last version (11.2.0.1.0), well i follow steps still i got succeed to install, and i got my local host URL and i test my user name and password work very well, my problem now is i try to connect database 11g using Oracle SQL Developer 3.0 (3.0.04.34) but always filed and with my little experience i don't know where the wrong. as i said i test database after finish install is work fine the my URL is https://Ahmed-HP:1158/em and i test my username and password that i already set before is enter normal in my local database, please i need help to know how i connect database with Oracle SQL Developer 3.0 (3.0.04.34).
    Thanks,

    885173 wrote:
    EdStevens, thanks for your quick answer, sorry for my explain was doesn't clear, i open oracle sql developer and choose new connection i set connection name system_orcl username:system password:*i set my password that i create when i setup database*
    -Now the link that i got after finish install database is https://Ahmed-HP:1158/em so i have question about this point Hostname and port if the link to access database is this https://Ahmed-HP:1158/em so this mean i typing at Hostname:localhost and port:1158 ?
    because the message when i test connection always is filed and I'm sure i typing username and password and SID:orcl as i set when install database.port 1158 is what the dbcontrol (Oracle Enterprise Manager) is listening on. OEM is NOT the database. As far as the database is concerned, OEM is "just another client".
    Actually, the database doesn't listen for requests on any port. There is another process, the "listener" that listens for requests to connect to the database. Typically, it listens on port 1521. You should have a tnsnames.ora file set up to resolve a connection request to the correct host. You can read more on this at http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/

  • Oracle SQL developer 3.2.20.09 connection problem

    hello everyone. I just installed oracle SQL developer on mavericks. active JDK is 1.6.0_65. host name : som3a... now the problem is , whenever i try to make a new connection using the previous info and specifiying the default port 1433 i always get the following error
    Status : Failure -Test failed: Cannot connect to Microsoft SQL Server on som3a
    - can these fields ( connection name , username ,password ) take any values or do they need to be something special like ? i mean the host name must be som3a right so do the same constraint apply on these fields ?
    -i tried telnet som3a 1433 , it gets stuck at "trying..."

    I think you have the wrong forum, as this forum is dedicated to the Oracle Database Cloud Service.
    - Rick Greenwald

  • How to solve Oracle SQL Developer connection problem ?

    Folks,
    Hello. I am using Oracle Database 11gR1. The Database Control Console https://localhost.localdomain:1158/em works correctly. I can create a Database and a table successfully.
    My OS is Linux and connects to internet successfully.
    In order to run SQL statements. we need to use Oracle SQL Developer. I connect Oracle SQL Developer in the following way:
    Connection Name: DB1 (this is my database name as well)
    Username: SYS (this is the user name I used to login to the Console)
    Password: SYS (this the password used to login to the Console)
    Connection Type: Basic
    Host Name: localhost
    Port: 1158
    SID: DB1 (this is created during installing the Database)
    But the error message comes up: "Status: Failure - IO exception Connection Reset."
    Can any folk tell me how to solve Oracle SQL Developer connection problem ?

    user8860348 wrote:
    Folks,
    Hello. I am using Oracle Database 11gR1. The Database Control Console https://localhost.localdomain:1158/em works correctly. I can create a Database and a table successfully.
    My OS is Linux and connects to internet successfully.
    In order to run SQL statements. we need to use Oracle SQL Developer. I connect Oracle SQL Developer in the following way:
    Connection Name: DB1 (this is my database name as well)
    Username: SYS (this is the user name I used to login to the Console)
    Password: SYS (this the password used to login to the Console)
    Connection Type: Basic
    Host Name: localhost
    Port: 1158
    SID: DB1 (this is created during installing the Database)
    But the error message comes up: "Status: Failure - IO exception Connection Reset."
    Can any folk tell me how to solve Oracle SQL Developer connection problem ?username: sys
    password: enter_your_correct_password given at the time of oracle installation
    role: select sysdba if you would connect as sysdba else select normal for users other than sys
    hostname: enter your oracle server hostname or ip address eg:- 192.168.11.12
    to find the hostname open terminal/command prompt in oracle installed machine
    type ---> hostname
    type ---->ping hostname
    you can find the ipaddress of the server
    port number: 1521 (default) ----> i guess , else check the port number in the tnsnames.ora file under your ORACLE_HOME/network/admin folder
    SID: DB1
    try it
    Good Luck

  • How to connect database using oracle SQL developer

    Hello
    I am newbie in EBS R12
    I downloaded Oracle SQL Developer
    and create new database conenction
    Connection name: ebs demo db connection
    username:
    password:
    Role: Default
    Connection type: Basic
    Hostname: ebstailin.demo.com
    Port: 1521
    SID: clone
    when i try this there is an error
    Status: Failure-Test failed: lo exception: The Network Adapter could not establish the connection
    no idea about this
    but i used the apps/apps as username and password
    please help
    thanks
    Edited by: cheesewizz on Jul 16, 2010 11:35 PM

    Hello
    Thanks for your reply
    I tried to connect and here is the result: see below
    [oracle@ebstailin 11.1.0]$ sqlplus / as sysdba
    SQL*Plus: Release 11.1.0.7.0 - Production on Sat Jul 17 15:35:31 2010
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> CONNECT apps/apps
    Connected.
    SQL>
    But still cannot connect using ORACLE SQL Developer
    thanks

  • Problem in connection to Oracle SQL Developer

    Hi All,
    I am trying to connect to remote machine database through Oracle SQL Developer, it is giving me teh following error.
    Status: Faliure -Test failed :io connection :The Network Adapter could not establish the connection .
    I had given the hostname as the name which is assigned to that server, it didnt work.
    Later i tried with the IP address of the Server, it worked.
    Can anybody tell me how can i connect by giving hostname instead of the IP address.
    Thanks in advance,
    Vinay

    Hi Vinay,
    One way would be to add an entry in your hosts file. On windoze you can find this in
    %SystemRoot%\system32\drivers\etc
    Regards
    Peter

Maybe you are looking for

  • Is there a way to change the view in genre so that artists are visible, not just songs?

    I would like to view my music by artist within the genres, but the only display I can see is a long list of songs. Is there a way to switch this?  I can get an artist view on my iPhone, but not on my iPad.

  • Multi table insert

    Hello boys, I would like to do an insert into 3 tables: insert into t1 if found insert into t2 if not found insert into t3. So 2 out of 3 tables will end up with data. I would like to do it in 1 multi table insert. I can't use selects from the destin

  • Function of text buttons in Video browse pane???

    This has been driving me crazy. What is the function of the set of text buttons above the 3 video browse lists in iTunes? Specifically, the one to the right of the vertical bar. The ones to the left seem to filter the list of videos when selected (Al

  • Migrating Applications from Windows to Mac with new iPhone

    My original first gen iPhone died a horrible death a few months ago. I had always synced it to my Windows laptop. I just recently acquired a new iPhone and want to sync it instead to my iMac. However, I have a dozen or so iPhone applications that I s

  • VideoPlayer on flex 4.5

    I see that VideoPlayer and VideoDisplay flex components are discouraged to be used in the mobile device. I tested them and they don't seem to work on the adl (emulator). What is the alternative to use? Handcode streaming via netstream classes? Having