Developer SQL Debugging and Securiy issue

Running PL/SQL: CALL the DBMS_DEBUG_JDWP. CONNECT_TCP ('my pc ip', '58201')

ORA-30683: failure connecting to debugger

ORA-12535: TNS:operation expired

This message appears when I try to debug a procedure of the SQL Developer. I have concluded that the database cannot connect to the debugger on my pc for to proceed with debugging. I have security problems in our network for open access on the database side to my pc.

Oracle has put this question in concern the preparation of the debugger? Is there a way to set the debugging procedures and functions to be server-side? or suggestions to work around the security concerns.

N.B.:

  1. Toad both server-side options, and client-side debugging
  2. There are a lot of request for access will be issued to allow the databases to connect to client computers and it is an application of type of unreasonable for people to safety.

SOLVED

I opened my pc access over the network to the database, so now the database can connect to my sql developer debugger when you are debugging.

Thanks for the support

Tags: Database

Similar Questions

  • Developer SQL 4.1.2.20 Build HAND-20, 64: cannot drag-and - drop in editor files include "#" in the name or the path

    Developer SQL 4.1.2.20 Build HAND-20, 64: I am not able to drag-and - drop a file from Windows Explorer into the SQL Developer Editor window if the name of the file or the path includes sharp «#» Unfortunately, my main directory structure contains a ' # ' in one parent folder names and I use drag-and - drop all the time... it is, I used to. :-)

    I am running Windows 7 Enterprise 64-bit with Service Pack 1

    It wasn't a problem in the previous version of SQL Developer 4.1.1.19 build HAND - 19.59.

    Thanks to study deeply and providing a repeatable test. It is a very strange edge cases.  Particularly interesting is...

    This same issue exists for JDeveloper Studio Edition Version 12.2.1.0.0

    After my tests in SQL Developer 4.1.2 the question seems to be, that say you, trying to open any file (I tried sql, xml, and pkb types) by drag-and - drop from Explorer Windows to a publisher of target opened on a XML file with a symbol of hash somewhere in the specification of the file it is.

    First of all, as a solution, I thought that I could recommend that you drag-and - drop since our view > files browser rather than Windows Explorer.  Which avoids the question and even you will descend on the Start Page tab, any worksheet or another editor must be opened before hand. However, there is a completely different problem with that: try to close the last tab of the XML Editor open blocking the entirety of the product.

    As you do not declare it against a release of the Early Adopter, where our team connect the bug, the standard procedure is so that you can open a service request with the support of the Oracle. My research did not turn any latest bug as this connected against SQL Developer or JDeveloper.

    Edit: In fact, just double click instead of using drag-and - drop from view > files avoids questions, name incorrect both hang at the end.

  • Why Developer SQL displays arrows (relations) between parent and child tables in my entity relationship diagram?

    Hello


    Oracle version:                     Oracle Database 11 g Release 11.1.0.7.0 - 64 bit Production

    The version of SQL Developer: 4.0.2.15 - 15.21 build

    I have a question about drawing diagram, entity-relationship with SQL Developer & I would be grateful if you could kindly give me a helping hand.

    I would like to draw an entity-relationship diagram in order to better visualize the relationship between multiple tables. After a google search, I found the following interesting article indicating the procedure to be followed:

    http://www.Oracle.com/technetwork/issue-archive/2014/14-may/o34sqldev-2193423.html

    (What I need and I'm trying to produce is Figure 4 in the article above)

    I made exactly as stated in the article & apparently everything has worked well enough, in other words, I had several UML as rectangles showing columns of tables, their data types, primary and
    foreign key and the arrows indicating the link between each parent/child table.

    Later, I tried to do the same thing on a different oracle instance and a different database by using the same procedure. Yet, something strange happened this time. Developer SQL printed on-screen tables, once again,.
    inside the rectangles with types, keys,... but, there was no arrow showing the link between the tables, I just saw on the grid the selected tables but without any association/relationship shown (as a symbol of an arrow)
    between them.

    I repeated the procedure on another instance of development, with a few test tables that I created with primary and foreign keys just to make sure I had followed the procedure correctly. Once again

    the test was successful, but when I repeated the test on another instance, the same problem persisted, in other words, no arrow (relationship) between tables.

    Any idea?

    This could be due to a lack of privilege on the instance? If Yes, what should be granted in what about roles?

    Thanks in advance

    I think that what you see is that not all databases have foreign keys - applications hard-coding relationships vs let the database to handle this.

    Connect to this instance different oracle and browse the tables affected - have FK constraints defined on them?

  • SQL Developer to debug a data cursor?

    In SQL Developer, how to debug a slider? In debug mode, I see its data that the pointer moves on?

    Thank you
     CURSOR C_EMP (DEPT_NUM_1  NUMBER)
        IS 
        SELECT E.EMPLOYEE_ID, E.LAST_NAME, D.DEPARTMENT_NAME
        FROM EMPLOYEES E JOIN DEPARTMENTS D on(D.DEPARTMENT_ID = E.DEPARTMENT_ID)
        WHERE  
        D.DEPARTMENT_ID = DEPT_NUM_1; 

    >
    In SQL Developer, how to debug a slider? In debug mode, I see its data that the pointer moves on?
    . . .
    CURSOR C_EMP (DEPT_NUM_1 NUMBER)
    IS
    SELECT SELECT, E.EMPLOYEE_ID, D.DEPARTMENT_NAME
    FROM EMPLOYEES E JOIN DEPARTMENTS D on(D.DEPARTMENT_ID = E.DEPARTMENT_ID)
    WHERE
    D.DEPARTMENT_ID = DEPT_NUM_1;
    >
    A cursor is a definition and not executable code, so there is nothing to "debug". That would be analogous to saying you want to 'debug' a query. What does it even mean?

    What do you mean by "see its data that the cursor is pointing to?

    Do you mean see the underlying query of the cursor? So no – you can do that.

    You can extract the data or, using the sql dynamic you could describe the set of results to see what the column names and data types will be returned, but there was no information about where the data came from actually.

    This is not really a matter of sql developer, but when you have one of these you should post in the forum sql developer
    SQL Developer

  • Error in sql developer for debugging

    Hello

    When Iam trying to debug my procedure in sql developer tool

    I get this error below.

    * Connection to the Prodcopy connection database.
    PL/SQL execution: ALTER SESSION SET PLSQL_DEBUG = TRUE
    Running PL/SQL: CALL the DBMS_DEBUG_JDWP. CONNECT_TCP ('172.16.35.228', '4000')
    ORA-30683: failure connecting to debugger
    ORA-12535: TNS:operation expired
    ORA-06512: at "SYS." DBMS_DEBUG_JDWP', line 68
    ORA-06512: at line 1
    Process is complete.
    Disconnecting from the database Prodcopy Connection.*

    I saw Annie at the following stops.

    grant debug connect session to the PRODCOPY;
    DEBUG ANY PROCEDURE of ISSUANCE of prodcopy;

    Please help me solve this problem.

    PL/SQL debugging is overrated IMO.

    How about instrumenting your code instead? In this way, you have a permanent "debug" function which can be activated when and where necessary - and offers additional performance and treatment measures.

    Spend some time creating your own package to record instrumentation data, that you can use in (call for) your code enforcement, is time well spend and well worth it.

    In Samurai terms or... David-waza.

  • Developer SQL vs TOAD - query performance issue

    Someone pointed out the same queries are run slower in SQL Developer and TOAD. I'm curious on this issue, since I understand Java is 'slow', but I can't find another thread on this point. I do not use TOAD, so I can't compare...

    Can it be linked to the amount of data returned by the query? What could be the other reasons for the SQL Dev works more slowly with a similar query?

    Thank you
    Attila

    It occurs to me also that TOAD always uses the equivalent of the 'thick' JDBC driver Developer SQL can use 'thin' driver or the 'thick' driver, but the connections are usually configured with the pilot "thin", since you need an Oracle client to use the 'thick' driver

    The difference is that the 'thin' drivers are written entirely in Java, but 'thick' drivers are written with only a small Java that calls the native executable (that's why you need an Oracle client) to do most of the work. In theory, a thick driver is faster because the code of the object should not be interpreted by the JAVA virtual machine. However, I heard that the performance difference is not that big. The only way to know for sure is to set up a connection with SQL Developer to use thick driver and see if it is faster (I would use a stopwatch).

    Correct me if I'm wrong, but I think that if you use 'TNS' as your type of connection, Developer SQL use thick driver, while someone is using the default value, the type of ' basic' connection the thin driver. Otherwise, you need to use the connection type 'Advanced' and type in the JDBC URL custom for the thick driver.

  • Developer SQL and KeepAlive

    Developer SQL 4.0.2.

    I have a bunch of developers complain that developer SQL disconnects them from the database.

    And it's too hard for them to right click and click on reconnect (sarcasm).

    DBs theses are in the cloud. If not happens if the DB is in bare metal.

    I am looking for and there seems to be an ad-, at any given time.

    The problem with him is that you need to configure at startup, so if you forget it, you get the same error.

    Also, when I upgraded SQL Developer he removed it.

    Is it possible to maintain this connection?

    Thank you

    Developer SQL isn't anyone disconnect from the database unless they ask to complete the connection.

    What you see are network timeouts, or database resource consumer group plan killing any idle sessions.

    Try to fix the problem at the source-, but you'll have to find out why connections die first.

  • Developer SQL, SQL Server and the ampersand

    Hello

    I am connected to a SQL Server database (2008) and has difficulties to get a query runs correctly in SQL Developer (3.1.07).

    Simplified example

    Select table_field
    table
    where table_field <>'This & That ';

    Expected results

    table_field
    Other stuff
    Other stuff
    Other stuff

    Actual results

    table_field
    Other stuff
    This & That
    This & That
    ....


    I can't get SQL Developer to recognize as a literal ampersand &. I tried it out in many ways, but he still thinks it's a variable.

    The query works exactly as expected in MS SQL Management Studio and Toad. Of course, I can just run it in one of these, but I would try to get this working with SQL Developer. Suggestions?

    Please let me know if I can provide further information. Thank you.

    Hello

    SQL worksheet to developers is designed for Oracle, but we allow you to execute instructions SQL Server and other databases Oracle not.
    This can lead to some quirks, such as the one you met.

    Oracle SQL * Plus uses and commercial for define substitution variables.
    Oracle SQL Developer has implemented the same concept.
    Unfortunately there is no sense when something is running on an Oracle database no.

    To work around the problem, you can run the following SQL * Plus command in SQL Developer, before your query SQL Server.
    TOGETHER TO DEFINE
    Select "Hello & Goodbye";

    The following may be useful as well.
    http://dermotoneill.blogspot.com/2010/11/workheet-hints.html
    http://dermotoneill.blogspot.com/2010/12/SQL-Server-and-Sybase-browsing.html

    Kind regards
    Dermot.
    SQL development team.

  • Problem with the two EA DEVELOPER SQL DATA MODELING 3.0.0.665 and 3.1

    I created a model of very large data using SQL Developer data 3.0.0.665 and 3.1 EA maker. Its having a lot of check constraints. Whenever I am the design of the fence and the DOF and reopening export to import the DDL file failure to import completely check constraints. It is important to check constraints, but without any range of values inside. Its very frustrating because whenever you open import ddl, you must manually add again all the details of data check range constraint.

    OS: Windows XP.
    Check in the two EA Developer SQL Data Modeler 3.0.0.665 and 3.1

    -------------------------------------------
    Here are the contents of the .dmd file.
    -------------------------------------------
    * <? XML version = "1.0" encoding = "UTF - 8"? > *.
    * < OSDM_Design class = "oracle.dbtools.crest.model.design.Design" name = 'Admin_Panel' id = "9BE18B0A-6C67-2E5B-00DE-BD8312189ECB" version = "3.41" > * "
    * < createdBy > administrator < / createdBy > *.
    * < Createduserid > 2011-10-17 08:32:18 UTC < / Createduserid > *.
    * < Admin_Panel ownerDesignName > < / ownerDesignName > *.
    * < false capitalNames > < / capitalNames > *.
    * < designId > 9BE18B0A-6C67-2E5B-00DE-BD8312189ECB < / designId > *.
    * < / OSDM_Design > *.

    -------------------------------------------------------------------------------
    An example how the check constraints to get dirty.
    -------------------------------------------------------------------------------
    Initial check constraint is as below:
    ======================
    ALTER TABLE test_table
    ADD CONSTRAINT Active_Flag_ck
    CHECK (Active_Flag IN ('A', 'I'))
    *;*

    Below how it occurs once I have imported the ddl and re-export:
    ============================================
    ALTER TABLE test_table
    ADD CONSTRAINT Active_Flag_ck
    (CHECK)
    *;*

    I'm in trouble as I already in the middle of the my development using SQL Developer Data Modeler.

    Please help me soon.

    Jean

    Hi John,.

    Every time I'm fence design and export the ddl and reopening through the import of the DDL file

    Why are you doing this? Once the DDL file is imported and then save the drawing and open simply saved design, no need to generate the DDL and import it every time that you start Modeler data.
    On the list of values - forced as this CHECK (Active_Flag IN ('A', 'I')) are imported as constraint check plain and not as a list of values.
    There are the more specific elements import of check constraint - they are defined as type database constraint that you select during the import. Accordingly if you import your DOF as Oracle 10 g DDL, then you will get forced correct check in DDL generated for Oracle 10 g and Oracle 11 g. Constraint of evil will be generated for Oracle 9i. You can move the constraint for Oracle 9i (in the check constraint dialog box) or generic if it can be treated as such constraint.

    I logged for DOF bad bug.

    Philippe

  • Area Developer SQL and Windows XP profile

    I work in a secure environment where my laptop is quite tightly controlled. In particular, all users of portable computers are limited to a space of 20 MB Windows user profile. There is space in C:\Documents and Settings\ < username > change Data. This is to prevent people to build huge profiles that take an age to download and synchronize with the server connection.

    Developer SQL writes stuff in this directory (as does the Data Modeler and JDeveloper). In particular, windowinglayout.xml develops and is now 1 Mb in size. I'm running out of space in my profile, and it won't take long until I'm at my limit. The file size seems to mostly be down to the contents of the/LayoutInfo/clientLayoutData/global/view-data of the item which has become huge. Much of the content seems to relate to connections and files and I tried to remove some connections, but that does not make any difference to the size of the file.

    The contents of this file can be controlled? Is it possible to move these files somewhere else, so that they don't cause me a problem? Are there other possible solutions?

    Thank you in advance.
    Andrew

    As workaround solution, map the parameters of your profile folder. Add to \sqldeveloper\bin\sqldeveloper.conf:

    AddVMOption-Dide.user.dir=C:\sqldeveloper

    Have fun
    K.

  • Developer SQL 4.1.2.20 - stuck with little window 10 64 pro

    I found a solution in the forum but I can not resovle my problem, I start the developer sql with the debug window, is it the loading screen but when I new connection or tools-> Preferences, or internal something like new window in sql developer he stuck, nothing on the window debugging just load the time line. I looked at Event Viewer on the information like this:

    Version sqldeveloper64W.exe of the 4.1.2.20 program ceased to interact with Windows and was closed. To see if there is more information about the problem, check the history of the problem in the control of security and maintenance Panel.

    Process ID: 1e58

    Start time: 01d12b17e24d09a7

    Time of termination: 4294967295

    Application path: C:\Program Files\Sql developer 4.1.2\sqldeveloper\sqldeveloper\bin\sqldeveloper64W.exe

    Report ID: bef3fe35-9719-11e5-9bdd-9c669555571c

    Faulting full name of the package:

    ID of the failed package-parent application:

    try-i:

    + delete sql developer within roaming folder.

    + Reinstall developer sql several times with jdk included, or separately, but not solved my problem.

    Thanks for your help!

    I knew what happen on my machine... oh God... I don't know that it's bug or not! When I started it and I have to wait my open proxy authentication, then I invite my user then it okie all. so... my mistake is to do it too fast? I don't know why. Thank you anyway!

  • Developer SQL does not

    Hello

    I use SQL Developer Version 4.0.2.15 Build 15.21.

    When I change some developer packages SQL freezes and get of does not.

    At the same time, he starts using 25% of the CPU and about 500 MB of RAM.

    From what I can tell, the issue seems to occur when you double-click a word in the package editor or after pasting a word at random.

    It seems to be random and I can't find a reason for this except what happens inside packages with more than 1000 lines of code.

    Please find some information of log files:

    SEVERE  4449    0   oracle.ide.controller.IdeAction Error during handleEvent on action 'Thumbnail' (id=150). None of the attached controllers handled the action..
    SEVERE  4449    0   oracle.ide.controller.IdeAction Error during handleEvent on action 'Thumbnail' (id=150). None of the attached controllers handled the action..
    
    SEVERE  24085   0   oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$1    49
    SEVERE  24086   1246    oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$1    49
    SEVERE  24087   10838   oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$1    null
    
    SEVERE  4590    94562849    oracle.ide.controller.IdeAction Error during handleEvent on action 'Compile' (id=374).None of the attached controllers handled the action.
     - oracle.ide.controller.IdeAction$ControllerDelegatingController@abb730a4[oracle.ideimpl.controller.MetaClassController@abb730a4[oracle.dbtools.raptor.plsql.PLSQLController]].
    
    
    SEVERE  4648    3908208 null  
    

    Please help to solve this problem, because it's really frustrating to compile the package all 2-3 rows of written code because you don't know when it's going to crash.

    Currently, I have the sqldeveloper64W.exe process that freezes user 50% of my proc and the only way to close is to kill them from the Task Manager.

    Thank you

    Alex.

    Hi Alex,

    There is a known issue when you use copy/paste via the shortcut keys.  Don't know if this is quite fixed yet - here is the link to more complete discussion I could find:

    copy/paste 4.01 freezes

    Kind regards

    Gary

    SQL development team

  • Buffer SQL commands (get, run, save, etc.) in Developer SQL does not?

    I am a developer SQL 3.1.07.42 Windows 7 64 bit with java 1.7

    I have c:\test.sql that contains
    PROMPT Working
    and c:\testscript.sql that contains
    set echo on
    set serveroutput on
    /
    GET c:\test.sql
    SAVE c:\test_working.sql
    LIST 1 LAST
    RUN
    If I open a new worksheet and type:
    @\testscript.sql
    then press F5, I get:
    @\testscript.sql
    set serveroutput on
    /
    GET c:\test.sql
    SAVE c:\test_working.sql
    LIST 1 LAST
    RUN
    If the c:\test_working.sql is not created and the content of the script is not executed.

    What I am actually trying to do here (and maybe you guys have a better idea) is to capture the output of the sql command that appears on the client, send it to the server, treat it somehow and then do everything with her (she log in my case).

    For example (a very simple example from my scripts).
    spool c:\temporary.tmp
    create table test();
    spool off;
    
    get c:\temporary.tmp
    0 begin insert into logtable (msg) (trim('
    100 ')); end;
    
    save logit.sql
    
    @'logit.sql'
    the idea is to be able to save the output of any control block / anonymous plsql in a way that can be sent to the server for processing (this is for most mistakes, of course).
    I can intercept DBMS_OUTPUT turning SERVEROUTPUT then a DBMS_OUTPUT. ACTIVATE and finally using DBMS_OUTPUT. GET all the lines and the process/log them, but I have not found a way yet to catch the rest of the "TERMOUT' of treatment other than the queue, but even then, I couldn't find a way to get the local file (content) on the server; and this idea GET/SAVE/RUN appeared to be feasible but its does not work (I even tried interactively, but maybe I'm doing something wrong).

    Any ideas/suggestions on the topic are welcome.

    Thank you.

    Hello

    According to the 3.1.04.72 SQL Developer documentation, the "get" command (among others) is not supported:
    Help | Table of contents | SQL Developer concepts and use. With the help of the SQL worksheet | SQL * more supported and unsupported statement...

    If the options are limited. If sqlplus is available and use it as an "external" tool will not conflict entirely with local policy, these links may interest you:
    Re: sqlplus vs sqldeveloper
    Easy Connect and sqldev.conn issues

    Otherwise, you can add a feature request for this on the SQL Developer and see if such an improvement is a priority for the community.

    Kind regards
    Gary
    SQL development team

  • Developer SQL not accepting is not some keyboard characters

    Hello
    I've been using SQL Developer for 5 or 6 months, with minor problems and great satisfaction.

    A few days earlier, just out of the blue, in the middle of the day, developer started SQL only accepts only not the following characters:

    CTRL-v, Ctrl + c, F5, F9 (I think that all the function keys), BACKSPACE, delete, arrows and Enter. + *

    T * its happens only in the part of the text editor *. I am able to use this key in the results, whether they are an output of script or execute query.
    Developer SQL works as well (if I stick with the mouse, paste works... and all other keys)

    I have not checked the pc of viruses using AVG, no virus found (my avg is updated daily and runs daily virus checks on a calendar and this issue has been here for 1 or 2 weeks, so it was a virus, I think he should be discovered, in addition, keys always work in sql developer (, not only in the text editor component)

    It goes without saying, but if I run Notepad and type, keys work properly.
    I also reinstalled it to a different folder with no luck
    So tried to restart... no luck
    Tried in SafeMode... no luck

    I use SQL developer Version 1.5.4, HAND-5940 build... on Windows Xp
    I suspect there is an option in that I disabled without paying attention...

    Help!


    Kind regards
    Charles

    All this time, try the possible solutions is understandable, but then type in your post... when searching the forum would have given you the solution below 1 minute:

    Preferences - accelerators - load - default setting

    Hope that helps,
    K.

  • Perform a remote debugging and Oracle Forms (6i)

    Hello
    We do not have E-Business Suite 11.5.10 and I was wandering if it is possible to use SQL Developer to debug remotely the PL/SQL which called Forms.

    We have been able to call the dbms_debug_jdwp of one of the packages and it did bring back us to the SQL Developer and has stopped at the breakpoint, but then after more walk and run PL/SQL to the end the session of forms is crushed and we were not able to return to the form with the results and continue.
    Everyone went through a similar exercise with success?

    See you soon
    Arek

    He expected no importance, but unfair life sometimes more with existing systems. :(
    I wanted to recommend to your code (in this case, your remote procedure call), not not the connection, a TIME NEW FORM instance.
    How do you say 'they appear at the end not initially"?
    Always log into the remote procedure?

    K.

Maybe you are looking for

  • HP designJet 130nr: Spotlight on roller automatic power media must not enter.

    Hello I recently bought a HP designjet 130nr used large format, and I noticed that the lights on the Auto Roll power media does not illuminate after I turn on the printer. Can someone please?

  • Dynadock U10 & Satellite Pro U400 (video display resolution - main monitor)

    Hi allI want to put in place the video driver Dynadock see the external monitor as primary monitor:I have difficulty option 'Mirror', but I can't change the resolution: it is set at 1280 x 1024 but I see 1280 x 800 (as in the laptop monitor) with the

  • black and white

    can any1 can help me and tell me how to get my back on the floor on the change of motorloi1 of black and white obtained phone Friday background was color now its black and white when I go to the Dialer or pass a call the screen is b / worried her i I

  • replacement of lead Pavilion 15 power

    I have an a computer laptop 15-n270ea of Pavilion and I need a power cord replacement as the accountant that he lost, I've been back to PC World and they have no idea what this driver is or where I can get a replacement, they've said we had several p

  • Impossible to save the scan on Officejet 4500 Wireless All in one

    I use a MacBook Pro and recently upgraded to OS 10.9 mavericks. Since then, I am unable to save the scans. Wireless printing functions like photocopy. I am able to see the image on the computer, but can not save even though the dialog box allows me t