How do I disable remote debugging in JDeveloper??
I am having a problem disabling the remote debugging feature inside JDeveloper 9i. I currently have a workspace in which I has set up a remotely debuggable project and another "normal" project which contains the client application that accesses my remote application. When I start the remote application, I am able to attach the remote debugger inside JDeveloper and it works just fine. However, when I attempt to debug my local project, it starts with the following JVM parameters :
java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=1552
and fails to start since it cannot attach to a remote process. I have double-checked the project settings and the remote debugging checkbox is NOT select for the local project. I have even resorted to restarting JDeveloper, but that failed to resolve the problem.
Does anybody have any suggestions as to how to fix this problem?
Hi David,
Some things concern me about the java command you show in your post:
1. On Windows, JDeveloper should be starting javaw, not java. In your post, you show a java command. Is it really java or is it javaw?
2. JDeveloper should be specifying which JVM to use. In your post, you show a java command where there is no JVM specified (there is no -ojvm or -hotspot). Check your project settings - on the Libraries panel, what J2SE (JDK) are you using? on the Runner panel, what Virtual Machine is selected?
Other than that, the command you show in your post (the command that JDev launches when you try to debug your local project) contains (mostly) the correct command options for local debugging with a JVM which supports JPDA debugging (for example, classic or hotspot).
Let me explain the command options:
java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=1552-Xdebug Enables debugging.
-Xnoagent Disables old debugging agent (also called sun.tools.debug).
-Djava.compiler=NONE Disables the JIT compiler.
-Xrunjdwp Loads the JPDA JDWP library.
:transport=dt_socket Use sockets for communicating with the debugger.
,server=y Listen for a debugger to attach.
,address=1552 Use port 1552.
JDev will use the above command options when you do local debugging with a JVM other than OJVM. (Note that -Xnoagent and -Djava.compiler=NONE are not required for HotSpot, but are accepted and ignored.)
The command that you show is not trying to connect to anything.
When JDev does remote debugging, it does not start the java process at all.
I think there is some other reason why your program does not start up. What other messages are displayed in the Log Window? Do you see messages like "Debugger attempting to connect to local process." or "Debugger connected to local process." or "Debugger unable to connect to local process."?
-Liz
Similar Messages
-
Remote debugging in JDeveloper
Hi,
Can you please provide the steps to do remote Debugging of source from JDeveloper
Thanksare you looking for this?
http://aboutsoa.wordpress.com/2009/03/10/remote-debugging-in-jdeveloper/
http://jdeveloperfaq.blogspot.com/2009/12/faq-4-how-to-remote-debug-adf.html
http://xmlandmore.blogspot.com/2010/12/using-remote-debugging-in-jdeveloper.html -
How do you disable remote access for mac routers
how do you disable remote access for mac routers
Hi, I'd never buy an Apple router again, but see if reverse thinking works here....
https://discussions.apple.com/thread/3926392?tstart=0 -
How can i disable remote login on a RV082 router?
how can i disable remote login on a RV082 router?
Please check the below link for configuration.
http://sbkb.cisco.com/CiscoSB/GetArticle.aspx?docid=dc6301cd85194d7f967710344f16f990_General_Firewall_Setting_on_RV042_VPN_Router.xml&pid=2&converted=0 -
How to use Remote Debugging in JDeveloper 3.1 ?
I am trying to use the Remote Debugging option with EJBs in JDeveloper 3.1 with Oracle8i 8.1.6.
I checking all steps the online walkthrough for Remote Debugging EJB in 8i and it didn't work.
I'm using Oracle8i EJB/CORBA debug option in project properties, but it does not stop in my EJB's break points.
I tried deploying the EJB again ( with break points) and again it didn't work.
The error message I got in the trace file is:
Errors in file D:\Oracle\admin\SCT\udump\sctS000.TRC:
ORA-29516: Aurora assertion failure: Java thread deadlock detected
Could someone please tell me how to use it?
nullWhich platform is the database running on ??
Other things you should check -
when debugging the EJB, JDev
3.1 looks through your IIOP connections to find the one to use.
Make sure that the IIOP connection that JDev is using for the debugging matches the IIOP connection that the EJB client application is using.
raghu
null -
How can I enable remote debug in weblogic to use with Rational RSA IDE?
How can I enable the remote debugging technique so that I can work with my IDE.
I use RSA by IBM as the IDE
What should be the changes in the setdomainenv or startweblogic?
I use 10.3
Please help.. ur help is appreciable...Hi,
I did not make any console adjustments for debugging on my WebLogic 10.3.2.0 - however I am running in development mode on an "adminServer" (an option during the install)
In the console there is a debug setup page - that seems to have no effect for me (I can always debug) - so either it is a combination of development mode and/or the startWeblogic script from the Eclipse plugin.
However, these debug settings are likely for debugging into the server - you only want to debug your own app code right?
On the console page goto
http://localhost:7001/console/console.portal?_nfpb=true&_pageLabel=ServerDebugPage
servers | AdminServer | configuration-debug | expand weblogic
I see...
"Use this page to define debug settings for this server.
Debug settings for this Server
EnableDisableClear Showing 1 to 2 of 2 Previous Next
Debug Scopes and Attributes State
default Disabled
weblogic Disabled
EnableDisableClear Showing 1 to 2 of 2 Previous Next
Try expanding the whole tree and selecting the root to enable everything.
You will see the following
10-Dec-2009 11:53:46 o'clock AM EST> <Warning> <Management> <BEA-141239> <The non-dynamic attribute DebugAbbreviation on weblogic.management.configuration.ServerDebugMBeanImpl@47a32e1b([base_domain]/Servers[AdminServer]/ServerDebug[AdminServer]) has been changed. This may require redeploying or rebooting configured entities>
<10-Dec-2009 11:53:46 o'clock AM EST> <Warning> <Management> <BEA-141238> <A non-dynamic change has been made which affects the server AdminServer. This server must be rebooted in order to consume this change.>
<10-Dec-2009 11:53:46 o'clock AM EST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=ServerDebugPage.>
When I debug WebLogic 10.3.2.0 from Eclipse 3.5 EE - I see the following in my server startup log which includes the "-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8453" you mentioned.
Starting WLS with line:
c:\opt\wls10320\JROCKI~1.5-3\bin\java -jrockit -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8453,server=y,suspend=n -Djava.compiler=NONE -Xms512m -Xmx512m -Dweblogic.Name=AdminServer -Djava.security.policy=C:\opt\wls10320\WLSERV~1.3\server\lib\weblogic.policy -Xverify:none -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole... -Dplatform.home=C:\opt\wls10320\WLSERV~1.3 -Dwls.home=C:\opt\wls10320\WLSERV~1.3\server -Dweblogic.home=C:\opt\wls10320\WLSERV~1.3\server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=c:\opt\wls10320\patch_wls1032\profiles\default\sysext_manifest_classpath weblogic.Server
Listening for transport dt_socket at address: 8453
The server process listening on debug portl 8453 ooks like this
Oracle WebLogic Server 11gR1 PatchSet 1 at localhost [Oracle WebLogic Launch Configuration]
BEA JRockit(R)[localhost:8453]
Thread [Main Thread] (Running)
Daemon Thread [Timer-0] (Running)
Daemon Thread [Timer-1] (Running)
Daemon Thread [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] (Running)
Daemon Thread [weblogic.time.TimeEventGenerator] (Running)
Daemon Thread [JMAPI event thread] (Running)
Daemon Thread [weblogic.timers.TimerThread] (Running)
Daemon Thread [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] (Running)
Daemon Thread [Thread-7] (Running)
Daemon Thread [ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'] (Running)
Daemon Thread [ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'] (Running)
I hit a breakpoint and see
Daemon Thread [[ACTIVE] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'] (Suspended (breakpoint at line 56 in ApplicationService))
ApplicationService_5ptwty_Impl(ApplicationService).insertObjects(List<Cell>) line: 56
NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
Method.invoke(Object, Object...) line: 597
AopUtils.invokeJoinpointUsingReflection(Object, Method, Object[]) line: 310
ReflectiveMethodInvocation.invokeJoinpoint() line: 182
ReflectiveMethodInvocation.proceed() line: 149
DelegatingIntroductionInterceptor.doProceed(MethodInvocation) line: 131
DelegatingIntroductionInterceptor.invoke(MethodInvocation) line: 119
ReflectiveMethodInvocation.proceed() line: 171
MethodInvocationVisitorImpl.visit() line: 37
EnvironmentInterceptorCallbackImpl.callback(MethodInvocationVisitor) line: 55
EnvironmentInterceptor.invoke(MethodInvocation) line: 50
ReflectiveMethodInvocation.proceed() line: 171
ExposeInvocationInterceptor.invoke(MethodInvocation) line: 89
ReflectiveMethodInvocation.proceed() line: 171
DelegatingIntroductionInterceptor.doProceed(MethodInvocation) line: 131
DelegatingIntroductionInterceptor.invoke(MethodInvocation) line: 119
ReflectiveMethodInvocation.proceed() line: 171
JdkDynamicAopProxy.invoke(Object, Method, Object[]) line: 204
$Proxy68.insertObjects(List) line: not available
ApplicationService_5ptwty_ApplicationServiceLocalImpl.insertObjects(List<Cell>) line: 306
FrontController.generateGlider(PrintWriter) line: 240
thank you
/michael
http://www.eclipselink.org -
How can I disable remote access connection window ?
When I try to connect (via TCP/IP) with a VI in another PC (in my local network) it appears the remote access connection window.
How can I disable this (programmatically if possible) ?
A big thanks for your answers.
LinusRandy,
attached the image of the Remote Access Connection Window that appears when I connect to the VI.
It is the Operating System (Windows) classical panel for Remote Access connections using a modem.
Many thanks.
Linus
Attachments:
Remote_Access.jpg 22 KB -
How do I disable remote message?
Running Open Office app. A system failure occured. restarted system and app. The "reopen Windows Option" appeared with restart. Opn Office runs but must use Forced Quit to leave it and to delete themessage. How do I fix this?
Opps. I guess I should add I'm running OS X 10.8.4 (non-server version). Thanks again!
-
Could not configure Remote Debugging (JDev - AS 10g)
I'm trying to make work remote debugging from JDeveloper 10.1.2 on Oracle AS 10g, but I'm stuck. I tried to do every step from JDeveloper help:
1. Create remote debugging process.
- Done (I hope)
2. In the <jdev_install>/lib directory, copy xmlparserv2.jar to <OC4J_HOME>/lib. In the <jdev_install>/jdev/lib directory, copy ojc.jar and jdev-rt.jar to <OC4J_HOME>/home/lib
- If ORACLE_HOME is C:\Oracle\oracleas, then where is OC4J_HOME ? c:\Oracle\oracleas\j2ee\home ? But it means to create another 'home' directory, right ? But I have already created one OC4J instance called FirstOC4J, where our applications are deployed and it is located in c:\Oracle\oracleas\j2ee\FirstOC4J. Now what ? Which one?
3. Edit global-web-application.xml, but it is both in c:\Oracle\oracleas\j2ee\FirstOC4J\config and in c:\Oracle\oracleas\j2ee\home\config directory. Which one ?
4.Start OC4J in debug mode from a command line
- Why from command line? I always managed our FirstOC4J from Enterprise manager. I tried to put there the parameters from the command
java -ojvm -XXdebug,port4000,detached,quiet -jar oc4j.jar
but parameters inserted into OC4J Options or Java Options were rejected (OC4J wouldn't start). A little succes was running OC4J like this
how to set up for remote debugging?
But it required our FirstOC4J stopped and it meant our application won't run.
Please , could somebody make some step-by-step instructions for begginners or at least comment some above points ? Thanks.I'm trying to make work remote debugging from JDeveloper 10.1.2 on Oracle AS 10g, but I'm stuck. I tried to do every step from JDeveloper help:
1. Create remote debugging process.
- Done (I hope)
2. In the <jdev_install>/lib directory, copy xmlparserv2.jar to <OC4J_HOME>/lib. In the <jdev_install>/jdev/lib directory, copy ojc.jar and jdev-rt.jar to <OC4J_HOME>/home/lib
- If ORACLE_HOME is C:\Oracle\oracleas, then where is OC4J_HOME ? c:\Oracle\oracleas\j2ee\home ? But it means to create another 'home' directory, right ? But I have already created one OC4J instance called FirstOC4J, where our applications are deployed and it is located in c:\Oracle\oracleas\j2ee\FirstOC4J. Now what ? Which one?
3. Edit global-web-application.xml, but it is both in c:\Oracle\oracleas\j2ee\FirstOC4J\config and in c:\Oracle\oracleas\j2ee\home\config directory. Which one ?
4.Start OC4J in debug mode from a command line
- Why from command line? I always managed our FirstOC4J from Enterprise manager. I tried to put there the parameters from the command
java -ojvm -XXdebug,port4000,detached,quiet -jar oc4j.jar
but parameters inserted into OC4J Options or Java Options were rejected (OC4J wouldn't start). A little succes was running OC4J like this
how to set up for remote debugging?
But it required our FirstOC4J stopped and it meant our application won't run.
Please , could somebody make some step-by-step instructions for begginners or at least comment some above points ? Thanks. -
Remote Debugging Jdev11 and Tomcat 5.5 ?
Hi,
How could i make remote debugging Jdevelopper11 and Tomcat5 ?
Where could i configure remote Tomcat option ?
Regards
PhilippeHere are some steps with JDev 10g
http://technology.amis.nl/blog/1984/java-platform-debugger-architecture-jpda-with-tomcat-oc4j-eclipse-intellij-idea-and-jdeveloper
JDev 11g should be basically the same. -
Hi,
I am a newbie to Oracle9iAS Portal and Portlets. I already posted this topic on the Jdev Forum but no reply yet. I hope someone here can help.
I created some Java Portlets with the JDeveloper and the Portlet Wizard and would like to debug them with the JDeveloper when they are executed in the Portal.
Any help on how to setup the remote debugging? Are there any documents somewhere?
Any suggestion or help is much appreciated.
Cheers,
ErikThe correct URL is: Remote Debugging in OC4J.
Or if the above link doesn't work:
http://otn.oracle.com/jdeveloper903/help/topic?inOHW=true&linkHelp=false&file=jar%3Afile%3A/u01/webapps/OHW/ohw-app/jdeveloper903/helpsets/jdeveloper903/compiling_debugging.jar!/rem_p_main_oc4j.html -
Remote Debugging Java Portlets
Dear experts,
I am a newbie to JDeveloper and Oracle9iAS Portal.
I created some Java Portlets with the JDev and the Portlet Wizard and would like to debug them when they are executed in the Portal.
Any help on how to setup the remote debugging? Are there any documents about this out there?
Your help is much appreciated.
Cheers,
ErikErik,
This is something we are looking at for enhancements for the Java Portlet Wizard, but for now you remote debugging from the Oracle9iAS OPMN. You can find out more about it here:
http://otn.oracle.com/tech/java/oc4j/htdocs/oc4j-logging-debugging-technote.html
Sue Vickers -
Remote debugging through NAT - VS2013, C#
I need help figuring out how to initiate a remote debugging session when the target computer is across the internet and behind NAT. VS2013 and a C# application, .net 4.5
Remote debugging works great here on my LAN, but now I need to connect to a remote stand alone (not on a domain) PC that is behind NAT; it's WAN IP is different from its LAN IP. My development PC is also behind NAT. I do not have access to the
remote firewall/router to configure port forwarding. Is there any other way I can connect? Are there any tools that will allow me to connect directly to the remote PC with the remote debugger, similar to how TeamViewer can connect to PC's even
though they're behind NAT?Hi Matt_FL,
Like this document here:
http://www.codeproject.com/Tips/618804/Remote-debugging-for-Visual-Studio-from-different
It shared us the detailed steps about how we setup the remote debugging if the Environments are not in the same domain.
So I'm afraid that we would check whether the Environments meet the requirements of remote debugging.
Reference:
https://msdn.microsoft.com/en-us/library/vstudio/bt727f1t%28v=vs.100%29.aspx?f=255&MSPPError=-2147217396#bkmk_setuptheremotecomputer
If the remote computer is protected by a firewall, you must configure the firewall to allow the Remote Debugging Monitor to communicate with the Visual Studio host computer.
If your network requires that communication be performed using IPSec, you must open additional ports in the firewall.
If you are debugging a process on a web server, you must open an additional port.
Other threads I met before:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/0058a97a-8595-4235-88b1-7575aed2e2de/remote-debug-issuevisual-studio-remote-computer-can-not-back-connect-to-remote-computera-firewall?forum=vsdebug
https://social.msdn.microsoft.com/Forums/vstudio/en-US/897782e5-dada-4df1-8ef2-f119cdce7e5e/remote-debugging-over-internetMaybe
you could refer to them, hope it could provide useful information.
But as far as I know, we could remote debugging with WAN even if it has some specific requirements.
Reference:
http://stackoverflow.com/questions/5091207/net-remote-debugging-domain-networking-issues
If I have misunderstood this issue, please feel free to let me know.
Best Regards,
Jack
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. -
Not able to start remote debug listener
HI,
I'm using SQL Developer 1.1.0.23.64 and have read this article explaining remote pl/sql debugging.
http://sueharper.blogspot.com/2006/07/remote-debugging-with-sql-developer_13.html
When i try to start the debugger listener in SQL Developer (right click the database connection and choosing "remote debug") it seems like that the SQL Developer tries to connect to a listener instead of start listening. This is what console displays:
Debugger attempting to connect to remote process at LocalHost 4000...............Debugger unable to connect to remote process.
I thought that it should start listening instead of trying to connect to some other listener. What do I do wrong?
When I'm using remote debugging from JDeveloper every thing is fine!
Regards
JacobHi
Has someone find an answer to this?
Debugger attempting to connect to remote process at localhost 4000.
...............................Debugger unable to connect to remote process.This is the same message you get when you try to run a debug session under JDeveloper, but with OJVM, not JPDA.
If this is a bug and will be fixed, can the SQL Developer team please make a post? -
How to remote debugging EJB in JDeveloper?
Here is the procedure I follow
1. configure weblogic startWebLogic.cmd file according to the instruction and start it
2. create a EJB project contains HelloWorld.java, HelloWorldBean.java, HelloWorldHome.java and Client.java, Bean has one method hello(), just return a String
3. in JDeveloper, configure project properties, set RUN/DEBUG to Remote Debugging as the instruction provided by Oracle
4. Then how should I do next?
select Client.java --> Debug --> attach it to the target weblogic
select HelloWorldxxx.java --> Debug --> attach it to the target weblogic
I tried the above and it attached to weblogic, after that, the program suspend there, nothing happen, no debug message, no outcome...
I have a question, the project have no EJB Descripter, How Client.java test program find EJB interface through JNDI?
Thanks
-- CHENLW --
Client.java
==// Copyright (c) 2000 qingniao
==package com.chemuser.ejb.HelloWorld;
==import javax.ejb.*;
==import javax.naming.*;
==import java.rmi.*;
==import java.util.Properties;
==
==/**
== * A Class class.
== * <P>
== * @author chenlw
== */
==public class Client {
==
== public static void main(String[] args) {
== try {
== Properties props = System.getProperties();
==
== Context ctx = new InitialContext(props);
== HelloWorldEJBHome home = (HelloWorldEJBHome)ctx.lookup("HelloHome");
== HelloWorldEJB hello = home.create();
==
== System.out.println(hello.hello());
==
== hello.remove();
== } catch (Exception ex)
== {
== ex.printStackTrace();
== }
==
== }
==}
==
==
nullProgramming EJB with JDeveloper is not as easily as JBuilder4.0.
I am regret that I must give up JDevelopper which I like most.
Hope JDev Team will enhance these functions in the future.
Thanks
CHENLW
Maybe you are looking for
-
Photos won't upload to internet anymore
I've never had any trouble with iPhoto uploading my pictures to websites up until now. For whatever reason, whenever I go to upload my pictures, the Select button won't let me click on it. It doesn't matter which camera I use or which website I try -
-
Exchange 2007 SP3 default quota issue
This is an odd one. We use Exchange 2007 SP3 running on Server 2003 R2, the domain is 2008 R2. We have a default mailbox size limit of 900MB (issue warning) 1GB (stop sending) 1.25GB (stop send and receive). This has been in place since before I star
-
Transaction to maintain order currency of vendor (LFM1-WAERS)
Hi, what transaction do we maintain order currency of vendor (LFM1-WAERS)? Thanks a lot!
-
Create a PDF contact sheet - What is the PDF preset?
Hello When I create contact sheet, it creats a pdf but I don't understand what is the pdf preset. Is it for screen? print? where can I see or change it if at all? thanks shlomit
-
Derived roles are getting overwritten everytime when I update Master Role.
Hi Experts ! We have created some Master and Derived roles in the past. According to the requirement we have made some changes directly in the derived roles like some value of objects, activities, etc.. Now we added one t-code in the master role and