How do I connect the debugger for remotely debugging PL/SQL?

Hi everyone,
Remotely debugging PL/SQL from JDeveloper and SQL Developer is something I have tried unsuccessfully to do.
The steps I took were to right-click my connection, select Remote Debug... and specify "4000" for the Port and "n.n.n.n" for the Local address which seems to correctly start the listener. (I used ipconfig to double-check the address.) Then, I run the anonymous block you see below.
begin
dbms_debug_jdwp.connect_tcp( 'n.n.n.n', 4000 );
end;
But, I always get the following error:
Error starting at line 18 in command:
begin
dbms_debug_jdwp.connect_tcp( 'n.n.n.n', 4000 );
end;
Error report:
ORA-30683: failure establishing connection to debugger
ORA-12535: TNS:operation timed out
ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
ORA-06512: at line 2
30683. 00000 -  "failure establishing connection to debugger"
*Cause:    An error was indicated when trying to establish a connection
           to a debugger. Usually a TNS error will display along with
           this message to further explain the problem, although this
           TNS error will likely be hidden if you choose to trap the error.
*Action:   Correct the indicated parameter value and try again.
Additionally, my firewall in Windows 7 is disabled, and I work remotely from home via VPN.
The instructions are thatI followed: Sue's Blog... again...: Remote Debugging with SQL Developer.
Any help would be greatly appreciated. Thanks!
James

I found the answer.
Object classes are missing.
The right insert code is down but I have a new question.
-How can I assign Resource acces to user in PL/SQL?
Right insert code:
declare
vn_retval pls_integer;
emp_session dbms_ldap.session;
emp_dn varchar2(256);
emp_array dbms_ldap.mod_array;
emp_vals dbms_ldap.string_collection ;
vv_ldap_host varchar2(256);
vv_ldap_port varchar2(256);
vv_ldap_user varchar2(256);
vv_ldap_passwd varchar2(256);
vv_ldap_base varchar2(256);
begin
vn_retval := -1;
vv_ldap_host := 'XXXXXXX';
vv_ldap_port := '389');
vv_ldap_user := 'LDAP_USER';
vv_ldap_passwd:= 'LDAP_PASSWD';
vv_ldap_base := 'LDAP_BASE';
dbms_ldap.use_exception := true;
-- Initialize ldap library and get session handle.
emp_session := dbms_ldap.init(vv_ldap_host, vv_ldap_port);
-- Bind to the directory
vn_retval := dbms_ldap.simple_bind_s(emp_session, vv_ldap_user, vv_ldap_passwd);
-- Process New Entry in the database
-- Create and setup attribute array for the New entry
emp_array := dbms_ldap.create_mod_array(4);
emp_vals(1) := 'NAME';
dbms_ldap.populate_mod_array(emp_array, dbms_ldap.mod_add, 'cn', emp_vals);
emp_vals(1) := 'NAME';
dbms_ldap.populate_mod_array(emp_array, dbms_ldap.mod_add, 'sn', emp_vals);
emp_vals(1) := 'top';
emp_vals(2) := 'person';
emp_vals(3) := 'organizationalPerson';
emp_vals(4) := 'orcluserv2';
emp_vals(5) := 'orcluser';
emp_vals(6) := 'inetOrgPerson';
dbms_ldap.populate_mod_array(emp_array, dbms_ldap.mod_add, 'objectclass', emp_vals);
emp_vals.delete;
emp_vals(1) := 'NAME' || '1';
dbms_ldap.populate_mod_array(emp_array, dbms_ldap.mod_add, 'userpassword', emp_vals);
-- DN for Entry to be Added under 'ldap_base'
emp_dn := 'cn=' || 'NAME' || ', ' || vv_ldap_base ;
-- Add new Entry to ldap directory
vn_retval := dbms_ldap.add_s(emp_session, emp_dn, emp_array);
-- Free attribute array (emp_array)
dbms_ldap.free_mod_array(emp_array);
-- Unbind from ldap directory
vn_retval := dbms_ldap.unbind_s(emp_session);
end;

Similar Messages

  • If there is no driver for iphone S4, how do I connect the phone and PC?

    If there is no driver for iphone S4, how do I connect the phone and PC?

    With the special cable that came with the phone. You must install iTunes on your PC in order to access the phone, sync it, and back it up.

  • How do I enable the security for my wireless connection?

    How do I enable the security for my wireless connection?

    Enter the setup page (192.168.1.1),  hit the Wireless Tab, then the Security tab.

  • How to start listener in sql developer for remote debug

    how to start listener in sql developer for remote debug ? Since the new version 1.1.0.23 is different with the old version for remote debug, I don't know how to start the listener on the new version for remote debug.
    even follow the user guide below and not work . Experts on sql developer please help me with this.
    Remote Debugging
    To debug a procedure or function for a connection where the database is on a different host than the one on which you are
    running SQL Developer, you can perform remote debugging.
    Remote debugging involves many of the steps as for local debugging; however, do the
    following before you start the remote debugging: Use an Oracle client such as SQL*Plus to issue the debugger connection command. Whatever
    client you use, make sure that the session which issues the debugger connection commands is the same session which executes your PL/SQL
    program containing the breakpoints.
    For example, if the name of the remote system is remote1, use the following SQL*Plus command to open a
    TCP/IP connection to that system and the port for the JDWP session:
    EXEC DBMS_DEBUG_JDWP.CONNECT_TCP('remote1', '4000'); The first parameter
    is the IP address or host name of the remote system, and the second parameter is the port number on that remote system on which the debugger
    is listening.
    Right-click the connection for the remote database, select Remote Debug, and complete the information in the Debugger - Attach
    to JPDA dialog box. Then, follow the steps that you would for local debugging (for example, see Debugging a PL/SQL Procedure).
    Debugger - Attach to JPDA This dialog box is displayed when you right-click a database connection name and select Remote Debug.
    Use this
    dialog box if you are using the Sun Microsystem's Java Platform Debugger Architecture (JPDA) and you would like the debugger to listen so
    that a debuggee can attach to the debugger.
    For more information about remote debugging, see Remote Debugging.
    Host: Name or IP address of
    the remote host on which SQL Developer should listen for the database to connect.
    Port: Listening port number on the remote host. You can
    choose any valid port number that is not in use by another process.
    Timeout: The number of seconds that SQL Developer will wait for the
    remote database to make a debugging connection. Don't Show Dialog Box Before Connecting: If this option is checked, this dialog box will not
    be displayed before future connections for remote debugging

    You're not the only one:
    Not able to start remote debug listener
    Re: remote debug question at version 1.1.0.23 64

  • How do I use the VIs for the Fluke Hydra Series 2620a multimeter?

    This message refers to the VIs found at this link:
    http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=E3B19B3E9468659CE034080020E74861
    How do I use the VIs for the Fluke Hydra Series 2620a multimeter? I am conducting a Senior Design Project at Temple University. It is a Control System where I need to read voltages from sensors and output voltages to different system components. I am trying to set up a VI using the VIs found above to make sure that I can successfully read and send voltages. There was no documentation given with the 2620a VIs.

    Unfortunately, you've got a very old driver for an old instrument. The only available help is to turn on Context Help and move your mouse over the VI icon. It doesn't appear to have any help for individual controls and indicators. The only good news is that it appears to be a simple instrument with only a few functions. There's some main ones line initialize (to set serial port), configure channel, configure instr, and read values. One main thing is whether you're using gpib or serial, Each front panel has a setting. If it's gpib, set the port to the gpib address. If it's serial, set the port to one number less than the com port you're connected to. For example, if you're using Com1, set the port to 0. For the other controls, I'm afraid that you're going to have to try and compare what's there with the controls and settings of the actual instrument. Having access to the instrument manual will be essential. I would engourage you to experiment a little. There's probably very little chance of damaging the instrument especially if nothing is hooked up to it. Send a command and see what happens or set the instrument up manually and see if you can reproduce that via remote control.

  • How to use a fixed port for remote assistance in windows 8.1 behind a nat router freebox?

    Hello,
    Before to use remote assistance in windows 8.1, i need to configure my nat router freebox.
    But remote assistance ( msra.exe ) use a dynamique port and never the same.
    How to use a fixed port for remote assistance ini windows 8.1 ?
    And why i can't use easy connect ?
    i read that the router must implement the PNRP protocol. I think it's a propriatary microsoft's protocol unknow on my router.
    Thanks

    Hello,
    Very good. It's a big range ( 255 mini from 49152 )  for a single port but if it's the only one possibility...
    You are very helpfull ( i don't know if it's a good english but you make me very happy )
    Merci beaucoup

  • How do i find the url for my iMac

    How di I find the URL for my iMac?

    Can you explain in more detail what you mean? A URL is the address of a website - such as Apple.com or Harvard.edu. A computer will only have a URL if it has been set up as a web server and has name servers pointing to it (so that people looking for yourcomputer.com will be sent to the right place).
    Conversely, every computer has an IP address, which is numerical. If you're connected directly to your internet, you will have a public IP address (it might look like 245.46.120.30, for example). Most people connect to the internet through a router, though, which gives them a private IP address only visible within their own network (something like 192.168.1.4).
    Matt

  • How can I connect the iTunes in my iPad (now with iOS7) to my Power PC Mac?

    How can I connect the iTunes in my iPad (now with iOS7) to my Power PC Mac?

    Nope, the top OS version for the IBM processor is 10.5.8, and under that version I can not update the iTunes further than the 10.6.3 :-(
    But that means the brand leaves a large chunch os costumers with still perfectly operating computers out of the loop on purpose, so to force us to upgrade computer?
    Not fair at all, both are legitimate Apple products, they should sync no matter what! The sad thing is theu used to, before I migrated to iOS7 on the iPad, move that I now regret...

  • How can i connect the Faulhaber Motor to MID-7654?

    How can i connect the Faulhaber Motor (3564 024BC, with Encoder HEDM 5500 B12) to MID-7654?
    The Motor has following wires:
    A: Hall sensor green; A: Phase brown; B: Hall sensor blue; B: Phase orange; C:  Hall sensor gray;
    C: Phase yellow; +5V: Voltage red; GND: Ground black
    The Encoder has:
    5: Channel B; 4: Vcc; 3:            Channel A; 2: Channel I (Zero impulse); 1: GND
    I don't know how I can connect the encoder to MID-7654 using these wires (what is Encoder Index? Instead of this i only have Channel I !) 
    Thanks!
    WLAN

    Unfortunately there are different designators for the encoder signal which NI refers to as encoder index. In your case I am pretty sure that the I channel is identical to encoder index.
    Other designators I have found are Z (z-ero signal) and R (r-eference signal) for the index signal.
    Make sure that the index signal is at the correct level. For most applications it should be active low (i.e. it should be at high level during most of a turn and go low when the index mark passes the opto switch, I think it should be like this on most if not all Agilent optical encoders as you have it on your motor. This happens for a very small turning angle only and is hard to detect when turning an encoder/motor manually, so if you try to find the index signal turn the motor/encoder veeery slowly.

  • How Can I change the Authentication for this Dynpage

    Hello ,
    I have created a rss feed in special Dnypage.   When I try to connect with rss reader  to dynpage it occurs an error 500.  The problem is that no logon screen appears and the portal would start the Dynpage with the User Guest.
    How Can I change the Authentication for this Dynpage ? I need a LogonScreen
    RSS URL:
    /irj/servlet/prt/portal/prtmode/rss/prtroot/com.geberit.ep.uwlquick.uwlquickstarter?mode=rss

    Hi ,
    sry the entry in xml does not help. No Logon Prompt
    <?xml version="1.0" encoding="UTF-8"?>
    <application>
      <application-config>
        <property name="SecurityArea" value="NetWeaver.Portal"/>
        <property name="Vendor" value="xx.com"/>
        <property name="PrivateSharingReference" value="com.sap.portal.htmlb,com.sap.portal.pcd.glservice,com.sap.portal.ivs.iviewservice,usermanagement,,com.sap.netweaver.bc.uwl"/>
      </application-config>
      <components>
        <component name="uwlquickstarter">
          <component-config>
              <property name="SafetyLevel" value="no_safety"/>
            <property name="ClassName" value="com.xx.portal.uwl.uwlquickstarter"/>   
          </component-config>
              <component-profile>
                   <property name="AuthScheme" value="default"/>
              </component-profile>
        </component>
      </components>
      <services/>
    </application>

  • HT201177 My Face time device is working, but I can't make a Skype video call. How do I connect the camera when I am on a Skype video call?

    My built in Face time device is working, the green light on top of my iMac is on, but when I make a Skype video call the other party cannot see me, even I can see them. How do I connect the built in camera to my video Skype call? Thanks for your help, Helmut

    Assuming you have set up your Preferences correctly in Skype, sometimes Skype doesn't seem to automatically trigger the camera. When that happens just click on the camera icon that appears at the bottom of the screen when making a call:

  • How do i change the password for my secured internet

    I have a westell 327w, verizon walked me through the steps to set up my secured internet now you must have my password to connect to it, I know someone has my password and is connecting to my internet how do i change the password for this?

    Not certain what you mean by "my secured internet". If you're referring to your Verizon provided PPP internet connection then you need to work with Verizon on that. You login to the MODEM using the admin account and they will give you a new password to enter. Or, you can tell them the password you want to use first. At least that's how it was with my Westell MODEM and DSL setup.

  • HT1202 How do i change the computer for my iphone? it says iphone will syn automatically once it is plugged into "DUCH..." (not my computer name) . what should i do to change that?

    How do i change the computer for my iphone? it says iphone will syn automatically once it is plugged into "DUCH..." (not my computer name) . what should i do to change that?

    Connect your phone to iTunes and in the Summary pane, hit the "Sync with this iOS device over Wi-Fi"
    http://support.apple.com/kb/PH2560

  • How do I restore the settings for apps using Time Machine?

    I believe there are problems with items within the Library Folder inside the System Folder.  For example, there are two "Frameworks" Folders, but one has "(from old Mac)" after its name.  I dare not try to remove or even move either.
    Back in the day of OS 9, you could modify something, then search for it by "Last Modified" Date, and find where Apple has hidden itscontents.  It's not so easy in OS X.  I've had some success using Pondini's Time Machine FAQ's, though.  Here is how I got to this problem:
    Our family MacBook died.  After getting a repair estimate of $500 to $700 "if it's the Logic Board," we decided to replace it.  We purchased a MacBook Pro running Lion.  (Later, we brought it to an Apple Store and were quoted $435 in house or $280, but they would have to send it out.  Incredible repair: Logic Board, Top & Bottom Case, Super Drive, Battery, all for $280.  No wonder they're #1).  I pulled the Hard Dive out, erased it, and installed an older operating system, but during the repair they installed 10.6.
    Restored the MBP from the TM backup of the MacBook. OK
    The Macbook is repaired and the store showed me how to restore the data from the TM backup.
    Restart and the passwords do not work due to restoring a 10.6 machine from a 10.7 backup.
    Tech support guides me through resetting an admin password using the password utility on the install DVD.
    changed the other passwords inside of Accounts in System Preferences.  Then changed the password or the other Admin.
    Restart, get a circle with a line through it.
    Tech support guides me through fixing this.
    Restart, half my Apps do not work.
    Tech support says to re-install 10.6.
    I did but I thought it would erase and install but it just re-installed 10.6.
    Most Apps work, except iPhoto.  Mail is OK sending but only receives on one of 3 accounts.
    Is there a fix for iPhoto & Mail?  If not, I would plan to erase and use the finder to drag the user folders from TM to the MacBook.  Can I just drag the Apps too?  How about all of the settings for those Apps?

    If you don't keep a backup, you can't restore your machine to any state except the state in which you received it, brand new, with none of your own stuff on it. That makes a pretty convincing argument for backing up, doesn't it?

  • How can I display the range for LastFullMonth in the header of a report

    How can I display the month for LastFullMonth in the header of a report run in the past so that a report that ran sept 1 2009 selecting data for LastFullMonth (august 2009)  displays sept 2009 in the header even if there is no data selected by the report?

    Good,
    Sometimes I answer these questions and completly miss it....
    ( lack of understanding on my part )   

Maybe you are looking for

  • How to read the Variance Analysis report S_ALR_87013139,  Pdt cost by Order

    Hi, Could someone tell me how to read the variance analysis report, S_ALR_87013139 - Cumulative for product cost by order. The report has the following fields, Target (Debits),     Actual (Debits),     Scrap,     Var. Without Scrap,     Work in Proce

  • Database does not exist in the specified path

    Just bought a USB 6009 DAQ and for some reason I now keep getting this error: "Database does not exist in the specified path" in VI Logger 2.0.1 it was working.  Can anyone help??

  • Digital Signature Error

    Hi All, We are implementing digital signature for originals in DIR using secure,store and foward approach. The installation is pretty much ok,. However, we are getting SSF_API_NO_SECTK error. What could be the possible reason? We are using SAPSECULIB

  • From "FotoAlbum Pro" to "LightRoom 1.0"

    Hello, I have reading a lot of posts here and it is very interesting. I have something to say:-) Im now using FotoAlbum Pro (FAP) software to manage my 15.000 images. 90% of all my images are in one directory on harddrive I have used LightRoom (LR) B

  • Added a content database from Company A's SharePoint 2010 farm to ours

    I have added a content database from a company (Company A) that we are acquiring. The sent it my SFTP, we downloaded it, added it to the sql db, and I added it as a content database to a SharePoint 2010 farm  at our company (Company B) that is built