Os authentication in sqldeveloper

Hello,
Thanks for reading this thread.
I installed oracle enterprise edition 11gR2 at home on Centos 5.4. Os authentication works fine on the sqlplus command line, but it doesn't work in sqldeveloper : "ORA-01031: insufficient privileges".
My connection property settings are the same as at work :
Connection name : sysdba
Role : SYSDBA
Connection Type : TNS
Connect identifier : orcl
Can anybody help me on this problem?
Thanks a lot and very kind regards.
Werner

Hi Robert,
Sorry for the delay. I took some holidays.
To summarize and answer your questions :
1. I logged in as "oracle :
[oracle@localhost dbs]$ id oracle
uid=500(oracle) gid=501(oinstall) groups=501(oinstall),502(dba),503(oper) context=user_u:system_r:unconfined_t
2. I installed Oracle 11gR2 on Centos 5.4 by creating a database automatically.
3. I started the listener (as root)
4. Beeing logged in as oracle, I connected successfully from the sqlplus command line as SYSDBA (using operating system authentication) and started up the database :
[oracle@localhost dbs]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 30 23:08:53 2009
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 493813760 bytes
Fixed Size 1337436 bytes
Variable Size 343934884 bytes
Database Buffers 142606336 bytes
Redo Buffers 5935104 bytes
Database mounted.
Database opened.
SQL>
5. Surprisingly, still beeing logged in as oracle, os authentication does not succeed via sqldeveloper :
My connection property settings are the same as at work :
Connection name : sysdba
Role : SYSDBA
Connection Type : TNS
Connect identifier : orcl
... and ... of course "os authentication" is checked!
At my work place, this works fine, but at home, on CentOS, I get : "ORA-01031: insufficient privileges"
6. I am doing all this beeing logged in in on the database server.
There is only an empty remote password file : $ORACLE_HOME/dbs/orapworcl
So the question is : As os authentication succeeds on the sqlplus command line, why does it fail in sqldeveloper?
Edited by: Werner Gross on Dec 31, 2009 12:22 AM

Similar Messages

  • Sqldeveloper - connection - os authentication

    PLEASE IGNORE THIS THREAD
    ==========================
    Thanks for reading my threat :
    1. I logged in as "oracle" user on the database server :
    oracle@localhost dbs$ id oracle
    uid=500(oracle) gid=501(oinstall) groups=501(oinstall),502(dba),503(oper) context=user_u:system_r:unconfined_t
    2. I installed Oracle 11gR2 on Centos 5.4 by creating a database automatically.
    3. I started the listener (as root)
    4. Beeing logged in as "oracle" on the same database server, I connected successfully from the sqlplus command line as SYSDBA (using operating system authentication) and started up the database :
    oracle@localhost dbs$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 30 23:08:53 2009
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 493813760 bytes
    Fixed Size 1337436 bytes
    Variable Size 343934884 bytes
    Database Buffers 142606336 bytes
    Redo Buffers 5935104 bytes
    Database mounted.
    Database opened.
    SQL>
    5. Surprisingly, still beeing logged in as "oracle" on the same database server, os authentication does not succeed via sqldeveloper :
    My connection property settings are the same as at work :
    Connection name : sysdba
    Role : SYSDBA
    Connection Type : TNS
    Connect identifier : orcl
    ... and ... of course "os authentication" is checked!
    At my work place - on Windows - this works fine, but at home - on CentOS - I get : "ORA-01031: insufficient privileges"
    So the question is : As os authentication succeeds on the sqlplus command line, why does it fail in sqldeveloper?
    All this is happening on a fresh installation on CentOS 5.4 - I did nothing more nor less than what I told above.
    Thanks for your help.
    Edited by: Werner Gross on Jan 1, 2010 6:10 PM

    The SQL Developer forum is under the "Database" forums group SQL Developer
    Not sure how to change the positing title.

  • Kerberos Authentication on Windows 7

    I'm trying to authenticate using Kerberos Authentication. Let's say the server is oracle.mydomain.com, and the kdc is kdc.sub.mydomain.com. Now, I have one machine that is joined to the sub.mydomain.com domain, and another machine which is on a totally different domain thatdomain.com.
    Now, I use this as my krb5.ini file
    [libdefaults]
    default_realm = sub.mydomain.com
    dns_lookup_kdc = true
    dns_lookup_realm = true
    [realms]
    sub.mydomain.com = {
    default_domain = sub.mydomain.com
    kdc = kdc.sub.mydomain.com
    and on the machine that is joined to the sub domain, it connects. If I use the same file for the other machine, I get "Status : Failure - Test failed: Peek timed out". Now I tried kinit on that machine "kinit testacct" and it properly gives me "Enter password for [email protected]" to which I enter the password and it gives me "New ticket is stored in cache file C:\Users\testacct\krb5cc_testacct", so that seems to be working, I just don't know why the SQL developer doesn't. Any ideas? Does the machine have to be joined to the domain in order to work with kerberos? FYI I have tried and I can ping the servers and telnet to the oracle server port, so it doesn't seem like a network issue...?
    The machine that is connecting is on the same subnet and uses the same DNS servers, it is just joined to a different domain.
    Edited by: 850630 on Apr 14, 2011 5:38 AM
    Edited by: 850630 on Apr 14, 2011 5:39 AM

    Hi ElementZero,
    I would still try to get thick kerberos working with for example sqlplus before you try thin.
    To help rule out kerberos version incompatibilities and configuration issues.
    For your information: my oracle krb5.conf set in database advanced properties was:
    [libdefaults]
    default_realm = example.COM
    [realms]
    US.ORACLE.COM = {
    kdc = KERBEROS_SERVER.example.com
    default_domain = example.com
    admin_server = KERBEROS_SERVER.example.com
    [domain_realm]
    .us.oracle.com = EXAMPLE.COM
    us.oracle.com = EXAMPLE.COM
    .ie.oracle.com = EXAMPLE.COM
    ie.oracle.com = EXAMPLE.COM
    If you set the kerberos cache entry in database advanced preferences to an new file you will have
    to enter a new password in sqldeveloper.
    Turloch
    -SQLDeveloper Team

  • EUS password authentication in sql developer failing with username/password

    We have recently changed to use Enterprise User Security (EUS) for our client authentication (password global authentication).
    This is working fine but we are encountering an issue with SQL Developer whereby we can't logon using our EUS details, it simply returns the following on the logon screen:
    Status : Failure - Test failed: ORA-01017: invalid username/password; logon denied
    Logging on via sql plus client and server software and other 3rd party tools like pl/sql developer works correctly.
    It appears to be an issue with sql developer itself.
    We are using the latest Production release of sql developer 2.1
    Does anyone have any ideas?
    This is an issue for
    Edited by: david butler on Jan 14, 2010 10:45 AM

    Further to this, I have now found a suitable resolution to this that doesn't require an external client.
    There is a jdbc setting that will allow you to use EUS password authentication.
    Add the jdbc line option (below) in the sqldeveloper.conf file (backup the sqldeveloper.conf file first).
    AddVMOption -Doracle.jdbc.thinLogonCapability=o3
    The sqldeveloper.conf file can be found wherever you have installed sqldeveloper, under <INSTALL_HOME>\sqldeveloper\bin\sqldeveloper.conf.
    After you add this option, restart SQL Developer and you should be able to use your EUS username / password to authenticate via SQL Developer.

  • Unable to connect through sqldeveloper vendor error code 17002

    I am using sqldeveloper on windows 7 . The sql developer version is given below
    Java(TM) Platform     1.6.0_23
    Oracle IDE     2.1.1.64.45
    Versioning Support     2.1.1.64.45
    I am getting this error while connecting to the db.
    IO exception: The Network Adaptor couldnt establish the connection.
    Vendor code: 17002
    I am able to connect the db through the command prompt.
    Listener status
    C:\Users\Dev D>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 19-DEC-2010 12:43:52
    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 - Production
    Start Date 19-DEC-2010 12:26:31
    Uptime 0 days 0 hr. 17 min. 21 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\admin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DevD-PC)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    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...
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    tnsping
    C:\Users\Dev D>tnsping xe
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 19-DEC-2010 12:49:39
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = DevD-PC)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
    OK (14000 msec)
    tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = DevD-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = DevD-PC)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    Could someone help me what am i missing here

    Hi Deepak,
    How did you find that out?
    I'm havng the same problem, unable to connect via sqldev but command prompt is okay.
    Checked everything I can possibly check and I really dont know what to do

  • SQLDeveloper can't generate an explain-plan when using "cube"

    If I want to create an explain-plan from the following statement, I get no explain-plan:
    SELECT 1
    FROM   dual
    GROUP BY CUBE( 2, 2, 2, 2, 2, 2, 2, 2, 2 )If I now want to create an explain-plan again, I get the following message (and still no explain-plan):
    http://i.imgur.com/mGO6Z.jpg
    I tried this a few times and of course with a fresh db-session where i didn't run any statements before.
    I get this with:
    SQLDeveloper Version 3.0.04 Build MAIN-04.34 (i.e. production)
    DB 9.2.0.1.0
    Oracle Instant Client 11.1.0.6.0
    In Toad this works btw.
    (Of course it makes no sense to run it on this statement, we encountered this problem with a really big SQL-statement where "cube" was used in an inline-view. SQLDeveloper then wasn't able to generate an explain-plan for the whole-statement)
    Regards
    Markus

    that is correct.  I wanted to keep the login page redirect inside my class method so that I could do the check every time someone came to pages that require authentication. I wanted it in the LoadState method so I can do a check there, redirect
    them to login page or just get a cookie and then pass that cookie to page to build the UI for the page
    I can do what you are suggesting and have actually tried it but then I have to track which page to take the user to after they log in...
    I have multiple clicks in the appbar  and pages from where the user can come to these authentication-bound pages..
    Suggestions?
    Also, what am I doing wrong in my class method that it doesn't navigate to the login page in the LoadState method?
    Thanks 
    mujno

  • Can't create new db connection on sqldeveloper 2.1

    Hi,
    I'm using Fedora 10 32 bit and JDK 1.6.0_16. Installed sqldeveloper via rpm. When I try ko create a new connection nothing happens... here's the exception...
    Exception while performing action New Connection
    java.lang.NoSuchMethodError: oracle.dbtools.raptor.explorer.dt.dialog.ConnectionDialogArb.getString(I)Ljava/lang/String;
         at oracle.dbtools.raptor.connections.LDAPConnectionPanel.jbInit(LDAPConnectionPanel.java:81)
         at oracle.dbtools.raptor.connections.LDAPConnectionPanel.<init>(LDAPConnectionPanel.java:69)
         at oracle.dbtools.raptor.connections.OracleConnectionPanel.<init>(OracleConnectionPanel.java:86)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at oracle.dbtools.raptor.connections.ConnectionTypeRegistry.getPanelFor(ConnectionTypeRegistry.java:28)
         at oracle.dbtools.raptor.connections.ConnectionDialog.<init>(ConnectionDialog.java:191)
         at oracle.dbtools.raptor.connections.ConnectionDialog.launch(ConnectionDialog.java:638)
         at oracle.dbtools.raptor.connections.ConnectionDialog.launch(ConnectionDialog.java:516)
         at oracle.dbtools.raptor.explorer.jdev.ConnectionEditorImpl.launchEditor(ConnectionEditorImpl.java:13)
         at oracle.jdeveloper.db.DatabaseConnectionEditor.launchEditor(DatabaseConnectionEditor.java:80)
         at oracle.jdeveloper.db.DatabaseConnectionEditor.editConnection(DatabaseConnectionEditor.java:220)
         at oracle.jdeveloper.db.DatabaseConnectionEditor.editConnection(DatabaseConnectionEditor.java:203)
         at oracle.dbtools.raptor.navigator.DatabaseNavigatorController.createNewConnection(DatabaseNavigatorController.java:815)
         at oracle.dbtools.raptor.navigator.DatabaseNavigatorController.handleEvent(DatabaseNavigatorController.java:269)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:531)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:886)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:503)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
         at java.awt.Component.processMouseEvent(Component.java:6263)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6028)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4630)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2475)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Edited by: Alain Gonzaga on Jan 4, 2010 9:15 PM

    By any chance is the Planning application user from an external authentication provider, that is MSAD or LDAP? If it is, there is a problem in Planning when a user changes its DN (Distinguished Name) if that is the Identity Attribute you are using for you external provider. There are something you can do to fix this, such as running the UpdateUsers.cmd in the /Hyperion/HyperionPlanning/Utils folder, this utility will find your existing planning users and see if they have undergone any changes, and update them with the correct DN. Just be careful using this utility, because if a user has been disabled or deleted from you external authentication provider, it will also be removed from you Planning application.
    One thing you can do is go in the HSP_USERS table of you planning application and check the SID value you user app owner has. Check its value with your MSAD or LDAP administrator to validate if the value is correct or not. If incorrect you wont be able to login to you planning app until this is fixed, either by running the updateusers.cmd or by editing the SID value directly on the table.
    Workspace doesn't present this problem with external authentication providers, it automatically detects the new DN or identity attribute of you user each time you login it.

  • SQL Developer SVN Authentication Loop

    Hi All,
    I am using SQLDeveloper 1.5.1 and I have been excited for the SVN functionality since SQLDeveloper was released.
    When I connect to my svn repository, if I test the read access - the authentication prompt for the password just keeps popping up - despite putting in the correct password.
    In the past I have used Tortoise w/o any issues like this, however now I am responsible for implementing source control across the team at large. I would much prefer that the team use SQLDeveloper and SVN inline rather than any alternative.
    Despite the correct information - if I forget the test and just try to check out my repository - the same behavior occurs, however when I cancel the password prompt - i receive this stacktrace in my details:
    org.tigris.subversion.svnclientadapter.SVNClientException: org.tigris.subversion.javahl.ClientException: svn: authentication cancelled
         at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.checkout(AbstractJhlClientAdapter.java:233)
         at oracle.jdevimpl.vcs.svn.op.SVNOperationCheckout$CheckoutThread.executeCheckout(SVNOperationCheckout.java:541)
         at oracle.jdevimpl.vcs.svn.op.SVNOperationCheckout$CheckoutThread.executeCheckoutWithProgress(SVNOperationCheckout.java:496)
         at oracle.jdevimpl.vcs.svn.op.SVNOperationCheckout$CheckoutThread.run(SVNOperationCheckout.java:346)
    Caused by: org.tigris.subversion.javahl.ClientException: svn: authentication cancelled
         at org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:435)
         at org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1311)
         at org.tmatesoft.svn.core.javahl.SVNClientImpl.checkout(SVNClientImpl.java:363)
         at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.checkout(AbstractJhlClientAdapter.java:224)
         ... 3 more
    Caused by: org.tmatesoft.svn.core.SVNCancelException: svn: authentication cancelled
         at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
         at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:40)
         at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingProperties(DAVUtil.java:124)
         at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getBaselineProperties(DAVUtil.java:197)
         at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getBaselineInfo(DAVUtil.java:160)
         at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:150)
         at org.tmatesoft.svn.core.wc.SVNBasicClient.getRevisionNumber(SVNBasicClient.java:348)
         at org.tmatesoft.svn.core.wc.SVNBasicClient.getLocations(SVNBasicClient.java:462)
         at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:418)
         at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:382)
         at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:305)
         at org.tmatesoft.svn.core.javahl.SVNClientImpl.checkout(SVNClientImpl.java:360)
         ... 4 more
    It just reports an error on cancel so I don't know if that helps.
    But I need help, much obliged.
    Thanks,
    ~tim

    Hey Dedwards,
    I sat down with our release engineer and chased the logs - in the apache dump - same kind of stuff.
    However - after changing my password, and then killing TSVNCache.exe (despite both SQLDev and Tortoise not running) I was able to connect.
    Hope this helps others, thanks for the response.
    ~tim

  • Sqldeveloper & External Users

    According to http://htmldb.oracle.com/pls/otn/f?p=42626:39:2768468353797662::NO::P39_ID:5341, I was assuming that Radius authentication for users identified externally would work with Sqldeveloper 1.5
    It seems to me that external authentication setup on the server should be transparent for any application that connects to Oracle, but apparently not.
    I have radius authentication working on the server, I can use 'sqlplus user/pass@DBNAME' to connect to the database via radius authentication (Oracle Advanced Security)
    But I am unable to use any accounts I created as 'externally' to connect to the database using sqldeveloper or enterprise manager.
    Does anybody have any sugggestions on getting this working?

    How are you defining your connection in SQLDeveloper? You probably need to use the OCI driver to advanced security. Look at Tools -> Preferences -> Database -> Advanced Parameters, and check Use OCI/Thick driver.

  • Os authentication broken in 1.5.3  build 5783

    Hi,
    I have been happily using SQLDeveloper for quite some time. (Since 2006 on at least 5 different client/customer sites)
    The latest release has broken the os authentication connection method. ( and this client/customer really prefers them)
    The error is Failure - Test failed: invalid argument in call.
    I have tried using TNS and basic and LDAP connection drivers. Some test ok but when actually connecting prompt for a username/password.
    is there a workaround for this problem?
    Thanks in advance
    Mike

    The penny has dropped :)
    You meant ...
    Please choose the menu option : Tools ---> Preferences
    then expand the database preferences to show the advanced options
    and check the box marked "Use OCI/Thick driver"
    restart and retry the connection test.
    Thanks again Sue for the tip and also the article showing the whole array on connection methods
    http://www.oracle.com/technology/oramag/oracle/08-may/o38sql.html
    Cheers
    Mike
    Edited by: MDuffy on Feb 17, 2009 5:27 PM

  • OS Authentication Connection Errors

    I installed SQL Developer 1.5.1 and Java 6 last week. I setup some database connections using login/password and others using OS Authentication. Everything was working great. Overnight some automatic updates were pushed out to the machine. The next day, when trying to use SQL Developer all of the connections using OS Authentication were failing. If I try to open one of the OS Authentication connections, the application closes abruptly. The username/password connections are still working fine.
    I suspect it might be a Java issue. In the sqldeveloper/bin directory I get a log file each time the application crashes. Some highlights from the log file:
    "An unexpected error has been detected by Java Runtime Environment:
    EXCEPTION_ACCESS_VIOLATION (oxc0000005) at pc=0x61d3e2a0, pid=3144, tid=960"
    Some thread information follows, concluding with:
    "compacting perm gen total 42752K, 99% used
    No shared spaces configured"
    Looking at the Environment Variables in the log, everything appears to still be pointing correctly to the Java jdk1.6 directory.
    Has anybody else encountered this? Any suggestions would be appreciated!
    Thanks,
    Matt

    Problem resolved.
    I reinstalled the Oracle 11g client. At that point I started getting 'No ocijdbc10 in java.library.path'.
    I had to add various jar files to my classpath to resolve that issue, which I found here:
    no ocijdbc10 in java.library.path
    Then I started getting 'ocijdbc11.dll could not find dependent libraries'. In order to resolve that I had to add ORACLE_HOME/bin to my PATH.
    I'm not sure what changed that made all of this necessary, but everything is working fine again.
    Edited by: mattph on Jul 7, 2009 10:51 AM

  • Having trouble creating new connection in SQLDeveloper

    When I try to create a new connection in SQLDeveloper, I get the following message:
    Status : Failure -Test failed: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The username and password are the same as the ones I use to connect to sqlplus, right? I am a complete newb to sql, so I would really appreciate if someone could provide a step-by-step solution.

    C:\Users\Admin>lsnrctl
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 26-APR-2013 21:00
    :01
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Welcome to LSNRCTL, type "help" for information.
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 26-APR-2013 17:55:47
    Uptime 0 days 3 hr. 4 min. 19 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\app\Admin\product\11.2.0\dbhome_2\network\admin\lis
    tener.ora
    Listener Log File c:\app\admin\diag\tnslsnr\Admin-PC\listener\alert\log.
    xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Admin-PC)(PORT=1522)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl.gateway.2wire.net" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.gateway.2wire.net" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL> service
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "orcl.gateway.2wire.net" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "orclXDB.gateway.2wire.net" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: ADMIN-PC, pid: 4496>
    (ADDRESS=(PROTOCOL=tcp)(HOST=Admin-PC)(PORT=49224))
    The command completed successfully
    LSNRCTL>

  • Sqldeveloper and jdeveloper cannot connect to xe service

    I just installed xe on my pc.  I can get into sqlplus create users, tables data etc.  Everything seems to work.  I can also run lsnrctl and everything seems to be ok.  I can also do a tnsping and get a positive response.  sqldeveloper and jdeveloper both get errors when I try and connect.
    I used to get an error indicating that the listener did not know about the XE service or sid (tried it both ways).  I changed the node names that were in the listener.ora file to localhost and the error changed to a 17002.  I am now getting the original 12514.  listener does not know the service in the connect descriptor.  How do I fix this?  It has not worked since I installed it.
    Thanks,
    Russell

    I have tried using sqldeveloper and defining a connection.  I have also tried defining a connection in jdeveloper and that fails in the same way.  I have also tried using sqlplus user/pass@XE and that fails the same way.  The tnsnames.ora, listener.ora are all in the default location.  ...server\network\ADMIN.
    lsnrctl returns the following:
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
    ction
    Start Date                14-NOV-2013 20:47:51
    Uptime                    0 days 10 hr. 40 min. 51 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Default Service           XE
    Listener Parameter File   C:\oraclexe\app\oracle\product\11.2.0\server\network\a
    dmin\listener.ora
    Listener Log File         C:\oraclexe\app\oracle\diag\tnslsnr\MURRAYR1\listener\
    alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
      (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 "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    My listener.log file has lots of stuff in it here is an example:
    15-NOV-2013 07:08:56 * ping * 0
    Fri Nov 15 07:09:12 2013
    15-NOV-2013 07:09:12 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=XE)(CID=(PROGRAM=C:\oraclexe\app\oracle\product\11.2.0\server\bin\sqlplus.exe)(HOST=MURRAYR1)(USER=MurrayR))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=52738)) * establish * XE * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    Fri Nov 15 07:10:00 2013
    15-NOV-2013 07:10:00 * (CONNECT_DATA=(CID=(PROGRAM=null)(HOST=__jdbc__)(USER=null))(SERVICE_NAME=XE)(CID=(PROGRAM=null)(HOST=__jdbc__)(USER=null))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=52741)) * establish * XE * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    15-NOV-2013 07:10:00 * (CONNECT_DATA=(CID=(PROGRAM=null)(HOST=__jdbc__)(USER=null))(SERVICE_NAME=XE)(CID=(PROGRAM=null)(HOST=__jdbc__)(USER=null))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=52742)) * establish * XE * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    Fri Nov 15 07:11:50 2013
    15-NOV-2013 07:11:50 * (CONNECT_DATA=(CID=(PROGRAM=SQL Developer)(HOST=__jdbc__)(USER=MurrayR))(SERVICE_NAME=XE)(CID=(PROGRAM=null)(HOST=__jdbc__)(USER=null))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=52749)) * establish * XE * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    Fri Nov 15 07:12:06 2013
    15-NOV-2013 07:12:06 * (CONNECT_DATA=(CID=(PROGRAM=SQL Developer)(HOST=__jdbc__)(USER=MurrayR))(SERVICE_NAME=XE)(CID=(PROGRAM=null)(HOST=__jdbc__)(USER=null))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=52752)) * establish * XE * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    Fri Nov 15 07:28:40 2013
    15-NOV-2013 07:28:40 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=MurrayR))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186647040)) * status * 0
    Thanks for any help.
    Russell

  • 3.1EA1: proxy client used allows only BASIC authentication

    The proxy client used only use BASIC authentication. The problem the proxy we're using uses NTLM authentication, and the user/password are the domain user/password, thereby very dangerous to send using a non-secure authentication mode as BASIC (a simple base64 enconding of user and password...)
    Edited by: user8381214 on Oct 21, 2011 3:52 AM

    Hi user8381214 ,
    Can you give me more details?
    Note that there are two main types of proxy connection:
    1/username1[username2]/password
    and
    2/username1/password with proxyClient username2/password
    Which one is affected?
    -Turloch
    SQLDeveloper team
    If you would prefer this to be off the forum my email address is:
    turloch<dot>otierney<AT>oracle.com

  • Sqldeveloper: ORA-12514, TNS:listener does not currently know of service re

    Hello everybody.
    I want to connect with Sqldeveloper and I have the error :
    ORA-12514, TNS:listener does not currently know of service re
    But with SQL*PLUS, I connect correctly.
    I have Windows Vista.
    My tsnames.ora is
    # tnsnames.ora Network Configuration File: C:\app\HP_Propietario\product\11.2.0\dbhome_3\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_ORCL =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.10)(PORT = 1521))
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.10)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = orcl)
         (INSTANCE_NAME = orcl)
    PRUEBA =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.10)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = PRUEBA)
    My listener.ora
    # listener.ora Network Configuration File: C:\app\HP_Propietario\product\11.2.0\dbhome_3\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\HP_Propietario\product\11.2.0\dbhome_3)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\HP_Propietario\product\11.2.0\dbhome_3\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.10)(PORT = 1521))
    ADR_BASE_LISTENER = C:\app\HP_Propietario
    I write the host 10.10.10.10 because I have installed a loopback adapter with address 10.10.10.10
    The information in SQLDeveloper is:
    Conection Type: BASIC
    Host Name: 10.10.10.10 (address of loopback adapter in file of windows hosts)
    Port 1521
    Service Name : orcl
    Could somebody help me?
    Thanks in advance
    Carlota Viña Sirgo

    user3096536 wrote:
    Hello,
    I send more information:
    SQL> select value from v$parameter where name='service_names'
    2 ;
    VALUE
    orcl
    SQL> show parameter listener;
    NAME TYPE VALUE
    listener_networks string
    local_listener string LISTENER_ORCL
    remote_listener string
    SQL>
    SQL> select instance_name, status, database_status from v$instance;
    INSTANCE_NAME STATUS DATABASE_STATUS
    orcl OPEN ACTIVE
    LSNRCTL> status
    Conectßndose a (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    ESTADO del LISTENER
    Alias LISTENER
    Versi¾n TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Fecha de Inicio 22-MAY-2013 07:01:44
    Tiempo Actividad 0 dÝas 4 hr. 45 min. 39 seg.
    Nivel de Rastreo off
    Seguridad ON: Local OS Authentication
    SNMP OFF
    Parßmetros del Listener C:\app\HP_Propietario\product\11.2.0\dbhome_3\NETWORK\
    ADMIN\listener.ora
    Log del Listener c:\app\hp_propietario\diag\tnslsnr\carlota\listener\al
    ert\log.xml
    Recibiendo Resumen de Puntos Finales...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1521)))
    Resumen de Servicios...
    El servicio "CLRExtProc" tiene 1 instancia(s).
    La instancia "CLRExtProc", con estado UNKNOWN, tiene 1 manejador(es) para este
    servicio...
    El comando ha terminado correctamente ok
    LSNRCTL>
    LSNRCTL> services
    Conectßndose a (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    Resumen de Servicios...
    El servicio "CLRExtProc" tiene 1 instancia(s).
    La instancia "CLRExtProc", con estado UNKNOWN, tiene 1 manejador(es) para este
    servicio...
    Manejador(es):
    "DEDICATED" establecido:5 rechazado:0
    LOCAL SERVER
    El comando ha terminado correctamente
    LSNRCTL>
    C:\app\HP_Propietario\product\11.2.0\dbhome_3\BIN>tnsping orcl
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 22-MAY-2
    013 11:49:07
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Archivos de parßmetros utilizados:
    C:\app\HP_Propietario\product\11.2.0\dbhome_3\NETWORK\ADMIN\sqlnet.ora
    Adaptador TNSNAMES utilizado para resolver el alias
    Intentando contactar con (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10
    .10.10)(PORT = 1521)) (CONNECT_DATA = (SERVER = SHARED) (SERVICE_NAME = orcl) (I
    NSTANCE_NAME = orcl)))
    Realizado correctamente (290 mseg) ok
    C:\app\HP_Propietario\product\11.2.0\dbhome_3\BIN>
    Thanks in advance
    Carlota Viña SirgoYour marked the thread as 'answered', yet this post looks like additional information seeking additional help.
    see: [url http://edstevensdba.wordpress.com/2011/03/19/ora-12514/] ora-12514 Listener does not know of requested service 

Maybe you are looking for

  • Find files on Time Machine that weren't in the "Latest Backup"?

    I restored my new Mac with the "Latest Backup" of Time Machine. I now understand that I will have to erase the whole backup harddrive in order to continue using Time Machine (I cannot get it to do incremental backups with my new computer from where I

  • Problem in viewing the source code of a package using all_source

    I have created a package and compiled it in schema1.I have created public synonym of the package.Now I am logged in some ohter schema say schema2. If I am using TOAD, I can see the body of the package from schma2 but if I am using sqlplus and using a

  • Sending data to excel

    What is the best way to send Time vs Temp data from a thermocouple measurement to excel?  I have included my set-up if that will help.  Thanks in advance for your help and advice. Kenny Attachments: Final-Thermocouple2.vi ‏87 KB

  • Work order operation

    how to find out action log for operation line item changes in work order. ( ex Deletion / changes ) Thanks in advance S.Naresh

  • Photoshop CC 2014 saves corrupted jpeg files!

    I just cant understand this??? Photoshop CC 2014 saves corrupted jpeg files and some other file formats. PSD and PNG works. I have try with the latest iMac and the latest Mac Book Pro, both with Mavericks and Yosemite. Im saving to their internal har