SQL Developer CLI honor named connections in SQL dev

While trying to run SQLDEV CLI, I get the error during command line call. Here's what I did-

(1) created a unit test in SQl Developer

(2) verified that it works correctly

(3) open the command prompt and went to SQLdeveloper/sqldeveloper/bin dir.

(4) called-> unittest sdcli64.exe - run - test - name "AWARD_BONUS_TEST" - repo UT_REPO - db HUB28. (name of the connection, the name of repo are same with SQL Developer)

obtained after error-

Oracle.jdeveloper.db.ConnectionException SEVERE: cannot connect to the HUB28 database. encountered error is: invalid connection information specified.

Check the URL format for the specified driver.

oracle.jdeveloper.db.DatabaseConnections.getUniqueConnection(DatabaseConnections.java:677)

SEVERE empty - java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207)

Unable to run the test.

Environment-

Developer SQL 4.0 ai2

Windows 7, 64 bit.

Java (build 1.7.0_40 - b43) 64-bit

Jeff Smith Sqldev Pm-Oracle Gary Graham-Oracle , I was able to run tests using SDCLI, well, there is opposition Repository connection and target DB were setup in SQLDEV using connections based TNS, SQCLI has managed to connect repository but never target DB, once I changed the target DB for a named connection (providing Server, SID) it starts to work properly. Cross, I checked all the documents, but could not find any reason for this behavior. He can see that works similarly to the 3.1, 3.2, 4.0 EA1, 4.0 ai2 can you confirm that it is intended?

Tags: Database

Similar Questions

  • SQL Developer to MaxApex database connection

    Did he ever anyone else here use MaxApex?  I'm trying to implement the SQL Developer and toad to connect directly to our MaxApex database and I'm getting a ' ORA-12541: listener TNS:no "error.

    MaxApex gave me my login information, and they think that maybe it's my firewall is blocking the connection.  I opened the access to the port 1521 the firewall, but it did not help.

    Is anyone else here could connect SQLDeveloper or Toad to their MaxApex database?  Any tips?

    Version of the APEX: 5.0.2.00.07 database: Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64 bit Production

    Host: MaxApex (dedicated DB) browser: Google Chrome Version 47.0.2526.106 m

    Themes: "Scarlet - 21" and ""Topaz"- 4" favorite comedian: Norm McDonald ".

  • ADDM report is not produced by SQL DEV if connected 4.0 user is not SYSDBA privilege

    Hello-

    SQLDEV 4.0 (early adapter), I logged in as a user with SYSDBA privileges. But ADVICE given and run DBMS_ADDM granted and "select any dictionary" granted, etc..

    Then I go in the menu view-> DBA--> Performance-> automatic database diagnostic monitor

    Select report ADDM in the choices available.

    Off the menu 3 options: summary, results and report ADDM, I can see the first two, but I get a grey screen for report ADDM.

    ^^^^^^^^^^^^^^^^^^^^^

    If I do exactly the same thing but connection as SYSDBA, ADDM report can be produced and can be seen. So, the question is the lack of subsidies and privileges.

    ^^^^^^^^^^^^^^^^^^^^^^

    The goal we are pursuing in our shop is to give developers to work with reports of the ADDM by connect non-SYSDBA user.

    ^^^^^^^^^^^^^^^^^^^^^^^^

    Please tell us what privilege must be granted to get this working for a non-SYSDBA connection

    The same user can successfully run $ORACLE_HOME/rdbms/admin/addmrpt.sql and produce files with ADDM full report. But not able to get the ADDM of SQL DEV 4.0

    Thank you

    VR

    Hi RV,.

    The security model for the DBMS_ADVISOR package means that a database user can only generate reports for ADDM tasks created by this user. To create a task SQLDev ADDM, invoke the action "Performance / automatic database Diagnostic monitor-> run ADDM. Once this is done, you should be able to generate and view report 'ADDM' for the new task.

    In order to accomplish the above, you should probably add the following privileges to your user name: -.

    Executer run on dbms_workload_repository, Advisor, select any dictionary and select_catalog_role

    I hope this helps.

    Best regards

    Phil Richens.

    SQLDev development team.

  • SQL dev to connect via odbc to non-oracle db

    Question asked to me regarding the use of sql dev to connect to a Turbo Image databsae running on a HP-3000 through odbc.  They have odbc drivers, but the front-end client is no longer supported and are looking for an alternative.  I've never used Dev of SQL to connect to a non-oracle database, but it seems as it should, maybe with the OTG for odbc.

    Ideas?

    We are a java application. Yes JDBC.

    And we offer only 3rd connectivity to help migration of Oracle. Currently we do not support Turbo-Image of database migration to Oracle.

    There are however several ODBC database generic tools out there.

  • Is there any sample sql dev 4 extensions available yet?

    I just ask the questions first if you do not need to try and find them below. The purpose is explained to half way down.

    Using Jdev 12.1.2 Sql Dev 4.0.2.15.21 and the last Extension SDK

    1. are there available from Oracle Sql Developer 4 sample extensions and the new framework?

    2. ALL the documentation is available on the 'specific to sql dev' ID used for menu and other UI elements?

    3. is there a CURRENT version of the extension.xsd file available?

    Here is the link to an article more than two years, by Jeff Smith, titled "how to create an Extension set of Java".

    https://wikis.Oracle.com/display/oraclesqldeveloper/how+to+create+a+Java+defined+extension

    That was useful as other examples of extension provided.

    The menu structure and IDs for Sql Developer are different from that of the JDeveloper. If some documents (list?) or the programmatic method was necessary to get the ID to use for working with menus.

    The old framework and Sql Dev samples and my own extension used "db_nav" and I was able to get the JDev FirstSample of the ESDK extension to Sql Dev 4. But I don't know any place that even what an 'id' is actually documented.

    The extension.xsd file deployed with JDeveloper and Sql Developer seems to be an older version of what is required in JDeveloper. The "menuType" says that the first element may be a 'label' but JDeveloper gives an error saying that it expects a section element.

    < name XS: complexType "menuType" = >

    < xs:complexContent >

    < xs:extension base = "identifiableType" >

    < xs: Sequence minOccurs = "0" >

    < xs: element name = "label" type = "i18n_string" minOccurs = '0 '.

    maxOccurs = "1" >

    < xs: annotation >

    < intention > the label for the menu. < / intention >

    < / xs: annotation >

    < / xs: element >

    I have reviewed all the last JDeveloper samples in the SDK of Extension for the new extension OSGI framework.

    The goal is to migrate my Sql Dev 3 extension to the new framework. Basically, it adds a submenu and items when you right-click on any item in the database (for example, the DEPT table)

    (1) adding multiple, and/or on several levels, items to a context menu

    (2) the types of node specific filtering / acknowledging

    (3) the execution of the custom actions for new context menu items

    Assuming that this tree in the DB browser

    IDE connections

    Scott-Dev

    Tables

    Dept

    . . .

    Table

    Column

    Forced to
    . . .

    The goal is to add additional menu items to ONLY the lowest level (the show of the elements of FirstSample everywhere).

    Therefore, for a given, for example, table Dept, add Custom1, Custom2, or CustomSubMenu... which then Custom1 and Custom2 submenu items.

    Dept

    . . .

    Table

    Column

    Forced to
    . . .

    CUSTOM1

    CUSTOM2

    CustomSubMenu

    CustomSub1

    CustomSub2

    In the old framework, it has been easy. You need just a hook in the extension.xml file listener

    <>hooks

    "< jdeveloper-crochet xmlns ="http://xmlns.oracle.com/jdeveloper/1013/extension">."

    < context-menu-listeners >

    < site idref = "db_nav" >

    com.any.myContextMenuListener <-listener class >

    < / listener class >

    < / site >

    < / context-menu-listeners >

    < / jdeveloper-crochet >

    . . .

    This class of earphone set in place ContextMenuListener and the controller.

    1. menuWillShow method - build the menu several levels using Java code and add it to the "contextMenu" using the parameter passed. You set the actions and add IdeAction items to the menu. By getting the selection and tests for a ' instanceof ObjectNode (an element datababase) could I do NOT add to the menu unless the user has clicked in a suitable place in the nav tree.

    2. method handleEvent - use "action.getCommandId" to find out who stocks (menus) the user has clicked and shipped to the appropriate code

    Does anyone know any examples of the use of the new framework of the extension to do a similar thing?

    The new mix of actions, controllers, auditors, etc. is quite confused and many examples ESDK use a common extension.xml file that has a bit of everything in it.

    I was also unable to find samples of freeware/shareware extension for the new framework to use as a template.

    The ultimate goal of actually being able to use Sql Developer as a platform target in JDeveloper is on hold because it now uses version 12.1.3 the JDeveloper which has not yet been made public.

    Links to examples would be appreciated.

    Thank you.  I think you have some bad assumptions here.

    (1) If this xsd was not supposed to be public, he would not.  I would never put anything OTN if she was not intended to be used.

    2) there are discrete examples of various things on my blog for 1.x through 3.x.  All these need updates for 4.x with the large OSGI now.  Here are some examples:

    (3) release the thread that has been created for questions of migration of extension<  we="" didn't="" lock="" it="" the="" system="" did="" from="">

    OSGI changed way more that I like for people to extend and it is on my list to get all the samples updated and several of them.

  • SQL Dev 4 EA3 - new SQL worksheet window opens docked on the far right of the window

    Hello

    While doing tests on the new EA of SQLDev version I found a weird behavior in the homepage of logic.

    Normally, when I click on a new database connection in the Connections window, a new window of worksheet is open in the center pane (the one with the Start Page) and it's as expected. Usually, I change the default configuration of work to get the best from my wide screen, docking station (and making visible permanently) the window "Find database objects" in a narrow pane to the right of the main pane. This Setup program creates all the problems in version 3 of SQL Dev and it worked well always.

    In version 4 of the SQL Developer instead, there are problems with the above configuration. In fact when I want to look at an object in another database instance (by choosing a new connection of database in the "Search database objects" window), or when I just open a new database connection in the Connections pane, a new spreadsheet for the connection will not open in the center pane (as in SQL Dev 3) , but in the right of the workspace, docked pane right next to the window "find database objects. The net result is that I have to withdraw each time the new worksheet window and dock it manually to the center pane in the workspace.

    I think that it is quite confusing because users expect the new worksheet window to open right were they do normally, which is in the center pane. The new worksheet is not quite visible, like the "Search database objects" window is narrower than the center pane and use the user must manually drag and drop it onto the center pane each time in order to work with it.

    Hope it can be fixed before GA

    Thank you

    Paolo Marzucco

    You're not home right, you create a new document tab group. When the search results come back, it goes to this group of tabs. Tell me open, Panel code fragments, which is anchored on the right. Go find a DB object this Panel, then do your research - you will see the results in the main document tab group.

  • SQL Dev anomalies

    SQL Dev 3.2.20.09
    Windows 7 Pro.

    I just installad SQL Dev on desktop of the current user and discovered a number of things

    (1) - tables and the views of folders in the navigation pane return anything. If the same user connects with sqlplus and selects ALL_TABLES and ALL_VIEWS, he gets the desired result.

    (2) - well, now I'm going to lose my mind... I'll let you point #2 for later.

    Tables and views are filtered by the user to logon.

    ALL_TABLES and ALL_VIEWS show each view and the table in the database.

    You will need to navigate to the bottom of the connection to the 'Other users' node tree, develop and pull up your objects by schema/owner/user.

    Point #2 - what is normal :)

  • Migration of SQL Dev problem

    I'm Migrating sql server 2008 database oracle 11 g, Using sql developer 3
    Select to connect to the Sql Server database > right click > migrate to Oracle...
    . . . .
    . . . . Online
    . . .

    successful migration

    I can see all the objects in the Projects of Migration
    but when I try to find objects in the schema of migration, I've not found anything

    I HAV all the required permissions the user granted access

    What is the problem here?


    Thank you

    Hi Rajneesh,

    Sorry for the late reply.

    I'm so clear.
    You have migrated your database on Oracle 11 g and everything seemed OK.
    Then, you tried to copy the database to Oracle 10 g with the Assistant export to SQL developers.
    Your main problem is
    Error (48,13): PLS-00905: object DBO_PMS_DB. SQLSERVER_UTILITIES is not valid

    The SQLSERVER_UTILITIES package can be referenced a lot, so an invalid SQLSERVER_UTILITIES can cause a lot of dependency problems.
    I don't know why he could not compile, but you can identify and fix the problem using SQL Dev to access a SQLSERVER_UTILITIES Oracle 10 g package and recompiling / addressing aspects.

    Hope this helps
    Dermot.

  • data via sql dev store

    Hello
    I've given cluster and can store files and it is clustering ID in the new database using the ODM. I group these data via SQL dev. Oracle again but I'm not for any folder for the storage of cluster ID. How do I? can I put something in response or detail node?

    Hi Nasiri,
    In your description, you have only the Cluster node as entry in the node to apply it. You should also connect a node type of source of data as well. Just to get this to work, why not connect the source of input data to your Cluster node to the node to apply it. If the node to apply it should have 2 inputs, a node of type of data source, but also a model node.
    Thank you, Mark

  • Access DB in SQL Server using SQL Dev 3.2.2

    Could someone tell me how to set up SQL Dev 3.2.2 to access a SQL Server database. I am trying to connect to SQL Server 2005
    I tried to install the driver, JTDS JDBC of updates, but apparently not have installed anything.
    I have donwloaded a driver JTDS directly and tried a few statements used on the old version of SQL Dev, but when I copy the JAR files and ddl to the bottom of my window no longer works, once I have delete the connections I get it back.

    Any help would be greatly appreciated

    Paul

    Published by: Trotty on December 10, 2012 11:22

    I often have problems to install third party JDBC drivers use check for updates. The downloaded files are of length zero.

    To manually install...

    Download jtds 1.2. Later versions are not supported.

    Place the jar somewhere.
    In sqldeveloper, go to tools | Preferences | Database | Third of JDBC drivers
    Click Add entry...
    Navigate to which you've placed the jar file and select it. Click OK and close the Preferences dialog box.

    The new connection dialog box should now include tabs for SQL Server and Sybase.

  • SQL Dev 4: prevent auto Open new editor on Edit

    It is a matter of adjustment, that I've just not found yet...

    Whenever I edit a package and compilation, SQL Dev 4 open a new editor window.

    So I find myself with 4 windows ofr a package given - I just want a.

    How to disable this behavior?

    I see it in the settings.

    Thank you

    Tools > Preferences > Code Editor > publishers Autopin PL/SQL

    Which turns off.

    Something that we expect is a redesign of preferences, labelling better, easier to find.

  • Modeler data SQL dev matter datasize real?

    I start most recently using the SQL dev Data Modeler and I have a question. When you import a table as well as other items, the tool actually matter the size of the data or let it on the database? The reason why I asked it is part of my paintings have 100s of millions of rows.

    I discovered it brings just in the ddl... What a great tool!

  • SQL dev. "quota exceeded... space. »

    I load a data in data SQL DEV career. and run the k-means clustering algorithm. I can load the data successfully, but the model build and gives me below error.
    space quota exceeded for table space 'data mining '.
    How can I solve the space problems
    I run k-means on these data successfully in the MDGS.

    Published by: Nasiri Mahdi on April 15, 2013 23:01

    Hi Nasiri,
    I have to assume that the table space assigned to the user account is "data mining".
    It seems that the user account doesn't have an allocation of adequate space.
    See the link below for more information on this type of problem.
    ORA-01536: space quota exceeded for tablespace 'USERS '.
    Thank you, Mark

  • SQL Dev report Type Confusion

    Following an article by Sue Harper published in May / June 2007 reports Oracle magazine, I have finally been able to build a hierarchy of Drill-Down. My original CD is trying to create these reports failed, because I didn't know how to specify an ID of 'report' that Sue had documented in my version of the SQL Dev 1.5.4. Following the instructions on the other posts, I found, including a variable binding in the fetch request seem to solve this problem.

    I can also use the button 'Add a child' on a report definition parent to add reports that also use the bind variable, and that then appear as clickable tabs below the report parent. When you define a report of child, I can choose a type of 'Detail' or 'child '.

    My questions are the following:
    1. What is the difference between a report from top-down research described by Sue and a report of the child defined when the button 'Add a child' is clicked, except when the report is displayed in the Oracle SQL dev. window?
    2. When you define a report of the child after clicking on 'Add a child', what is the difference between a type of 'Détail' and 'Child'?

    Sorry if this has already been clearly explained elsewhere. Links for relevant doco will be very appreciated!

    TIA,
    Jon

    If you liked my answer, how about giving me some points - I'm working my way of companion Pro.
    Thank you.

  • SQL Developer at Apex earphone connection - error: invalid resource owner credentials

    DB: V11.2

    APEX V 4.2.3.00.08

    APEX listener: V2.0.5.287.04.27

    SQLDeveloper: Version 3.2.20.09

    WIndows 7 64-bit operating system

    I'm trying to create a connection to a standalone installation Apex listener via SQL Developer to manage the settings of the listener. I start a new connection and after entering the a/PWD, administrator of the listener, I get the following error:

    *********************************************************************************************************************************

    Failed authentication

    "UNABLE TO CONNECT TO THE CONNECTION.

    THE INVALID RESOURCE OWNER CREDENTIALS. "

    **********************************************************************************************************************************

    So where should I even start to go wrong?

    I add a connection as follows:

    Login: login

    Usename: adminlistener (pwd = adminlistener configured using the command: java-jar apex.war user adminlistener "Listener administrator")

    HTTP radio button

    Host name: localhost

    Port: 8080

    Server path: /apex (? don't know what it is or where it points to)

    Thanks in advance

    Paul Platt

    You have configured your APEX to support the RESTful Service?

    Maybe there is something wrong with you RESTful, could you just start a new configuration of the listener from the apex to the step which asks you to enter the password for user(APEX_LISTENER,APEX_REST_PUBLIC_USER) RESTful database, select 3 to skip this step.

    Thank you

    Xiaohe

Maybe you are looking for

  • Contacts app does not return to anchor

    Hi - I accidentally deleted the Contacts application from the dock icon on my MacBook Pro running the latest beta of Mac OS 10.12.1 (this problem existed also before this beta) - if I did drag the LaunchPad icon on the dock, the dock app icons enlarg

  • No results found in iPhone Mail search

    I support a medium-sized law firm and several lawyers noted that their search function for their e-mail application works inconsistently. I recently observed that a user can find a search term and getting no results when they have a number of emails

  • iMessage iOS 9.3 could not activate

    Just upgraded to iOS 9.3 and when I go to activate imessage, it gives me an error that it did not activate. It will not let me sign in my Apple ID to use iMessage. She's just completely does not work.

  • Transform a group of Boolean controls in a ring menu?

    Is there a way to transform Boolean controls into a cluster in the menu of the ring?  In other words 2 States by control Boolean times 3 controls to obtain 6 different options - assuming you have assigned individual values for each State!  What I try

  • Can download but not running Vista SP1

    My problem seems to be different from others regarding the SP1, I need to be able to install software. Despite the fact that I downloaded frequently updated, my laptop (Vista 32-bit) makes no reference to SP1, so I must assume that I don't have. I we