PL/SQL Local Debug restricting ports

Does anyone know how to restrict the ports used by the PL/SQL local debugger?

Shay,
It's not working that way for me. When I open up the PL/SQL function in the editor and then right click within the editor and choose debug, I'm presented with a dialog window titled "Debugger Host for Database Debugging".
This box has only one input control (IP address) and the following text:
"If JDeveloper is running on a machine in a VPN, enter the IP address of the machine as it is known to the rest of the VPN."
I've tried the default, "127.0.0.1", my IP address and even the IP address of the machine running the Oracle DB.
All three of these choices yield the following results:
=======================================================
Connecting to the database QF.
Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
Executing PL/SQL: ALTER SESSION SET PLSQL_COMPILER_FLAGS=INTERPRETED
Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '10.69.35.11', '1544' )
ORA-30683: failure establishing connection to debugger
ORA-12541: TNS:no listener
ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
ORA-06512: at line 1
Process exited.
Disconnecting from the database QF.
=======================================================
Thanks,
Greg

Similar Messages

  • TCP/IP portrange for local Debugging

    How can I restrict the TCP/IP ports used to connect from the server to the client when locally debugging with JDeveloper 10g?
    I'm talking about this command (executed by JDeveloper):
    call dbms_debug_jdwp.connect_tcp(ip-address, port)
    Thanks.

    The implementation of the Blackfin target is partially located in "plug-in" VIs that you can access. Open "C:\Program Files\National Instruments\LabVIEW 7.1 Embedded\resource\LabVIEW Targets\Embedded\vdk\vdk_LEP_TargetPlugin\LEP_vdk_ScriptCompiler.vi". You can see in the attached screenshot where this plugin VI determines the IP of the host PC and concatenates it in as a compiler flag. You can modify this LabVIEW code to hard-code that IP if you have multiple IP addresses, or even add functionality to programmatically get the correct IP address!
    Message Edited by Michael P on 09-14-2006 02:22 PM
    Michael P
    National Instruments
    Attachments:
    BFIP.JPG ‏49 KB

  • Is there a way to force Local Debug

    Hi,
    I can't debug on any oracle 9i server, having this issue :
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: ALTER SESSION SET PLSQL_COMPILER_FLAGS=INTERPRETED
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '127.0.0.1', '4000' )
    ORA-30683: failure establishing connection to debugger
    ORA-12541: TNS:no listener
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    The reason is, I guess, because the Oracle server can't access my computer because there is a firewall between them that I can't remove ...
    But, I also use some Oracle 8i db, behind the same firewall, and these work great !
    It seems that SQL developper do some local debug on oracle 8i, and some remote debug on oracle 9i.
    Is there a way to force local debug on Oracle 9i db from sql developper ? (it should be possible, because TOAD debug works perfectly, so I guess it's using local debug)
    Thanks !

    Thanks
    but I already tried that
    It seems I need to provide my IP address, so that the server can access my computer.
    But even if I provide it, it's impossible for the server to access my computer because there is a firewall between us that I can't remove ...
    There's no way for me to do some remote debug ..
    That's why I'd like to do some local debug ...

  • Trying to install WSUS role on Windows Server 2012 R2 using dedicated SQL Instance with static port on remote SQL Server 2012 SP1 CU7 on Windows Server 2012 R2.

    I am trying to install WSUS role on Windows Server 2012 R2 using dedicated SQL Instance with static port on remote SQL Server 2012 SP1 CU7 on Windows Server 2012 R2.
    It verifies the connection and then throws the error:
    The request to add or remove features on the specified server failed. The operation cannot be completed, because the server you specified requires a restart.
    WSUS Server : Windows Server 2012 R2
    Remote SQL Server: 2012 SP1 CU7 hosted on Windows Server 2012 R2
    Please let me know if anyone has experienced this issue.

    We were trying to install WSUS role on Windows Server 2012 R2 using dedicated SQL Instance with static port on remote SQL Server 2012 SP1 CU7 on Windows Server 2012 R2.
    It verifies the connection and then throws the error:
    The request to add or remove features on the specified server failed. The operation cannot be completed, because the server you specified requires a restart.
    Same error even after rebooting the server multiple times.
    WSUS Server : Windows Server Standard2012 R2
    Remote SQL Server: Windows Server 2012 SP1 CU7 hosted on Windows Server 2012 R2
    Event ID 7000:
    The Windows Internal Database service failed to start due to the following error:
    The service did not start due to a logon failure.
    Event ID 7041
    The MSSQL$MICROSOFT##WID service was unable to log on as NT SERVICE\MSSQL$MICROSOFT##WID with the currently configured password due to the following error:
    Logon failure: the user has not been granted the requested logon type at this computer.
    Service: MSSQL$MICROSOFT##WID
    Domain and account: NT SERVICE\MSSQL$MICROSOFT##WID
    This service account does not have the required user right "Log on as a service."
    User Action
    Assign "Log on as a service" to the service account on this computer. You can use Local Security Settings (Secpol.msc) to do this. If this computer is a node in a cluster, check that this user
    right is assigned to the Cluster service account on all nodes in the cluster.
    If you have already assigned this user right to the service account, and the user right appears to be removed, check with your domain administrator to find out if a Group Policy object associated
    with this node might be removing the right.
    I found following article:
    "MSSQL$MICROSOFT##WID service was unable to log on as NT SERVICE\MSSQL$MICROSOFT##WID" error when you install WID in Windows Server 2012
    http://support.microsoft.com/kb/2832204/en-us
    To work around the issue, use one of the following methods:
    Assign the Log on as a service user right to NT SERVICE\ALL SERVICES in the GPO that defines the user right.
    Exclude the computer from the GPO that defines the user right.
    We moved the SCCM server to OU where no policies were getting applied and then applied the new GPO to that OU. Restarted the server and we were able to install WSUS role.
    Regards
    PR

  • Safari 5.0 - Disable local file restrictions Option not found under Develop Menu

    Hi All,
    My system specs are as follows :
    Platform : Linux
    OS : lubuntu
    OS Version : 13.10 Saucy Salamander
    Browser : Safari 5.0
    I need to open a html file in Safari before which I need to enable this option - "Disable local file restrictions" under Develop menu as available in Safari 7.0 for OS X Marvericks.
    Problem here is I am not able to find this option in Safari 5.0, also I am not able to find any way to upgrade Safari in Linux.
    Please suggest how can I activate this.

    Safari->Preferences->Advance->on the bottom. To get the Debug menu which includes a listing of Keyboard & Mouse Shortcuts, among other useful things, run this in the Terminal app and quit & relaunch Safari:
    *defaults write com.apple.Safari IncludeInternalDebugMenu 1*

  • I have started getting spammed on multiple Apple products (iPhone and iPad) with FaceTime calls since the recent IOS update.  Is there any feature or sedtting I can use locally to restrict incoming calls to FaceTime without going to the carrier?

    I have started getting spammed on multiple Apple products (iPhone and iPad) with FaceTime calls since the recent IOS update.  Is there any feature or setting I can use locally to restrict incoming calls to a FaceTime account without going to the carrier?

    After calling AT&T tech support one more time, and explaining to them that the glitch was on their network, they admitted that the problem was at their tower...
    I continued to use the phone on EDGE mode for two more days until the problem was fixed.
    I even got a call back from a tech support guy asking me if my phone was working properly....
    I wish they would have admitted to the problem before I sat at the apple store for 2 hours.

  • PL/SQL Local Variable in Javascript

    I want to pass a PL/SQL local variable called F_NAME into the Javascript.
    The first question is, how do you display it inside of the Javascript?
    The second question is, how do you assign F_NAME to the field on the form?
    Please see the codes below. Please help, thank -Patty
    ==================================================================================
    declare
    f_name varchar2(15);
    begin
    select emp_first_name
    into f_name
    from emp_profile
    where e_mail_id = portal30.wwctx_api.get_user;
    htp.p('<script language="Javascript1.3">
    //==============================
    //This is the first question
    alert('||f_name||');
    //==============================
    var fname = new String("CDRH_TR_INSERT_MORE_RECORDS.MASTER_BLOCK.EMP_FIRST_NAME.01");
    //=========================================================================
    //This is the second question
    document.forms[0].elements[eval(fname)].value = "'||f_name||'";
    //==========================================================================
    </script>');
    END;

    Just like how you did it with the <script language="Javascript1.3"> . You use htp.p().
    So for example, htp.p('alert(''||f_name||'');
    OR
    htp.p('var fname = new String(''CDRH_TR_INSERT_MORE_RECORDS.MASTER_BLOCK.EMP_FIRST_NAME.01'');');

  • Sophos Firewall blocking local debugging on VS 2013

    Sophos Firewall is blocking local debugging on VS 2013. Unfortunately the firewall log isn't saying much about what is being blocked. The article below says uninstalling and reinstalling would work but that doesn't seem to be the right solution. 
    https://social.msdn.microsoft.com/Forums/en-US/56ef23f8-5906-448e-b967-4da3bd2f981d/x64-unrecognized-error-occoured-in-the-windows-web-services-framework-vs-2013?forum=vsdebug

    Hi Questionqwe,
    Thank you for posting in MSDN forum.
    Based on your issue, could you please tell me what operation you do and then get the error message?
    Whether you debug a project from VS2013 and then get the error message?
    If yes, you get the error message for a specified project or all different type projects get same error message.
    Generally, I know that when we debug a project in the VS2013, the firewall may be impact the VS debug. So the better way is that you disable the Sophos Firewall or un-install the Sophos Firewall and then check if you can debug your project successfully in
    this VS2013.
    In addition, since this Sophos Firewall is third-party tool, we are not support it. So if possible, I suggest you can consult this issue directly to the Sophos Firewall official site:
    http://www.firewalls.com/contacts/ , maybe you will get better support.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • MSSQL problem SQL instances on different Ports.

    Hi,
    I have a problem connecting to sql instances on different ports.
    Example:
    I have an sql databaserver = DATABASE
    1st instance on this server = instance1 (running on port 1160)
    2nd instance on this server = instance2 (running on port 1260)
    If I want to connect to instance1 - i create the following conn.info line :
    MSSQL_SERVER = DATABASE\instance1
    But for some reason, I doesn't connect to the instance1... I can do a dataconnection to "MSSQL_SERVER = DATABASE", but can no redirect it to "DATABASE\instance1"
    Ideas ?
    Thanks,
    Jorgen

    Is it possible for the two instances on the same machine to participate in
    the same cluster? I believe servers in a cluster must share the same port
    (which is also used for multicasting). Does a virtual IP address need to be
    configured?
    "Per Jessen" <[email protected]> wrote in message
    news:[email protected]..
    >
    >
    Sreedhar Vankayala wrote:
    Hi,
    I am planning to run multiple weblogic instances on different ports on
    the
    same machine. Is it possible ? If so, how ?Assuming you are using WLS6.x, simply define as many servers as needed andgive
    them different ports to listen to. This is easily accomplished using theWLS
    Admin Console.
    Then start individual weblogic processes using this config file.
    regards,
    Per Jessen, Zurich.

  • Restricted port forwarding

    Hi
    I would like to configure port forwarding for only one remote address.
    The situation is like this: I have two domains ( adddresses 10.0.0.0/8 and 192.168.1.0/24 ) and a very narrow minded router that only allows port 80 en 443 and in one direction. Servers in 192.168 also have an exta nic with 10.20 addresses.
    The server at 10.10.10.38 needs to connect to MySQL in the other domain so I thought I could use port 443 and forward it to 3306.
    When I use "netsh interface portproxy" I cannot restrict to 10.10.10.38 (everyone gets access), but configuring a firewall rule with local port=3306, remote port=443 for remote IP address 10.10.10.38 does not function as a port forwarder (so no-one
    gets access).
    How should I configure the firewall (Windows Server 2008 R2) ?
    Regards,
    Rob

    Hi Rob,
    First, let us learn more details about portproxy and clarify our thoughts. We configure the Windows Server 2008 R2 as the portproxy server.
    When we use "netsh interface portproxy add v4tov4" command, we should specify those parameters, listenport=443,connectaddress=the IP address of MySQL computer, connectport=3306,listenaddress=local
    IP address,protocol=TCP.
    Then if the portproxy server monitored messages that were sent to port 443 and local IP address, it would forward the messages to port
    3306 and to IP address of MySQL computer after establishing a separate TCP connection. The portproxy server was listening to port 443, if it discovers that some messages arrive at port 443, it would forward the messages to the port 3306 of MySQL server.
    But this process couldn’t configure the portproxy server to restrict to 10.10.10.38. Our goals is, when 10.10.10.38 access Windows Server
    2008 R2 IP address:443, the firewall allows the connection, then messages were forwarded to MySQL server IP address:3306. But if other clients want to access Windows Server 2008 R2 IP address:443,the firewall will block the connection. So we should configure
    a firewall rule in the portproxy server. As we mentioned above, when we open port 443, we could only add 10.10.10.38 in the remote IP addresses.
    Overall, portproxy works behind the firewall, they work together to achieve the above goal. And the result is:Client
    request port 443 -----> Firewall of portproxy server allows 10.10.10.38
    to pass -----> Portproxy server forward messages from port 443 to 3306.
    Finally, the problem is that the restriction by the firewall does not work. To ensure the firewall works fine, we could disable all rules
    except the rules we configured. Then try it again.
    Best Regards,
    Tina

  • ASP Connection to MS SQL Local Web Server

    I have managed to set up a local server and dreamweaver
    recognises that it is working. I installed the free MS SQL server.
    I have created some ASP pages that are working in a web
    browser when i test them. But when i try to update my local MS SQL
    server it gives me these two different errors:
    1) A connection was successfully established with the server,
    but then an error occured during the login process. (provider:
    Shared Memory Provider, error: 0 - No process is on the other end
    of the pipe.)
    2)Login failed for user "x". The user is not associated with
    a trusted SQL Server connection.
    I know these pages work on another server so i think it is to
    do with my user id and password. What are these values meant to be?
    The user and password that i have registered on my computer /
    network? Or are they specific to the database?
    Or any other ideas?
    Thanks

    It is the username and password on the database itself
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "BertsMilsky" <[email protected]> wrote in
    message
    news:en4aub$qlh$[email protected]..
    >I have managed to set up a local server and dreamweaver
    recognises that it
    >is
    > working. I installed the free MS SQL server.
    >
    > I have created some ASP pages that are working in a web
    browser when i
    > test
    > them. But when i try to update my local MS SQL server it
    gives me these
    > two
    > different errors:
    >
    > 1) A connection was successfully established with the
    server, but then an
    > error occured during the login process. (provider:
    Shared Memory Provider,
    > error: 0 - No process is on the other end of the pipe.)
    >
    > 2)Login failed for user "x". The user is not associated
    with a trusted SQL
    > Server connection.
    >
    > I know these pages work on another server so i think it
    is to do with my
    > user
    > id and password. What are these values meant to be? The
    user and password
    > that
    > i have registered on my computer / network? Or are they
    specific to the
    > database?
    >
    > Or any other ideas?
    >
    > Thanks
    >
    >

  • [OC4J 10.1.2] Local debug of a j2ee app does not work

    Dear users, I'm developing a project using Jdeveloper 10.1.2 and deploying on local oc4j instance ( running at port localhost:9700 ) and usually I deploy using ant target, and everything works fine.
    But when I try to Run my project directly trought the Jdeveloper "run" button , I get the following exception :
    org.hibernate.MappingException: Resource: previtc/model/task/PcTask.hbm.xml not found
    at org.hibernate.cfg.Configuration.addResource(Configuration.java:478)
    at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1443)
    at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1411)
    at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1392)
    at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1368)
    at org.hibernate.cfg.Configuration.configure(Configuration.java:1288)
    at previtc.Resources.init(Resources.java:127)
    at previtc.controller.InitServlet.init(InitServlet.java:34)
    at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2354)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4795)
    at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4889)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1015)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:549)
    at com.evermind.server.Application.getHttpApplication(Application.java:890)
    at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:707)
    at com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:455)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    11/05/20 15:08:25 InitServlet - 11/05/20 15:08:29 C:\Header.jsp:172: error #300: method isAdmin not found in class previtc.model.utente.Utente
    11/05/20 15:08:29 1 error
    Anybody knows why the mapping doesn't work in the second scenario ?
    Thank you very much...
    Edited by: Renato Bet Ya on 20-mag-2011 8.17

    I solved the problem. The original download was the "j2ee and web cache" download from the Application Server area. I later found a link to oc4j downloads from the JDeveloper pages that was really what I was after.
    Brad

  • [SQL QUERY] Select TCP Port Monitors and their related Watcher Node

    Hi everybody,
    I'm working on a SSRS report and SQL Query, I have no problem to find all my TCP Port Monitor (SCOM 2012 R2) based on the DisplayName, but I can't figure out how to get their related watcher nodes (in my case only 1 computer is a watcher node).
    I can't find which table, which field, contains this information..?
    Here is the query i started to write (i select * since i still searching for the right column):
    SELECT
    FROM StateView s
    INNER JOIN BaseManagedEntity me on me.BaseManagedEntityId=s.BaseManagedEntityId
    INNER JOIN MonitorView mv on mv.Id=s.MonitorId
    INNER JOIN ManagedTypeView mtv on mtv.Id=s.TargetManagedEntityType
    --where mv.DisplayName like 'Ping Target Status Check%'
    AND me.IsDeleted = '0'
    where mv.DisplayName like '%tcpmon%'
    and mv.LanguageCode = 'ENU'
    --and s.HealthState in (@state)
    ORDER BY s.Lastmodified DESC
    It would be great if someone can help me !
    Thanks,
    Julien

    Hi,
    After creating a TCP port monitor, we can find a table for this monitor under operationsmanager database :
    SELECT *
    FROM [OperationsManager].[dbo].[MT_TCPPortCheck_******WatcherComputersGroup]
    You will find the warcher computer group.
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • SQL Server to Oracle port

    Hi, I am investigating the feasability of porting an application
    to Oracle that currently uses SQL Server as the back end database.
    To that end I have installed Oracle XE and I have a several questions.
    First, I guess because this is a demo, I cannot do the
    "CREATE DATABASE" command, right? I just have to add tables to
    the single database that is allowed on by installation? That
    limitation would be removed on any other edition I assume?
    Second, our current application defines data items in a way that
    I think are Microsoft extensions and don't seem to be supported by
    Oracle, for example, when trying this line in a CREATE TABLE
    command:
    FolderKey Int IDENTITY NOT NULL PRIMARY KEY,
    I get an error about a missing parenthesis. I take it that
    "Identity" variables (value automatically generated by the
    server) are not supported? Is there an alternative way of
    doing that, so I would not have to redesign the database
    too much?
    Further, the following line:
    UserID VarChar(64) NOT NULL FOREIGN KEY REFERENCES Users(UserID)
    which I thought was a standard way to define a key, also generates
    an error about a missing paren. What is the correct syntax?
    We also have varibles defined as "DateTime" which I guess are
    not allowed? I suppose we could switch to "Date". Does anybody
    have information about how Date variables are stored internally,
    i.e. what I would get when I bind the variable to my C program?
    Lastly, we have several variables defined as VarChar(max),
    in which SQL Server allows us to store text or binary data
    of length up to 2 gb. This does not work either. I guess I
    have to use a BLOB or CLOB variable?
    I have not yet tried to make an ODBC connection (what we
    currently use to connect to SQL Server) to Oracle XE. Should
    I anticipate any problems getting that to work?

    Oracle Database XE does not allow more than one instance per server.
    To define a primary key correct syntax is:
    Create table summary(
    Field NOT NULL PRIMARY KEY,
    Or:
    PRIMARY KEY constraint tabla_PK (field)
    To generate the value of the primary key you must create a sequence before or after creating the table:
    Create Sequence summary_seq
    Start with 1
    Increment by 1
    Nocycle;
    You can use the sequence in INSERT INTO or through a trigger:
    With Insert Into:
    Insert into Summary
    Values (summary_seq.nextval, valkor1, value2 ,...);
    With a trigger:
    Create or replace Trigger BI_summary
    Before Insert on SUMMARY
    For each row
    Begin
    Select summary_seq.nextval into campoPK
    From dual;
    End;

  • PL/SQL function debugging in NetBeans

    Hello.
    I have a PL/SQL function which I call from my JDBC code (the Java application is being developed using NetBeans). My function takes many arguments of different types. When I test it using SQL*Plus it works fine. When I call the function from the java code -- it does not work.
    What is the right way to debug my PL/SQL function once it is called from the Java application?
    Thank you!
    Mark.

    Make sure your parameters for the callable statement are registered correctly. Here is an example of a call made to an oracle function called "my_function" that returns a cursor:
    CallableStatement callst = conn.prepareCall("{call ? := my_function(?)}");
    callst.registerOutParameter(1, OracleTypes.CURSOR);
    callst.setInt(2,999);  //999 is the value being passed in
    callst.executeUpdate(); Post the error message you are getting in java, if it works fine from the SQL prompt then it must be java.

Maybe you are looking for