Sql developer - not able to establish connection

I have installed sql developer 3.2.2 and now I am trying to establish a connection with the database 'orcl' which I just created. But it is giving me a 'socket read timed out error' with vendor code 504. Please help. Thanks in advance.

The output from 'lsnrctl status' is -
C:\Users\Bits>lsnrctl status
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 11-OCT-2013 22:59
:55
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                11-OCT-2013 10:18:43
Uptime                    0 days 12 hr. 41 min. 38 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   C:\Oracle\Bits\product\11.2.0\dbhome_1\network\admin\l
istener.ora
Listener Log File         c:\oracle\bits\diag\tnslsnr\Bits-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...
Service "orcl" has 1 instance(s).
  Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
  Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully.
The output for 'tnsping orcl' is -
C:\Users\Bits>tnsping orcl
TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 11-OCT-2
013 23:04:28
Copyright (c) 1997, 2010, Oracle.  All rights reserved.
Used parameter files:
C:\Oracle\Bits\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)
The windows firewall is not working on my computer. Is that causing this issue?

Similar Messages

  • SQL Developer: Not able to view tables

    I am new to sqldeveloper and oracle products. I've recently installed sqldeveloper onto my pc, i am able to connect to the database but when i try and expand the tables item in the treeview i dont get the tables displayed and the error Warning, unhandled exception:Closed connection is shown in the logging page at the bottom. I have uninstalled the oracle client, jdk but still i keep getting this problem.
    Current versions are
    Operating System= Windows 7 32bit
    SQLDeveloper=3.0.03
    JDK=1.6.0_21
    Oracle Client=11g

    It looks like it may be a privilege issue.
    I ran SQL Developer with 'IncludeConfFile sqldeveloper-debug.conf' in the 'sqldeveloper.conf' file. I got the following log output when I connected to XXAPI (which hangs) and XX (which works)
    For XXAPI, 'oracle.dbtools.db.DBUtil' generates
    Prepared:SELECT object_type type, SYS_CONTEXT('USERENV','CURRENT_SCHEMA') owner, object_name, null column_name, null column_id, null data_type
    FROM user_objects
    WHERE object_type ='TABLE' and object_name not like 'BIN$%' and rownum <=50
    union all
    SELECT object_type type, SYS_CONTEXT('USERENV','CURRENT_SCHEMA') owner, object_name, null column_name, null column_id, null data_type
    FROM user_objects
    WHERE      object_type ='VIEW' and object_name not like 'BIN$%' and rownum <=50
    and the following log message
    oracle.dbtools.raptor.controls.grid.RaptorGridPersistedSettings - Persisted settings for this table could not be loaded
    For XX, 'oracle.dbtools.db.DBUtil' generates
    Prepared:
    select * from (
    SELECT o.OBJECT_NAME, o.OBJECT_ID ,'' short_name, NULL partitioned,
    NULL iot_type,
    o.OWNER OBJECT_OWNER, o.CREATED, o.LAST_DDL_TIME, O.GENERATED, O.TEMPORARY, NULL EXTERNAL
    FROM SYS.ALL_OBJECTS O
    WHERE O.OWNER = :SCHEMA
    AND O.OBJECT_TYPE = 'TABLE'
    union all
    SELECT OBJECT_NAME, OBJECT_ID , syn.SYNONYM_NAME short_NAME, NULL partitioned,
    NULL iot_type,
    SYN.TABLE_OWNER OBJECT_OWNER, o.CREATED, o.LAST_DDL_TIME, O.GENERATED, O.TEMPORARY, NULL EXTERNAL
    FROM SYS.ALL_OBJECTS O, sys.user_synonyms syn
    WHERE syn.table_owner = o.owner
    and syn.TABLE_NAME = o.object_NAME
    and o.object_type = 'TABLE'
    and :INCLUDE_SYNS = 1
    WHERE /**/OBJECT_NAME NOT IN (SELECT OBJECT_NAME FROM RECYCLEBIN)
    AND not object_name like 'BIN$%'
    which works
    -----

  • SQL Developer not able to bring up MySQL databases

    Hi there,
    I was able to install the java driver for mysql into my EA3. When i open New Connection, I can see the MySQL tab showing up, the mysql host and port number are there, but there is no database in the list to choose from. It's not populating the drop down list from the databases/schemas i have open in mysql. Anything i'm missing? Thanks.

    It works for me using 3.0 EA3.
    Just to make sure - username and password is supplied correctly and the hostname and port matches the real setting, correct?
    What happens when you click on Test Connection? Does it come back with a successful message?

  • Cisco2851 Any connect was not able to establish a connection to the specified secure gateway and Win7

    Hello ,
    R2811 Route config ssl vpn
    anyconnect-win-2.5.3055-k9.pkg
    windows xp ie6-8 all connection ssl vpn gateway,but win7 not able to establish
    IE browser display
    This website security certificate has a problem.

    asa5500 platform +anyconnect-win-2.5.3055-k9.pkg
    win7 win2000 winxp all connection!
    is why?

  • SQL Developer 1.5 where are connections stored?

    SQL Developer 1.5 where are connections stored?

    The connections are in
    C:\Documents and Settings\Application Data\SQL Developer/system1.5.0.53.38/o.jdeveloper.db.connection.11.1.1.0.22.49.35/connections.xml
    If you want to back them up, you can just right-click export from the tree.
    -kris

  • SQL Developer not only reading tnsnames.ora

    Hello,
    I have found a very odd behaviour in SQL Developer 1.2 (running on Windows 2000):
    I have set TNS_ADMIN to point to a directory on a network drive residing on a Linux host. In this directory there were many backup files of tnsnames.ora created over time whose names followed the pattern tnsnames.ora.<timestamp> or tnsnames.bak or something similar. In SQL Developer in the "New database connection" dialog many TNS-entries showed up multiple times in the "Network alias" listbox. Only after removing all those backup files from the directory the behaviour of SQL Developer was correct and every entry only showed up once. I also found out that even when I moved the backup files to a new directory "tnsnames.bak" under the directory which TNS_ADMIN points to the entries showed up multiple times. After I renamed this directory to bak.tnsnames the behaviour was again correct. In my opinion SQL Developer should only read the file called tnsnames.ora and ignore all other files or directories with similar names.
    Kind regards,
    Christof Breker

    Various users reported this before.
    Maybe others use multiple files, but at least there should be the option to read just this one.
    Regards,
    Kristof

  • Sql Developer not connecting to Oracle 11g

    hi all
    i have
    windows 7 ultimate 64bit
    Oracle 11g 64bit
    Sql Developer 3
    on same machine i have created Tow Database on 11g :
    ORCL
    ORCL2
    when it was ORCL only everything was Okay
    but recently i have created another database ORACL2
    then it stop connecting with database through SQL DEveloper
    shows error;
    IO Error: the network adapter could not establish the connection
    On commnad prompt
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=AStix-PC)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 61: Unknown error
    LSNRCTL>
    LSNRCTL> start
    Starting tnslsnr: please wait...
    Service OracleOraDb11g_home1TNSListener already running.
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    How to resolve this issue
    please help me out
    thanks to all

    884559 wrote:
    Have you fixed this issue?
    i m having same problem,i tried so mamy things but i was not able to fix it,
    so i uninstalled oracle and reinstalled it so it startd working fine,
    but agin after 10-15 days this problem started.
    from sqlplus i m able to connect but not using any other 3rd party IDE.
    i have also installed one instant client.
    Thanksno dear yet it's not fixed
    i have focused my mind on my work instead of R & D
    which is unexpected .. that ..no body is here for help...
    thanks

  • Sql Developer not connecting to the DB

    Hi
    I have latest Oracle Sql Developer 3.2.1 installed, and I cannot connect to database Oracle 11g Enterprise Edition.. I typed correct SID, port number, user and password and it won't connect saying: "The Network Adapter could not establish the connection. Vendor code: 17002"
    Strangely I am able to ping and telnet to the Database machine with the DB port
    ping <hostname> got reply
    telnet <hostname> <port> got connected.
    The TNS Listener of the Database is up as I am able to connect to the DB from another computer.
    Do we need to setup anything extra to connect to a DB?
    Thanks in advance

    Hi,
    Item 4 in the following relies on my Windows 7 environment variables. Did you also try...
    1. lsnrctl status
    2. lsnrctl services
    3. tnsping <tnsalias>
    4. sqlplus sys/<pswd>@//%COMPUTERNAME%:<port>/<sid>.%USERDNSDOMAIN% as sysdba
    The syntax in (4) requires specification of the SERVICE_NAME rather than the SID.
    My fully qualified SERVICE_NAME happens to be <sid>.%USERDNSDOMAIN%
    My fully qualified hostname is %COMPUTERNAME%.%USERDNSDOMAIN%, but %COMPUTERNAME% also works for me.
    See if using the literal values of these variables in the SQL Developer connection definition helps.
    Regards,
    Gary
    SQL Developer Team

  • SQL Developer not Connecting to Oracle after Updating java

    Hi,
    I am using Oracle 11gR1. Windows XPsp2 OS. Earlier Sql Developer was connecting successfully to Oracle , but when i updated my java Runtime to 'Update 17' (Of version 6), I am getting problem...Something like vendor problem error(tried to connect many times, also restarted system...but same problem persisted).
    BUT, at this time when i am writing this problem, I though to check again that problem and get that actual error message....but surprisingly now that error is resolved automatically as if something magic has happened...
    I am continuously connected to internet for last 5 hours.
    SO, WHAT WAS THE PROBLEM , AND HOW IT IS RESOLVED AUTOMATICALLY?

    Hi ,
    once again the same problem. Again i am not able to connect to Sql Developer environment. My JRE is updated to update 18, since then again i am facing the same problem.what could be the possible solution?
    The exact error message is "An error was encountered performing the request operation:Io exception:The network Adapter could not establish the connection vendor code 17002"
    Thanks
    Edited by: user12222356 on Apr 2, 2010 5:39 AM
    Edited by: user12222356 on Apr 2, 2010 5:42 AM

  • Sql developer is able to connect, but NO toad or sqlplus or tns ping

    Hi folks,
    Come across an interesting situation, able to connect using sql developer, but no tns ping or toad or even sql plus too, what do you think, what is the problem and how to fix too.
    Guidance/assistance will highly be appreciated.
    Thanks.

    user8604530 wrote:
    Sorry folks, for not providing complete info ... apologize for this inconvenience, here is error + version too:
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Jan 11 16:30:05 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Enter user-name:
    Error for tnsping too, where as, able to ping the server, but not to db.
    As told earlier too, able to work via sql developer.we still do not know what exactly you did that throws the error!
    ORA-12154 ALWAYS only occurs on SQL Client & no SQL*Net packets ever leave client system
    ORA-12154 occurs when client requests a connection to some DB server system using some connection string.
    The lookup operation fails because the name provided can NOT be resolved to any remote DB.
    The analogous operation would be when you wanted to call somebody, but could not find their name in any phonebook.
    The most frequent cause for the ORA-12154 error is when the connection alias can not be found in tnsnames.ora.
    The lookup operation of the alias can be impacted by the contents of the sqlnet.ora file; specifically DOMAIN entry.
    TROUBLESHOOTING GUIDE: ORA-12154 & TNS-12154 TNS:could not resolve service name [ID 114085.1]
    http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/

  • SQL Developer Not Connecting After Mac Snow Leopard 10.6.3 Update

    I installed Oracle 10g on a MacBook Pro running Snow Leopard 10.6.2 as described in here . All worked fine until after updating Snow Leopard last night with to 10.6.3. First I started getting an Insecure Startup Item Disabled message which I solved with the reply to my message at the Apple forums here . That took care of the first issue but now when attempting to connect with SQL Developer, I receive several errors messages in the log most of which point to the source o.jdevimpl.db.adapter.DefaultContextWrapper with a message starting with "Failed to create naming Context for db connections at url: file:/Users... I assume this is some sort of Jave error perhaps related to the Snow Leopard upgrade. However, I have absolutely no clue how to deal with it. I'm a student taking my first database class so the install of Oracle pushed me to my system knowledge limits.
    Any help would be appreciated!!
    - John
    Edited by: user9137863 on Apr 1, 2010 8:19 PM

    After some poking around on a several forums, I found a suggestion to reapply the OS X update by using the combo install package. That seemed to do the trick. I can now see and connect to my DB.

  • Oracle SQL Developer (Not seeing object names within the interface)

    Hello,
    I was finally able to perform an export/import from our production environment to our training environment. Anyway, this was done using the SYS account and for some reason, I have an issue where in Oracle SQL Developer, there are no object names being displayed, but the objects do exist within SQLPLUS if I should query the table.
    The following error message displays when I refresh any of the objects folders within SQL Developer:
    ORA-00942: table or view does not exist
    Any ideas would be greatly appreciated.
    Thank you.

    825084 wrote:
    I'm pretty new to the Oracle DBA space but not to SQL Server Ah. The first thing you need to do is check everything you think you know about rdbms at the door. The similarity between SQL Server and Oracle ends right after SELECT * FROM EMP.
    Even the term "database" has different meanings.
    First thing I see, in your original post, is that you did the export/import as SYS. Was this "as sysdba"?
    From Oracle® Database Utilities
    10g Release 2 (10.2):
    Invoking Export and Import As SYSDBA
    SYSDBA is used internally and has specialized functions; its behavior is not the same as for generalized users. Therefore, you should not typically need to invoke Export or Import as SYSDBA, except in the following situations:
    * At the request of Oracle technical support
    * When importing a transportable tablespace set
    so it's quite possible that I missed something during the import/export of the environments.
    Are there any system tables that get invoked when you click on any of the objects within the connection?

  • SQL Developer not starting - new installation

    I installed Oracle 11g on Windows 8, and am having problems with SQL developer starting. I have tried to debug but not a clue what I am looking for. I really could use some help. It is a 64 bit installation - and seems to be OK as I can connect to the DB in SQL plus. Thanks a lot!
    From a self-help perspective, did the following after looking at some threads:
    Ran sqldeveloper.exe and the output I got is:
    C:\app\kmalik\product\11.2.0\dbhome_1\sqldeveloper\sqldeveloper\bin>set
    ALLUSERSPROFILE=C:\ProgramData
    APPDATA=C:\Users\kmalik\AppData\Roaming
    CommonProgramFiles=C:\Program Files\Common Files
    CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    CommonProgramW6432=C:\Program Files\Common Files
    COMPUTERNAME=KMMAC
    ComSpec=C:\Windows\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Users\kmalik
    LOCALAPPDATA=C:\Users\kmalik\AppData\Local
    LOGONSERVER=\\KMMAC
    NUMBER_OF_PROCESSORS=1
    OS=Windows_NT
    Path=C:\app\kmalik\product\11.2.0\dbhome_1\bin;C:\Program Files (x86)\Parallels\
    Parallels Tools\Applications;C:\Windows\system32;C:\Windows;C:\Windows\System32\
    Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft\Web
    Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v
    1.0\;C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\;C:\Pro
    gram Files\Microsoft SQL Server\110\Tools\Binn\
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    PROCESSOR_ARCHITECTURE=AMD64
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=3a09
    ProgramData=C:\ProgramData
    ProgramFiles=C:\Program Files
    ProgramFiles(x86)=C:\Program Files (x86)
    ProgramW6432=C:\Program Files
    PROMPT=$P$G
    PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
    PUBLIC=C:\Users\Public
    SystemDrive=C:
    SystemRoot=C:\Windows
    TEMP=C:\Users\kmalik\AppData\Local\Temp
    TMP=C:\Users\kmalik\AppData\Local\Temp
    USERDOMAIN=KMMAC
    USERDOMAIN_ROAMINGPROFILE=KMMAC
    USERNAME=kmalik
    USERPROFILE=C:\Users\kmalik
    VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools
    windir=C:\Windows
    Ran: java -version on the same command prompt and got
    'java' is not recognized as an internal or external command, operable program or batch file.

    And also note the following similar thread:
    java.exe Requirement to run SQL Developer?

  • SQL developer not showing compiler warnings

    I'm just testing out the new compiler warning contained in 11g related to the "when others" exception handler when it does not have a subsequent raise or raise_application_error.
    in SQL plus, this works fine:
    SQL> alter session set plsql_warnings='enable:all';
    Session altered.
    SQL>
    SQL> create or replace function do_stuff
      2  return number
      3  as
      4     v_return number;
      5  begin
      6
      7     v_return := 3;
      8     return v_return;
      9
    10  exception
    11  when others then
    12     return null;
    13  end;
    14  /
    SP2-0806: Function created with compilation warnings
    SQL> show errors;
    Errors for FUNCTION DO_STUFF:
    LINE/COL ERROR
    1/1      PLW-05018: unit DO_STUFF omitted optional AUTHID clause; default
             value DEFINER used
    11/6     PLW-06009: procedure "DO_STUFF" OTHERS handler does not end in
             RAISE or RAISE_APPLICATION_ERRORbut in SQL developer the output is:
    BANNER                                                                          
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production    
    PL/SQL Release 11.2.0.3.0 - Production                                          
    CORE     11.2.0.3.0     Production                                                        
    TNS for Linux: Version 11.2.0.3.0 - Production                                  
    NLSRTL Version 11.2.0.3.0 - Production                                          
    session SET altered.
    FUNCTION do_stuff compiled
    No Errors.Anyone experience this issue? is there some setting that makes SQL developer behave differently?

    it must be something I'm doing wrong, above, I was running under windows 7 pointing at the version above.
    I just tried it under an Enterprise Linux pointing at
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production          
    PL/SQL Release 11.2.0.2.0 - Production                                          
    CORE     11.2.0.2.0     Production                                                        
    TNS for Linux: Version 11.2.0.2.0 - Production                                  
    NLSRTL Version 11.2.0.2.0 - Production                                           and I get exactly the same script output and no compiler window....
    actually...... if I go into a procedure window from the schema browser and compile it there, then I get the correct warning messages..... the problem is I mostly develop from .sql files extracted from source control rather than directly from the schema browser, I just want the sql worksheet to be able to show me the same compiler log window.....

  • SQL Developer not accepting certain characters from the keyboard

    Hello,
    I have been using SQL Developer for 5 or 6 months now, with minor issues and great satisfaction.
    A few days ago, just out of the blue, in the middle of the day, SQL developer started not accepting the following characters:
    Ctrlv, Ctrl + c, F5, F9 (I Think all function keys), BackSpace, Delete, Enter and arrow keys.+*
    T*his is only happening in the text editor part*. I am able to use this keys in the results, whether they were a script output or an execute query output.
    SQL developer also functions properly (if i paste using the mouse, paste works.. and all the other keys)
    I checked the pc for viruses, using AVG, no viruses were found (my avg is updated daily and runs daily virus checks on a schedule, and this issue has been here for the past 1 or 2 weeks, so it was a virus, i think it should have been discoverd, besides, the keys are still working in sql developer, only not in the text editor part)
    Needless to say, but if i run notepad and type, keys work properly.
    I also reinstalled it in another folder with no luck
    Tried so many restarts .. no luck
    Tried it in safe mode .. no luck
    I am using SQL developer Version 1.5.4, Build MAIN-5940.. on Windows Xp
    I am suspecting there's some option in it that I disabled without paying attention..
    HELP!!!
    Regards,
    Charles

    All that time trying possible solutions is understandable, but then typing them in your post... when searching the forum would have given you the solution under 1 minute:
    Preferences - Accelerators - Load Preset - Default
    Hope that helps,
    K.

Maybe you are looking for

  • ALV to Excel Format problem

    Hello Freinds, I am trying to download the o/p of ALV report into an excel sheet.But the o/p in excel sheet is distorted to some extent.Some of the headers appear in the next line even if there is no limit of rows in office 2007 which is there on my

  • Length of tracks in album view on mobile apps

    Hi,  it would be great to see the length of each title in album view on the right side of the screen (like in the desktop version).  You're doing great work, thanks!  Danny

  • Word to Pages Question

    I have to take a computer class that introduces some "legal writing" formats, but it's designed for Word. I have Pages so I have to make due, but I'm not sure how to do one thing..... We are given a document to edit and we are told to switch the docu

  • HT1725 I am still having problems with my download of Flicka 2 for 2.99 rental )Help!

    I have used the resume download it still does not download= it says error at 50

  • Basic Programming Problem

     Hi Guys, I need some help. I want to increase and then decrease a number continuously. for example: 0,1,2,3,4.....179,180, 179, 178,...3,2,1,0,1,2,3....179,180, etc.. Any ideas?? Regards! Sam Solved! Go to Solution.