SQL Developer wont work via SSL (TCPS)

I am trying to get SQL Developer (1.5.1) to connect to our Oracle database using SSL (tcps -- port 2484) and am getting a very generic error. (I have no error connecting to the same database over the unencrypted port -- 1521).
Status: Failue - Test failed: Io exception: The Network Adapter could not establish the connection.
I personally think that the connection is timing out, but all logging/debuggig features I can find do not prove anything either way. I have successfully connected to the database via SSL using tnsping and sqlplus. I have also successfully imported the certificate from the database server into the cacerts file in sqldeveloper/jdk/jre/lib/security This error is the same whether I use my TNSNAMES file or a custom JDBC url.
Please reply if you have questions/ideas/solutions.
Thanks, Dan
block from TNSNAMES.ora
TEST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname.fqdn)(PORT = 1521))
(CONNECT_DATA =
(SID = test)
TEST_SSL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCPS)(HOST = hostname.fqdn)(PORT = 2484))
(CONNECT_DATA =
(SID = test)
(SECURITY =
(SSL_SERVER_CERT_DN="CN=hostname.fqdn, OU=My Unit, O=My University, L=City, ST=State, C=US")
contents of sqlnet.ora
SQLNET.AUTHENTICATION_SERVICES= (BEQ, TCPS, NTS)
SSL_VERSION = 0
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
SSL_CLIENT_AUTHENTICATION = FALSE
WALLET_LOCATION =
(SOURCE =
(METHOD = FILE)
(METHOD_DATA =
(DIRECTORY = C:\oracle\certs)
)

This has helped, but I am not 100% there.
After altering my setting to use OCI/Thick driver and upgrading to 11g client, (and verifying that I could sqlplus/tnsping/odbc as before) the following happens:
When testing the connection or trying to connect with tnsnames method, the dialog box comes up just telling me it's testing/connecting, and never stops trying (and therefore also never fails).
This also happens when I try to connect via a custom JDBC URL,
BUT
When I test the connection using the same JDBC URL, I 'succeed' -- so I must be close.
My Custom JDBC URL is
jdbc:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)
(HOST=hostname.fqdn)(PORT=2484))(CONNECT_DATA=(SERVICE_NAME=test))
(SECURITY =(SSL_SERVER_CERT_DN="CN=hostname.fqdn, OU=My Unit, O=My University, L=City, ST=State, C=US")))
What might I be missing?
Thank you.

Similar Messages

  • Help getting SQL Developer to work

    I'm just trying to get SQL Developer to work so I can use student databases. I have no intent of being a networker, and I definetly have no intent of failing this class because I can't do my homework.
    Update.
    Someone from my Java Class told me to restart the services related to Oracle. I attempted to do so, but got the following errors:
    http://img220.imageshack.us/img220/5087/clipboard01hq.jpg
    http://img27.imageshack.us/img27/32/clipboard02ro.jpg
    I believe the TNSListener service is the main problem (seeing as when I try to open the database I get an error saying "TNSListener service is not running.") So I looked that up, and it said to check sqlnet.log:
    Sat Jan 29 18:11:16 2011
    Create Relation ADR_CONTROL
    Create Relation INC_METER_IMPT_DEF
    Create Relation INC_METER_PK_IMPTS
    Directory does not exist for read/write [C:\app\Davidi\product\11.1.0\db_1\log] [C:\app\Davidi\product\11.1.0\db_1\log\diag\clients]
    Fatal NI connect error 12541, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=C:\Install\sqldeveloper-2.1.1.64.45\sqldeveloper\sqldeveloper.exe)(HOST=THE-FALCON)(USER=Davidi))))
    VERSION INFORMATION:
    TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
    Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.6.0 - Production
    Time: 29-JAN-2011 18:11:18
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12541
    TNS-12541: TNS:no listener
    ns secondary err code: 12560
    nt main err code: 511
    TNS-00511: No listener
    nt secondary err code: 61
    nt OS err code: 0
    Thu Feb 03 23:04:39 2011
    Directory does not exist for read/write [C:\app\Davidi\product\11.1.0\db_3\log] [C:\app\Davidi\product\11.1.0\db_3\log\diag]
    Fatal NI connect error 12541, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=The-Falcon)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=C:\Install\sqldeveloper-2.1.1.64.45\sqldeveloper\sqldeveloper.exe)(HOST=THE-FALCON)(USER=Davidi))))
    VERSION INFORMATION:
    TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
    Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.6.0 - Production
    Time: 03-FEB-2011 23:04:41
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12541
    TNS-12541: TNS:no listener
    ns secondary err code: 12560
    nt main err code: 511
    TNS-00511: No listener
    nt secondary err code: 61
    nt OS err code: 0
    Thu Feb 03 23:08:05 2011
    Directory does not exist for read/write [C:\app\Davidi\product\11.1.0\db_3\log] [C:\app\Davidi\product\11.1.0\db_3\log\diag]
    Thu Feb 03 23:08:31 2011
    Directory does not exist for read/write [C:\app\Davidi\product\11.1.0\db_3\log] [C:\app\Davidi\product\11.1.0\db_3\log\diag]
    Thu Feb 03 23:09:36 2011
    Directory does not exist for read/write [C:\app\Davidi\product\11.1.0\db_3\log] [C:\app\Davidi\product\11.1.0\db_3\log\diag]
    And now I'm stuck again. Does anyone have any suggestions?

    Oh right. I did change the port in an attempt to get Scott to work.
    Changed back to port 1521, but still no luck.
    I think my problem has something to do with OracleDBConsoleorcl. I get Error Code 2 when I try to start that service up.
    Although...my SERVERNAME_SID is 192.168.15.101_orcl (Directory: C:\app\Davidi\product\11.1.0\db_1\192.168.15.101_orcl)
    Which was the IP Address ipconfig set up the day that SQL Developer was actually working. Of course, that IP Address changes every time you restart windows. My teacher suggested that I set up a static IP Address or try setting it to local host, but I really don't know how to do either of those.
    Any help would be appreciated.
    Thank you.

  • Coldfusion 11 Developer wont work after local machine restart

    I'm brand new to CF.  I've installed CF 11 Developer & attached to IIS.  I'm on a windows 7 machine.  Every time I have to restart my machine for whatever reason, the CF Administrator wont work, nor will any CFM page work.  I have to completely uninstall CF11 & then reinstall it in order for it to work again.  Any ideas or suggestions as to what might be causing this behavior?  Below is the error message I receive when I try to hit CF Administrator:
    HTTP Status 500 - ROOT CAUSE:
    type Exception report
    message ROOT CAUSE:
    description The server encountered an internal error that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: ROOT CAUSE: coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Monitoring service is not available. at coldfusion.server.ServiceFactory.getMonitoringService(ServiceFactory.java:223) at coldfusion.CfmServlet.service(CfmServlet.java:199) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at coldfusion.inspect.weinre.MobileDeviceDomInspectionFilter.doFilter(MobileDeviceDomInspectionFilter.java:121) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:422) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:198) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)  coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:70) coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) coldfusion.inspect.weinre.MobileDeviceDomInspectionFilter.doFilter(MobileDeviceDomInspectionFilter.java:121) coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    note The full stack trace of the root cause is available in the Apache Tomcat/7.0.52 logs.
    Apache Tomcat/7.0.52

    Thanks, Anit.  Honestly, I am unable to determine if the service is running.  I"m assuming it is not based only the fact that no cfm page is returning.  Could you share with me best practice to determine if service is running?  Also, I'm not aware of the hf1100-3776060.jar.  Is it a patch that I need to drop in my Coldfusion installation?
    Thanks so much for your assistance.  This is the 3rd time today I've had to uninstall/reinstall the service.
    AB

  • Sql Developer wont convert Sql Server to Oracle lob w Oracle 11gr2 client

    I have the Sql Developer 2.1.1.64 loaded on a Windows machine accessing Oracle 11g release 2 database on a linux box with no jre. I have the latest version of java (1.6.0.21) and jdk (6 u 21). When I loaded Oracle 11g r2 client onto my windows box, all sql server tables could be moved to my Oracle repository except tables that converted from a Sql Server 2005 type of nvarchar(max) to nclob. I would just get every row in the error column during the move.
    Turns out when I uninstalled the Oracle 11g r2 client and installed the Oracle 11g r1 client, it worked.

    I'm afraid you're in the wrong forum. This is the Berkeley DB Java Edition forum.
    --mark                                                                                                                                                                                   

  • SQL Developer Not Working "no ocijdbc11 in java.library.path"

    Hi,
    I have Oracle 10g with SQL Developer 3.0 on Windows XP, they worked well untill I just installed Oracle ODBC (ODAC101040.exe). I started to receive error message "no ocijdbc11 in java.library.path" and I am no longer able to use SQL Developer.
    Any solution?

    Check on the envirnment variables on the windows. Once you installed the "Oracle ODBC" it might have replaced the Old env. variables that can found in XP "System Properties> advance tab> environment Variables". Make sure you have the right environment variables that point to right directory locations. Update us with your findings.

  • Sql Developer is working very slow and it's making other applications slow

    I am using SQL Developer 1.5.1.54.40.
    Sometimes it hangs. Sometimes the space key doesn't work in the sql sheet.It's overall performance is slow. And i have found it slows down other applications to open and close. I have 1GB RAM.
    Please tell me is it the problem of SQL Developer or my PC?

    I have seen the "Automatically Check for Updates" option significantly slow down the start of up SQL Developer when it is switched on. You might want to see if switching that off (Tools > Preferences > Extensions) makes a difference to start up time.
    SQL Developer's not insignificant memory usage may cause problems if it takes you beyond your physical memory, which typically slows down opening, closing and switching between applications. This is when you need to look at the task manager (assuming windows) as per the previous suggestion.
    theFurryOne

  • Sql developer not working which i got when i installed oracle 11g on win7

    Hi i successfully instaled my oracle 11g on windows 7,but when iam trying to use my sql developer chich i got by default with 11g is not working ..when i open it its asking me for "select the path of java.exe file" when i browse and given the right path .iits again giving me the same pop and not throughing any error msg at least.
    Could u pls help me out on this??

    Well, not supported does not necessarly mean does not work, but if you have problem, then your only way is to find a solution on your own or through other fellows who are doing the same.
    Anyway, you could ask your question in the SQL Developer dedicated forum, but again, you could have some unexpected issues by working on non-supported config :
    SQL Developer
    Nicolas.

  • SQL Developer not working

    I installed SQL developers dot rel. 3.2.20.09.87 in my windows XP machine today. The downloadable zip file is available at oracle website http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html.
    Version I downloaded is :
    Windows 32-bit - zip file includes the JDK1.6.0_35      Download Download 209 M
    On clicking sqldeveloper.exe , the small Oracle SQL Developer window pops but it goes away in few seconds.
    Any pointers to resolve this issue is highly appreciated !

    Hi,
    To avoid losing the window before you can read what went wrong, run the sqldeveloper.exe version in directory
    <SQLDev_Install_Dir>\sqldeveloper\sqldeveloper\bin\sqldeveloper.exeinstead.
    If you should need to do a more in-depth investigation, the following offers some good advice on debugging:
    http://www.thatjeffsmith.com/archive/2012/06/how-to-collect-debug-info-for-oracle-sql-developer/
    Regards,
    Gary
    SQL Developer Team

  • Profiler in SQL Developer not working

    When I run the profiler in SQL developer , I get the following error.
    "Directory exists; check if /tmp exists on file system, and oracle has permission to write there. "
    This error sounds like an UNIX error but I am running SQL developer on Windows 7 (64) OS. Has anyone seen this or knows how to get around it.
    Thanks so much..

    Hi,
    According to the SQL Developer 3.1.04.72 documentation, the "get" command (among others) is not supported:
    Help|Table of Contents|SQL Developer Concepts and Usage|Using the SQL Worksheet|SQL*Plus Statement Supported and Not Supported...
    so options are limited. If sqlplus is accessible and using it as an "external tool" won't conflict entirely with local policy, these links might interest you:
    Re: sqlplus vs sqldeveloper
    Easy Connect and sqldev.conn issues
    Otherwise you may add a feature request for this on the SQL Developer and see if such an enhancement is a priority for the community.
    Regards,
    Gary
    SQL Developer Team

  • SQL Developer not working on Ubuntu 6.10

    Hi all,
    I just upgraded to Ubuntu 6.10 and discovered that SQL Developer does not start. It fails with next message:
    sofist@null:~/opt/sqldeveloper$ sh sqldeveloper
    Oracle SQL Developer 1.0
    Copyright (c) 2005 Oracle Corporation. All Rights Reserved.
    .: 17: ide.conf: not found
    sofist@null:~/opt/sqldeveloper$

    I've read the ubuntu linux 6.10 does not use bash as the default shell anymore. Most linux distributions use bash as the default shell. Ubuntu 6.10 uses a shell called dash. Not sure why ubuntu would change it. So, I don't know if it has anything or not to do with the shell.
    https://launchpad.net/distros/ubuntu/+ticket/1932

  • SQL developer wont start on Mac OSX Lion

    Hi there,
    hoping someone can help me with this one, I've been running SQL Developer 3 on the macbook no problems for about a year, I recently upgraded to Mac OSX Lion and now when I try to start SQL Developer it will not run.
    I have downloaded and installed the latest version of java as directed on the SQL Developer download page.
    When I start SQL developer and view the Activity Monitor the "bash" process starts to use 100% CPU very quickly and SQL developer does not even get to the splash screen.
    Can anyone point me in the right direction in terms of diagnosing this issue? Is there a log file I can review or way of starting SQL developer with specific arguments?
    Kind regards,
    stu

    Irian wrote:
    Usually the SetJavaHome points to the root directory for the JVM installation, this directory in your case appears to be
    /Library/Java/JavaVirtualMachines/1.6.0_26-b03-383.jdk/Contents/Home
    so try setting this in the SetJavaHome command for your SQL Developer (the bin folder will be added internally)
    I'm not completely sure as i do not use macs, but it's worth a try.
    Just had this same problem with Mountain Lion/SQL Developer 3.2.2, right after my upgrade to Mountain Lion. The path shown in Irian's response is what did the trick for me. The /System/Library/.... path shown by some others doesn't even exist on my machine. Interesting....
    Earl

  • SQL statements wont work

    i have a program that conects to a database
    any statements i send it work fine unless they try to retrieve multiple tables - hes my code
    Database store = new Database();
    Connection database = store.getConnection();
    if(store.getErrorLog() == null){
           Statement sql = database.createStatement();
           ResultSet records = sql.executeQuery(search);
           getTable(records);
    }else{
           System.out.println(store.getErrorLog());
    }(the database class just returns a connection to the database)
    the problem is with the line:
    ResultSet records = sql.executeQuery(search);
    it sends back null
    can anyone see why? (the search statement is a string representing the sql search)
    The search (sql Query) definatly works - ive tested it dirctly with the database, so the problem must be in java
    And the records do exist in the database
    Please help, i have no ideas with this, thanks

    ok, now im really confused; the stack trace has changed
    java.lang.NullPointerException
         at java.awt.Container.addImpl(Unknown Source)
         at java.awt.Container.add(Unknown Source)
         at guiComponents.Browse.initGUI(Browse.java:208)
         at guiComponents.Browse.<init>(Browse.java:62)
         at guiComponents.MainScreen.initGUI(MainScreen.java:107)
         at guiComponents.MainScreen.<init>(MainScreen.java:47)
         at guiComponents.MainScreen.main(MainScreen.java:41)
    the method prepares a JTable and now the stacktrace is pointing to the center.add(table); part
    All the method does is turn the resultSet into a JTable and return it (and it works with the rest of the program)
    ok, it might help if i give you the whole method.. here it is
         private JTable getTable(ResultSet rs){
              try{
            //TableModel definition
                JTable aTable = new JTable();
                DefaultTableModel aModel = (DefaultTableModel) aTable.getModel();
                //Num of Cols
               ResultSetMetaData resultMeta = rs.getMetaData();
               int numOfCols = resultMeta.getColumnCount();
                //Set Column Titles
                String[] colNames = new String[numOfCols];
                for(int i = 0; i < colNames.length; i++){
                     colNames[i] = resultMeta.getColumnName(i+1);
                aModel.setColumnIdentifiers(colNames);
                //Loop through the ResultSet and transfer in the Model
                java.sql.ResultSetMetaData rsmd = rs.getMetaData();
                int colNo = rsmd.getColumnCount();
                while(rs.next()){
                     Object[] objects = new Object[colNo];
                     for(int i=0;i<colNo;i++){
                               objects=rs.getObject(i+1);
                   aModel.addRow(objects);
         aTable.setModel(aModel);      
         return aTable;
    }catch(Exception e){
         //Error
         e.printStackTrace();
         return null;

  • Torch 9800 my email wont work via wifi

    I have just sync my new torch from my old bold. All info transfered perfectly including my 2 email accounts.
    I have the misfortune of living in a 2G only area on remote Island. SMS, phone calls and wifi only. I had my old Bold working through wifi hot spots onto my gmail account and it was sending and receiving emails just fine but the torch just keeps saying 'activation failed. A service connection is unavailable' each time I try to activate the account.
    Seems as though it wont work through wifi, i can surf the net with no problems 
    Any Ideas?  
    Solved!
    Go to Solution.

    Turn off the WiFi connection, and go to an area where you have a clear 2G connection (EDGE) and do the following:
    On your BlackBerry device, go to:
    1. Options > Advanced > Host Routing Table > Menu > Register.
    2. Resend your service books from your carrier BIS site:
    From your handheld device:   http://www.blackberry.com/btsc/KB15402
    Go to the Personal Email Set Up icon and log in. Then under Help!, select Service Books, then select Send service Books.
    From your desktop PC:  http://www.blackberry.com/btsc/KB02830
    North American Carriers - scroll down to select your carrier
    WorldWide Carriers - Find your carrier on the list
    3. With the BlackBerry device powered ON, remove the battery a few seconds and then reinsert the battery to reboot. This reboot, even if you have already done this, is often needed to install the service books.
    Then, this should install the required Service Books to the Torch, and you should be able to perform all data services over WiFi as you have been in the past.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Configure SQL Developer for use with SSL

    Having trouble getting this working, Can someone point me towards the necessary steps or things to check?

    Search for the other posts about "SSL" in this forum, useful info and tips there.
    Have fun,
    K.

  • SQL Developer stopped working (screenshot)

    I get this error, tried redownloading the latest version, same error. Worked perfectly fine yesterday
    http://www.postimage.org/image.php?v=aVf3HFS
    Thanks

    OK solved, since I installed the wrong version of ODAC, a new key in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE was created. I deleted it and just kept the one for 10g and it works now

Maybe you are looking for

  • Upload public website to Sharepoint Online from 3rd party software.

    This must have been asked before but I can't find it! How do I upload a website created with a third-party app (NetObjects fusion in my case) to my public website? I'm afraid that the built in designer is just not comprehensive enough. Roy

  • Report Builder 11G

    I'm having some troubles, i've finally installed the oracle forms and reports 11G on my machine and have no problem with oracle forms 11g but when i try to open the report builder i get and error. the error i get is : REP 50125: rwbuilder.conf:java.l

  • CVS PHP 5.3 on Server 10.5.2 ?

    I am having a issue that seems to be related to the built in php 5.2.5 in OSX Server 10.5.2 I get errors in the site log that says too many files are open and it can't open the stream. I would like to upgrade to CVS PHP 5.3 but I am not sure how to g

  • Palm Pre Sound System WAY TOO LOW

    Omg it worked perfectly a couple of hours ago and now is really low whenver im throwin a task or window away the little sound it makes can barelly be heard I checked on sounds & ringtones and the volume is all the way up what can be wrong with it? Po

  • Can't get rid of drive on desktop

    Ever since I installed Windows 7 using Boot Camp I have had a drive icon on my Snow Leopard desktop, which contains 2 files - AutoUnattend.xml and BootCamp3.1.64-bit.exe - and a 'drivers' folder. Should it be there? I have tried ejecting and moving t